on 3/13/08 9:52 AM, [EMAIL PROTECTED] 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
