• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
xCode resources and paths in bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xCode resources and paths in bundle


  • Subject: xCode resources and paths in bundle
  • From: Mike <email@hidden>
  • Date: Sat, 7 Jun 2008 16:54:26 +0300

I need to include few different resource-types to my project and app.bundle.

In my xcode-project -folder (finder) I have "resourcefiles"- subdirectory and under that few subdirectories for these different resource types (fonts, textures, etc).
I have dragged those dirs to xcode "group & files" to under resources- folder and they appear nicely in separate subfolders (without copying them to project but having them stay just referenced).


Questions:

1. All these resources-files goes to same single directory inside app.bundle (app.bundle/contents/resources)
How do I make them go to separate subfolders under resources?
i.e.
app.bundle/contents/resources/fonts
app.bundle/contents/resources/textures
app.bundle/contents/resources/templates
etc.



2. If I add new files to those resourcefile-directories with finder (i.e. new fonts, textures, etc) how do I make xCode automaticly detect the new files and include them in build (and bundle)? Or do I have to manually drag the added files to xCode everytime?


Thanks.

-Mike
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: xCode resources and paths in bundle
      • From: Nick Zitzmann <email@hidden>
References: 
 >Re: knowing when WebView is done (From: Mark Bateman <email@hidden>)
 >Re: knowing when WebView is done (From: Rush Manbert <email@hidden>)
 >Re: knowing when WebView is done (From: Timothy Ritchey <email@hidden>)
 >Re: knowing when WebView is done (From: "Adam R. Maxwell" <email@hidden>)
 >Re: knowing when WebView is done (From: Timothy Ritchey <email@hidden>)
 >Re: knowing when WebView is done (From: "Adam R. Maxwell" <email@hidden>)
 >Re: knowing when WebView is done (From: Timothy Ritchey <email@hidden>)

  • Prev by Date: Re: SOLVED: Programatically manipulating an xcdatamodel package?
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: Re: knowing when WebView is done
  • Next by thread: Re: xCode resources and paths in bundle
  • Index(es):
    • Date
    • Thread