Re: Advice on using NSCell
Re: Advice on using NSCell
- Subject: Re: Advice on using NSCell
- From: Andy Lee <email@hidden>
- Date: Sat, 4 Mar 2006 19:14:49 -0500
On Mar 4, 2006, at 5:49 PM, James Bucanek wrote:
Is it OK/safe/kosher/recommended to replace the NSCell object for
each of my NSTableColumns with an NSTextFieldCell object?
It should certainly be OK/safe/kosher. NSTableColumn's -setDataCell:
method takes an NSCell, so any instance of a subclass of NSCell
should be acceptable. Presumably that's the *purpose* of -
setDataCell: -- to allow you to substitute a cell with specific
behavior you want.
--Andy
_______________________________________________
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