I do use pathForResource:ofType:inDirectory: with nil for Directory and jpg for Type It helps separate jpg's from other pictures
But suppose I want to have my pictures in a directory called Pic, how do I go about it? Thanks Dave Pierre 2009/10/28 Dave Carrigan <[email protected]> > > On Oct 28, 2009, at 10:46 AM, Pierre Berloquin wrote: > > My app uses a hundred pictures. >> How can I group them somewhere in the bundle so that my app loads them >> without confusing them with button images and icons . >> > > Have you tried NSBundle's -pathForResource:ofType:inDirectory: > > To install them, create a new copy files build phase that copies them to > the subdirectory of your choosing. > > -- > Dave Carrigan > [email protected] > Seattle, WA, USA > > -- Blogs : http://bibliobs.nouvelobs.com/blog/jeux-litteraires http://pierre-berloquin.blogspot.com/ Développement durable des neurones par le jeu de réflexion www.crealude.net Sustainable development of neurones through mind games www.crealude.net/us Que fait-on pour les mal-codants ? _______________________________________________ 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]
