Following on from a previous question (Core Data/IB questions), I am seeking advice again on how I should accomplish the following:

I need to select an arbitrary number (i.e. not necessarily 1 or all) of objects from a set of all objects belonging to another entity. I assumed this was a job for a to-many relationship, but I can't see how to use a to-many relationship, without having all the objects in the related entity included.

So will I need to write my own code to select objects via a to-one relationship, and add them to an array one by one? I guess the array would have to become a kind of property of the entity which is choosing from the relationship.

The point of this is to have a store of objects in the second entity, which can be picked from by objects of the second entity as needed.

I'd appreciate any advice, thank you.

Ian.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to