• 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: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !


  • Subject: Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
  • From: Eric Morand <email@hidden>
  • Date: Wed, 7 Sep 2005 11:05:42 +0200

Thanks mmalc !

Once again, you solved a mistery !


The problem is that I love the explanation but I don't feel easy with the solution : "You may need to subclass NSArrayController so you can have it not pass the sort descriptors to the database and do the sorting after your data has been fetched instead."



I'll try to fond an easier solution.



Again, thanks !


Eric.



Le 7 sept. 05 à 01:19, mmalcolm crawford a écrit :


On Sep 6, 2005, at 2:17 PM, Eric Morand wrote:


What's wrong here ? The problem only happens with SQL store and doesn't allow an NSArrayController to be sorted on a derived value ! And in particular, it prevents an array controller to be sorted on a localized value derived from a property !


<http://lists.apple.com/archives/Cocoa-dev/2005/Aug/msg00797.html>

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
      • From: Scott Ellsworth <email@hidden>
References: 
 >Strange bug (?) with NSArrayController sortDescriptors and SQLite ! (From: Eric Morand <email@hidden>)
 >Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite ! (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Core-Data & validate<key>:error:
  • Next by Date: Re: iTunes playlist icons
  • Previous by thread: Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
  • Next by thread: Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
  • Index(es):
    • Date
    • Thread