Re: Sort Descriptor problem in NSTableView
Re: Sort Descriptor problem in NSTableView
- Subject: Re: Sort Descriptor problem in NSTableView
- From: "Adam R. Maxwell" <email@hidden>
- Date: Mon, 11 Aug 2008 17:39:01 -0700
On Monday, August 11, 2008, at 05:32PM, "Graham Cox" <email@hidden> wrote:
>I just want to sort a simple mutable array of strings. So what should
>the key be? There is no property I want to sort on, the string itself
>*is* the property. But if I leave the key field blank the table just
>keeps accumulating broken sort descriptors so that's clearly not
>right. I suspect I'm thinking too hard about this, but I'm just not
>seeing it.
In this case, I'd pass @"self" as the key path.
--
Adam
_______________________________________________
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