• 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
Re: Resources flattened out into a single directory in the .app package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resources flattened out into a single directory in the .app package


  • Subject: Re: Resources flattened out into a single directory in the .app package
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 19 Apr 2009 21:02:54 -0700


On 2009 Apr 13, at 05:55, Rama Krishna wrote:

What should I do to see the resources organized in separate subfolder.

Two solutions:

1. Re-think your design. Cocoa seems designed to have everything flat in Contents/Resources. Nonstandard design practices of "fighting the framework" can lead to future difficulties.

2. If you really want to have subfolders, I believe you can do this in Xcode. The default application project creates a single Copy Resources Build Phase, but you can remove this and instead set a separate Copy Files Build Phase for each of your subfolders. For example, in the first Copy Files Build Phase, you'd set Destination to "Resources" and Path to "Images". See Xcode documentation for more info on Build Phases.


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Resources flattened out into a single directory in the .app package
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Resources flattened out into a single directory in the .app package (From: "Rama Krishna" <email@hidden>)

  • Prev by Date: NSString not working
  • Next by Date: Re: NSString not working
  • Previous by thread: Resources flattened out into a single directory in the .app package
  • Next by thread: Re: Resources flattened out into a single directory in the .app package
  • Index(es):
    • Date
    • Thread