Re: sorting large tables
Re: sorting large tables
- Subject: Re: sorting large tables
- From: Keary Suska <email@hidden>
- Date: Thu, 13 Mar 2008 10:22:28 -0600
- Thread-topic: sorting large tables
on 3/13/08 9:52 AM, email@hidden purportedly said:
> Unfortunately, the table is not KVO-compliant so I cannot use
> NSSortDescriptor. And I need to pass the primary and secondary sort
> fields at runtime, so I cannot use sortUsingSelector since it takes
> no parameters.
-sortUsingSelector takes one parameter, which is the object being compared,
and is called on the object comparing. So then you have your A and B for any
standard sort situation.
If you need something further than this, you need to be more specific. You
may also wish to reference a recent discussion on this (or very similar)
topic.
Best,
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