Sorting an NSTableView
Sorting an NSTableView
- Subject: Sorting an NSTableView
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 30 Nov 2008 00:31:29 +0700
I have an NSTableView, filled by an NSArrayController.
A column has "Creates Sort Descriptor" selected in InterfaceBuilder.
And right: when I click on this column, an NSSortDescriptor gets
created with the selector "compare:".
Works fine; only "compare:" is quite unusable; the documentation quite
rightly says: "If you are comparing strings to present to the end-
user, you should typically use localizedCompare:"
Is it possible to specify in InterfaceBuilder which selector to use
for sorting?
Kind regards,
Gerriet.
_______________________________________________
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