Re: CoreData issue
Re: CoreData issue
- Subject: Re: CoreData issue
- From: Andrew Merenbach <email@hidden>
- Date: Wed, 6 Sep 2006 10:04:23 -0700
Hi, Patrick.
Core Data employs NSSets, rather than NSArrays, to store the contents
of NSArrayControllers. This is why you will need NSSortDescriptors
to sort your data. I suggest checking out the docs for those, which
will come in very handy for your purposes. (Without them your data
will just be returned in an essentially-arbitrary order.)
Hope this helps,
Andrew
On 6 Sep 2006, at 09:49, Patrick Perroud wrote:
Hello,
I'm quite new to CoreData and keen to grasp it in depth.
Testing it around from a while I came thu a strange issue I was not
able to solve by myself so far.
In short - I have 2 bound listboxes within a document window:
getting 3 rows in list 1 that reads "1.0", "2.0" and "3.0".
When first row is selected - I get 3 rows in list 2 that reads "MSG
1", "MSG 2" and "MSG 3".
All UI - etc - is working fine.
But when I save it to binary file - then re-open the saved data,
list 1 reads "3.0", "1.0" and "2.0".
And selecting the 2nd row (that now reads "1.0"), list2 rows now
reads "MSG 2", "MSG 1" and "MSG 3".
IOW - it doesn't fetch back the 2 lists data in same order.
I have checked carefully my bindings and didn't find nothing that
would explain such an error, so I must be missing something
important in here.
Any comment and advice about such an issue would be very much
welcomed indeed.
Best regards
Patrick Perroud
- - - - - - - - -
http://p.perroud.free.fr/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40ucla.edu
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