• 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: I'm having trouble retaining a NSColor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I'm having trouble retaining a NSColor


  • Subject: Re: I'm having trouble retaining a NSColor
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 28 Aug 2006 14:11:54 -0400

NSLog(@"highlightColor = %", [highlightColor retainCount]);
...
That's all well and good but, when the code gets to the third log
message it crashes. All I wanted was to verifiy that the color existed
and it crashes.

It crashes because you're not formatting your string correctly. Take another look at the problem NSLog() call above.


--
I.S.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >I'm having trouble retaining a NSColor (From: "Alan Smith" <email@hidden>)

  • Prev by Date: I'm having trouble retaining a NSColor
  • Next by Date: Re: I'm having trouble retaining a NSColor
  • Previous by thread: I'm having trouble retaining a NSColor
  • Next by thread: Re: I'm having trouble retaining a NSColor
  • Index(es):
    • Date
    • Thread