Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
- Subject: Re: Strange bug (?) with NSArrayController sortDescriptors and SQLite !
- From: Scott Ellsworth <email@hidden>
- Date: Wed, 7 Sep 2005 10:53:39 -0700
On Sep 7, 2005, at 2:05 AM, Eric Morand wrote:
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."
If I recall correctly, this is not terribly difficult. I looked into
it for almost exactly the same reason a while ago, and it did not
look too bad.
I have come to the conclusion that knowing how and when to subclass
NSArrayController and how to create object transformers both have a
lot of bennies - they let you transform data in sensible ways by
mapping indices and mapping objects.
Scott
_______________________________________________
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