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: Robert Tillyard <email@hidden>
- Date: Sat, 30 Jun 2012 01:05:46 +0100
Thank you, Willeke,
That worked brilliantly.
Regards, Rob.
On 29 Jun 2012, at 22:15, Willeke wrote:
>
> 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
>
_______________________________________________
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