Skip navigation.
 
mlRe: sorting large tables
FROM : Keary Suska
DATE : Thu Mar 13 17:22:28 2008

on 3/13/08 9:52 AM, <email_removed> 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"

Related mailsAuthorDate
mlsorting large tables Daniel Child Mar 13, 16:52
mlRe: sorting large tables Jens Alfke Mar 13, 17:12
mlRe: sorting large tables Keary Suska Mar 13, 17:22
mlRe: sorting large tables Daniel Child Mar 13, 21:42
mlre: sorting large tables Ben Trumbull Mar 13, 22:00
mlRe: sorting large tables Jens Alfke Mar 13, 23:24
mlRe: sorting large tables Ben Trumbull Mar 14, 02:42
mlRe: sorting large tables Daniel Child Mar 14, 04:34
mlRe: sorting large tables Dave Hersey Mar 14, 05:06
mlRe: sorting large tables Nir Soffer Mar 14, 05:41
mlRe: sorting large tables Jens Alfke Mar 14, 06:00
mlRe: sorting large tables Daniel Child Mar 14, 18:46
mlRe: sorting large tables Daniel Child Mar 14, 18:50