Re: creating folders inside the main bundle
Re: creating folders inside the main bundle
- Subject: Re: creating folders inside the main bundle
- From: John Anderson <email@hidden>
- Date: Sun, 21 Jul 2002 14:16:37 -0700
This is assuming that you want to put something inside the Plugins
folder, but you can just add the files that you wish to add to this
folder in your app bundle, and then edit the application's target and
add a Copy Files build phase (under the Project menu. Then you can have
it copy the files to the Plugins folder of your app bundle. If a folder
doesn't exist in the bundle, one will be created automatically.
John Anderson
everchanging
On Saturday, July 20, 2002, at 10:11 PM, Roarke Lynch wrote:
I am in the process of making my current application dynamically load
plugins that I can later develop for it. I can load them just fine but
I am stuck on one tiny detail. You can call [[NSBundle mainBundle]
pathForBuiltInPlugIns] to get app.app\contents\PlugIns by default but
when you build the project this directory does not atomatically exist.
Now i suppose i could make the app dynamically generate this directory
when the app launches easy enough, but I would rather have this
directory always exist, i.e i want to be able to create a custom
folder within my app's mainBundle. How the hell do you do it in PB?
Roarke Lynch
-------------------------------
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.