Re: Disabling sorting in a programatically generated table
Re: Disabling sorting in a programatically generated table
- Subject: Re: Disabling sorting in a programatically generated table
- From: Keary Suska <email@hidden>
- Date: Sat, 31 Jan 2009 11:19:03 -0700
On Jan 30, 2009, at 10:39 AM, Ken Tozier wrote:
On Jan 30, 2009, at 10:52 AM, Keary Suska wrote:
When you call -bind: do you pass
NSCreatesSortDescriptorBindingOption NO?
I'm not calling bind, because the array controller and array are
created inside the same function, so it just seemed bass ackward to
write an accessor for something I can just set directly with
[controller setContent: tableData]. I looked at the
NSArrayController docs again and didn't see any method that
approximates NSCreatesSortDescriptorBindingOption other than
[controller setSortDescriptors: nil];
[controller setAutomaticallyRearrangesObjects: NO];
You don't have a binding between the table view and the array
controller?
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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