Re: NSOutlineView meta-problem
Re: NSOutlineView meta-problem
- Subject: Re: NSOutlineView meta-problem
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 11 Jun 2003 11:32:15 -0700
On Wednesday, June 11, 2003, at 08:03 AM, David Wood wrote:
In the case of the takeValue:forKey:, Cocoa complained about not
finding an appropriate method to call. In the case of
outlineView:setObjectValue:forTableColumn:byItem, it didn't complain,
even when outlineView:shouldEditTableColumn: said it was editable.
Isn't this inconsistent behavior?
I wouldn't say so, since when you call -takeValue:forKey: you're more
or less promising that there's a setter with the appropriate name.
You're not making any promises when it comes to implementing the data
source methods.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.