> Did you actually bind the table view's sortDescriptors binding to the
> array controller's sortDescriptors property?
> 

No, but that's why I posted, trying to figure out when this can be avoided. 

> In the simplest case (all columns bound to different keys on the same
> NSArrayController), NSTableView will automagically bind its
> selectedIndexes and its sortDescriptors bindings to the relevant
> properties on the array controller. But if your columns aren't all
> bound to the same array controller, the table view can't logically do
> this, so you are responsible for binding these yourself.

This is helpful, thanks for explaining. I am however, using only one 
NSArrayController between all of the columns and am not using any display 
patterns (I noticed they do not offer the "Creates Sort Descriptor" option). At 
this point I could just move on and set my Array Controller's sortDescriptor 
property but it just really bugs me to not know what line I am crossing that 
disables the automagic functionality.


--Chris




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to