Re: isEditable
Re: isEditable
- Subject: Re: isEditable
- From: Jonathan Jackel <email@hidden>
- Date: Sun, 12 Dec 2004 01:24:44 -0500
Subclassing in Cocoa generally is not the preferred solution.
isEditable is just the getter accessor; setEditable is the setter (for
table columns anyway). If you have a setter, why would you go to the
trouble of subclassing just to set the value?
If a method is intended to be overridden by subclasses, the docs say
so, e.g., -[NSCoder containsValueForKey:]
Jonathan
On Dec 11, 2004, at 4:23 PM, Danny Swarzman wrote:
In order to make a NSTableView or NSTableColumn not editable do you:
- Call setEditable?
- Override isEditable?
In general is there a way to determine from the documentation which
methods are intended to be called and which are to be overridden?
-Danny
_______________________________________________
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
References: | |
| >isEditable (From: Danny Swarzman <email@hidden>) |