Re: Is NSTableView sortDescriptors KVO compliant?
Re: Is NSTableView sortDescriptors KVO compliant?
- Subject: Re: Is NSTableView sortDescriptors KVO compliant?
- From: Scott Anguish <email@hidden>
- Date: Fri, 14 Dec 2007 01:38:25 -0500
On Dec 13, 2007, at 9:37 PM, mmalc crawford wrote:
This leads me to believe that sortDescriptors is not KVO compliant,
but its listed in the bindings reference for NSTableViewhttp://developer.apple.com/documentation/Cocoa/Reference/CocoaBindingsRef/BindingsText/NSTableView.html
Similar to the previous point, the bindings reference lists
properties that can be bound, not those that are observable.
Yes. The Bindings Reference is NOT the same as the class reference.
To expand slightly on mmalc's info. (and hopefully not confusing the OP)
Unless stated otherwise in the documentation you should not assume
that any of the AppKit/Foundation/Core Data/etc.. properties are
observable.
The controller properties that ARE observable are listed here:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Articles/ControllerKey-ValueObservingCompliance.html#/
/apple_ref/doc/uid/TP40002493
Some additional observable exceptions are noted in NSViewController,
NSCollectionView and NSPrintPanelAccessorizing
_______________________________________________
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