Re: NSTableView and NSView
Re: NSTableView and NSView
- Subject: Re: NSTableView and NSView
- From: j o a r <email@hidden>
- Date: Tue, 21 Nov 2006 21:54:07 +0100
On 21 nov 2006, at 21.41, I. Savant wrote:
The cell is a custom subclass that doesn't draw anything. Instead,
when asked to draw, it takes the view it received earlier, and
inserts it as a subclass to the table view, in the position where
it was asked to draw.
For clarity, the above should read, "... and inserts it as a
subVIEW to the table view ..." ;-)
He, he... Yes, that works too! :-D
Btw.: Something that my code sample is missing - if you're using
editable controls - is maintaining the key-view loop as subviews are
added / removed from the table view. It's an "exercise for the
reader"... ;-)
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins (at) lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden