On 30/10/2009, at 3:16 PM, Graham Cox wrote:


On 30/10/2009, at 2:51 PM, Pierre Berloquin wrote:

It looks like the app is going to carry a ghost load forever, that I don't
need.
What can I do?


Are you sure you did a clean build? If not, the new folder will be added, but the OLD resources are not moved or deleted, so they'll still be there.

--Graham

I concur.

But, Pierre, why do you think you need a copy files build phase? That's a question, not a rhetorical statement. To explain: my experience is that if I want to add a bunch of resource type files to a project, I select the Resources folder in the Groups and Files pane on the left of the Xcode project window. Then I cntrl-click and choose "Add existing files..." and navigate to my folder of jpgs or sound files or whatever and choose them. Then, in code, one can do

myArray = [[NSBundle mainBundle] pathsForResourcesOfType:@"jpg" inDirectory:@"myJpgsFolder"];

Ron

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to