• 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: unwanted cell copy being interposed during click in outline
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Over-released Paragraph Style - Driving Me NUTS!
  • Next by Date: Re: Over-released Paragraph Style - Driving Me NUTS!
  • Previous by thread: Re: unwanted cell copy being interposed during click in outline
  • Next by thread: custom NSSliderCell
  • Index(es):
    • Date
    • Thread