Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iPhone app bundle subfolders

In my app I have about 100 small images, which I would like to place in a subfolder inside the app bundle, so that the bundle's root directory remains clutter-free with the few essential files.

I have tried everything but I cannot create subfolders in an iPhone app bundle. I would appreciate any detailed pointers on how to accomplish this.

Thanks!

MacBook, Mac OS X (10.5.4)

Posted on Aug 16, 2008 10:04 AM

Reply
4 replies

Aug 16, 2008 11:26 AM in response to Jonny777

Drag the folder containing your images to your "Groups & Files" outline and in the dialog select "Create Folder References for any added folders" instead of the option creating groups.

Anyway this seems to be a bad idea to do so. First because you don't have to bother how clean is the bundle 😉 But also because your folder seems to be locked and no modification seems to be possible.

And last but not least, I'm not sure the files will be easily accessed, especially images with the method
[NSImage imageNamed:@"myimage.png"]


Perform some checks before you decide !

Regards,
iPhil_good

Aug 16, 2008 1:46 PM in response to Jonny777

Sorry I thought it would work 😟

Now I remember having unsuccessfully tried that, and I ended adding the folder manually by opening the app package after compilation !!

This was not good at all ... So I gave up and met my needs another way.

But once again if it's only cosmetic, then forget about it, all MacOS/iPhone bundles are this dirty 😉

Sorry again ;-/

Regards
Phil

iPhone app bundle subfolders

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.