• 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: NSArrayController, saving and reloading sort descriptors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController, saving and reloading sort descriptors


  • Subject: Re: NSArrayController, saving and reloading sort descriptors
  • From: Scott Stevenson <email@hidden>
  • Date: Thu, 15 Mar 2007 15:33:14 -0700


On Mar 14, 2007, at 8:40 AM, Aurélien Hugelé wrote:

is that when you add a sort descriptor (in that case the one from the user default) to a fetch, the sorting is done by SQLite (if you have a SQL store), and thus the key must be hardcoded as an attribute in database to be accessible/known by SQLite... KVC won't work here...

I think it might work if he adds anyLabel as a transient property in the model. NSPredictate at least works that way.


     - Scott_______________________________________________

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


References: 
 >NSArrayController, saving and reloading sort descriptors (From: Knud Hinnerk Möller <email@hidden>)
 >Re: NSArrayController, saving and reloading sort descriptors (From: Aurélien Hugelé <email@hidden>)

  • Prev by Date: Re: Calling cocoa app from command line
  • Next by Date: Re: sort descriptors of NSArrayController are lost (WAS: Re: NSArrayController, saving and reloading sort descriptors)
  • Previous by thread: Re: sort descriptors of NSArrayController are lost (WAS: Re: NSArrayController, saving and reloading sort descriptors)
  • Next by thread: Using math.h
  • Index(es):
    • Date
    • Thread