Re: Sorting an NSTableView bound to an NSArrayController.
Re: Sorting an NSTableView bound to an NSArrayController.
- Subject: Re: Sorting an NSTableView bound to an NSArrayController.
- From: Willeke <email@hidden>
- Date: Fri, 29 Jun 2012 23:15:32 +0200
Op 28 jun 2012, om 17:44 heeft Robert Tillyard het volgende geschreven:
>
> I now I need to put a key and sort descriptor in IB but don't know what code I have to add to the Entity ot WindowController to handle it.
You can create a category of NSString and implement your own compare method. In IB you set the selector of the table column to this method.
Willeke
_______________________________________________
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