• 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 descriptors of NSArrayController are lost (WAS: Re: NSArrayController, saving and reloading sort descriptors)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort descriptors of NSArrayController are lost (WAS: Re: NSArrayController, saving and reloading sort descriptors)


  • Subject: Re: sort descriptors of NSArrayController are lost (WAS: Re: NSArrayController, saving and reloading sort descriptors)
  • From: Knud Hinnerk Möller <email@hidden>
  • Date: Fri, 16 Mar 2007 00:07:43 +0000

Scott Stevenson:

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
   NSSortDescriptor* graphSortDesc = [[[KNGraphSortDescriptor alloc]
      initWithKey: @"label"


Shouldn't this be "anyLabel"?

No, those are two different array controllers, controlling two different kinds of entities. The graphs in the graph controller have only one label, so it's "label", whereas the KNResourceNodes in the other controller potentially have many labels - thus "anyLabel". Sorry for the confusion. But I still don't know where the sort descriptors dissappear to...


Cheers,
Knud
-------------------------------------------------
Knud Möller, MA
+353 - 91 - 495086
Digital Enterprise Research Institute
  National University of Ireland, Galway
Institiúid Taighde na Fiontraíochta Digití
  Ollscoil na hÉireann, Gaillimh


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Re: Calling cocoa app from command line
  • Next by Date: [ANN] GNUstep got accepted for Google Summer of Code
  • Previous by thread: URL Connection block?
  • Next by thread: Re: sort descriptors of NSArrayController are lost (WAS: Re: NSArrayController, saving and reloading sort descriptors)
  • Index(es):
    • Date
    • Thread