Re: sort descriptors of NSArrayController are lost (WAS: Re: NSArrayController, saving and reloading sort descriptors)
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