• 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: PICT control problems [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PICT control problems [SOLVED]


  • Subject: Re: PICT control problems [SOLVED]
  • From: Scott Thompson <email@hidden>
  • Date: Fri, 23 Jun 2006 08:39:52 -0500


On Jun 21, 2006, at 2:30 PM, John Lunt wrote:

In short if you add a PICT control to your project, you also need to add a "New Build ResourceManager Resources Build Phase" to your project, as explained in detail here:
http://www.carbondev.com/site/?page=Interface+Builder+Images

I'm going to report this as a Doc bug to Apple, as its (almost) impossible to work this out from the official Apple docs. It also impacts people using the (Apple written) "Learning Carbon". 

Best wishes,

John.

Probably beyond the scope of this list, but you would be better served in the long run by avoiding PICT altogether.  PICT is the metafile format for QuickDraw and QuickDraw has been deprecated.

What you should do in a modern application is use an HIImageView and some other file format like PNG, JPEG, TIFF, or PDF.

Finally, it is rather unusual for a modern Carbon application to have to use the ResourceManager.  There are good reasons to do so, but in general it should not be necessary.

Unfortunately, "Learning Carbon" is out-of-date in many respects.  Similarly, the on-line documentation can be misleading because it includes so much legacy information that is no longer relevant :-(

Scott

 _______________________________________________
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: PICT control problems [SOLVED]
      • From: John Lunt <email@hidden>
References: 
 >PICT control problems (From: John Lunt <email@hidden>)
 >Re: PICT control problems [SOLVED] (From: John Lunt <email@hidden>)

  • Prev by Date: Re: XCode not universal binary yet?
  • Next by Date: Converting numeric values to strings
  • Previous by thread: Re: PICT control problems [SOLVED]
  • Next by thread: Re: PICT control problems [SOLVED]
  • Index(es):
    • Date
    • Thread