Re: [F-Script-talk] [newbie] packaged app?
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2004-09-16 09:22:50
|
Le 2 sept. 04, =E0 17:53, steve harris a =E9crit : > If I want to take, say the converter tutorial, and > turn it into a double clickable/installable os x app > just like any other. How do I do that? Create a double clickable/instalable app using your prefred development=20= tool (for instance, this is trivial to do in XCode). Embed the F-Script=20= framework in your application (see the Mac OS X doc about using and=20 embedding frameworks). Embed some F-Script code in your application=20 (for example, in a text file). In your application, load your F-Script=20= code into an NSString and use the F-Script API described at=20 http://www.macdevcenter.com/pub/a/mac/2002/07/12/embed_fscript.html to=20= execute the code. Alternatively, you can embed an archived F-Script=20 block in your app, unarchive it at run-time, and evaluate it. Best, Philippe Mougin |