Re: Use of cells with custom controls
Re: Use of cells with custom controls
- Subject: Re: Use of cells with custom controls
- From: "I. Savant" <email@hidden>
- Date: Tue, 28 Jul 2009 20:46:37 -0400
On Jul 28, 2009, at 8:10 PM, Chase Meadors wrote:
I'm making my own class that will input a variety of data in
different formats, and NSTableView really seems clunky and unsuited
for my purposes.
In what way? What are you trying to do?
I'm trying to make a custom control, but I don't quite understand
what I need to do to use cells in it.
...
However, I'm not sure how I should implement the mouse event methods
to get the correct behavior in the cells. Do I test the point of the
event, see if it's in a cell, and call some method on that cell to
make it active? Is there an easier way?
Read the documentation:
http://devworld.apple.com/documentation/Cocoa/Conceptual/ControlCell/ControlCell.html
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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