[SOLVED] I'm having trouble retaining a NSColor
[SOLVED] I'm having trouble retaining a NSColor
- Subject: [SOLVED] I'm having trouble retaining a NSColor
- From: "Alan Smith" <email@hidden>
- Date: Mon, 4 Sep 2006 23:20:01 -0400
I finally figured it out. The trouble was that the highlightColor variable
was not being copied when [browser setCellPrototype: cell] (or whatever) was
being called. So, after extending the copyWithZone: (NSCell's copy method),
it worked just fine.
Don't bash me for not getting the method names and classes names correct
because I'm away from my computer with the code.
Cheers, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"Don't waste your life doing things others have already done."
_______________________________________________
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