Re: unwanted cell copy being interposed during click in outline
Re: unwanted cell copy being interposed during click in outline
- Subject: Re: unwanted cell copy being interposed during click in outline
- From: Scott Ribe <email@hidden>
- Date: Fri, 20 Oct 2006 14:20:16 -0600
- Thread-topic: unwanted cell copy being interposed during click in outline
> But how's that going to work? Are you suggesting that my copyWithZone
> implementation should simply do a retain?
Yes.
> But in that case EVERY cell will
> share the same object-pointed-to - not merely the two that are being swapped
> back and forth during mousedown.
No, because your data source will implement
outlineView:objectValueForTableColumn:byItem: which will set the
object-pointed-to as needed for the current row. Or, perhaps your delegate
could implement outlineView:willDisplayCell:forTableColumn:item: to set the
value, though I'm not sure that would be called at an appropriate time for
use in tracking...
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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