• 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
Resource file merge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resource file merge


  • Subject: Resource file merge
  • From: Tim Conkling <email@hidden>
  • Date: Tue, 15 Mar 2005 14:23:13 -0500

I'm converting a CFM Carbon app (developed with CodeWarrior) to a Mach-O app (with Xcode). I understand that resource forks are a no-no, and that the acceptable way to add resources to a project is to use a data-fork based resource file that's stored in the Resources directory of the app bundle (please correct me if I'm wrong though!)

Two questions:
1) The only reason I'm using resources is because there are a few bevel buttons in the app that use pictures. In Interface Builder, I can't find a way to have a button use anything other than a resource file to get its picture content from (I can set the bevel button's content to PICT id, cicn id, or Icon Suite id). I'd really like to have my pictures be stored individually in Resources/, but I'm not sure how I can use IB to assign non-resource-based pictures to a bevel button. (I'd like to avoid manually reading in picture data and SetControlData'ing it to the buttons!)


2) If I must use resources, how do I have Xcode merge the contents of several resource files into one? I tried creating a ".r" file that #include'd the resource files I wanted combined together, but the file wasn't compiled -- instead, all that happened was that the .r file was put directly into Resources/.

Thanks,
Tim

_______________________________________________
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


  • Prev by Date: Re: "Stop on C++ throw"
  • Next by Date: Re: "debugger console" windows' names
  • Previous by thread: missing variable
  • Next by thread: Re: XCode fails to debug Adobe CS2 apps
  • Index(es):
    • Date
    • Thread