[OS X]-How to add resource folder to App bundle?

[OS X]-How to add resource folder to App bundle?

Hi,

I’m totally new to building applications in Xcode for Mac OS X®.

In the executable’s folder is the App bundle
and a “data” folder with resources.
Is that the normal way to do this?
or is there some way to put “data” resource folder into the App bundle
directly?
(“data” folder contains: dictionary, fonts, graphics, music, and sound
folders)

It would be preferred to have one single App bundle file with everything.

Again, I’m totally new to this.
I’m on Mac OS X® 10.6.2 and using Xcode 3.2.1…

Thanks!

Jesse

Good idea to make an app bundle.
This video demonstrates the concept for OpenSceneGraph, but same
overall concept for SDL.
http://playcontrol.net/ewing/screencasts/how_to_create_an_app_bundle.html

One caveat with SDL. Since SDL doesn’t really do file loading and you
generally write this code yourself, you may have to implement the code
that checks the app bundle resource locations yourself. (I recall
writing a small bit of code for the SDL 1.3/iOS for something
specific, but I don’t recall if 1.2 has this and if Mac gets this
too.)

-EricOn 9/15/10, Jesse Palser wrote:

[OS X]-How to add resource folder to App bundle?

Hi,

I’m totally new to building applications in Xcode for Mac OS X®.

In the executable’s folder is the App bundle
and a “data” folder with resources.
Is that the normal way to do this?
or is there some way to put “data” resource folder into the App bundle
directly?
(“data” folder contains: dictionary, fonts, graphics, music, and sound
folders)

It would be preferred to have one single App bundle file with everything.

Again, I’m totally new to this.
I’m on Mac OS X® 10.6.2 and using Xcode 3.2.1…

Thanks!

Jesse


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/