Re: Creating a Resource Folder in Bundle
Re: Creating a Resource Folder in Bundle
- Subject: Re: Creating a Resource Folder in Bundle
- From: Christiaan Hofman <email@hidden>
- Date: Thu, 10 Jun 2010 19:07:32 +0200
On Jun 10, 2010, at 18:52, Gordon Apple wrote:
> What I want, ideally, is to specify a folder (sub-directory) in resources,
> preferably without having to import all its content files into the project,
> but have that folder and its contents included in the bundle. (iPhoneOS
> 3.2)
>
> At run-time, I want to be able to read the contents of this resource folder
> into the program. This could be a folder of images, a folder of text files,
> etc. The read part I can handle. It's getting the folder and its contents
> into the bundle that I don't know how to do -- especially since iPhoneOS
> tends to flatten everything.
>
> I know -- RTFM. I'm trying that, but really just need a simple solution to
> what should be a simple problem. Is there a simple solution I've missed?
Add a Copy Files build phase to the target. Or add the folder to the Resources, though that will copy all its content.
Christiaan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden