• 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: isEditable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: Linking external libraries
  • Next by Date: Re: NSAttributedString advice
  • Previous by thread: isEditable
  • Next by thread: Which documents
  • Index(es):
    • Date
    • Thread