• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sort Descriptor problem in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Sort Descriptor problem in NSTableView [SOLVED]
      • From: Graham Cox <email@hidden>
References: 
 >Re: Sort Descriptor problem in NSTableView (From: Keary Suska <email@hidden>)
 >Re: Sort Descriptor problem in NSTableView (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Sort Descriptor problem in NSTableView
  • Next by Date: Re: Sort Descriptor problem in NSTableView [SOLVED]
  • Previous by thread: Re: Sort Descriptor problem in NSTableView
  • Next by thread: Re: Sort Descriptor problem in NSTableView [SOLVED]
  • Index(es):
    • Date
    • Thread