• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sorting large tables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >sorting large tables (From: Daniel Child <email@hidden>)

  • Prev by Date: Re: sorting large tables
  • Next by Date: Re: AppleScript Support with Plugin
  • Previous by thread: Re: sorting large tables
  • Next by thread: Re: sorting large tables
  • Index(es):
    • Date
    • Thread