Re: NSArrayController & NSTreeController default sort order
Re: NSArrayController & NSTreeController default sort order
- Subject: Re: NSArrayController & NSTreeController default sort order
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 22 Jan 2008 13:57:23 -0500
On Jan 22, 2008 12:17 PM, Chris Schmitt <email@hidden> wrote:
> I have a core data application working with my array and tree
> controllers, but I want to set the default sort order for the
> objects. Currently each time I retrieve the data from the
> controllers the data comes back unsorted, and that is not good as I am
> displaying data in a sequence. How do I set up the bindings correct
> so my controllers fetch the data pre-sorted?
Subclass your controller and override -arrangeObjects:.
--Kyle Sluder
_______________________________________________
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