Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Many-To-Many Relationship Interface in Core Data




On Apr 27, 2007, at 1:30 PM, Frank D. Engel, Jr. wrote:

I think you'll find I'm not one to give up easily!

Understood, but I would still encourage you to work through the solution first without using Core Data. The data source logic should work the same whether or not you use Core Data, and it will reduce the number of "unknowns".


I have an array controller on the "restrictions" table which I was querying for a selected object.

It appears you have probably got this right, but for the archived is important to note the difference between 'selection' and 'selectedObjects' -- the former returns a proxy (and may be a selection marker) whereas the latter returns an array (that may be empty...) -- see <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaBindings/Concepts/CntrlSelection.html >.

For another approach to the general to-many problem, see also the "Groups" example at <http://homepage.mac.com/mmalc/CocoaExamples/controllers.html > (the "Combatants" example is also vaguely relevant).

mmalc

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Many-To-Many Relationship Interface in Core Data (From: "Frank D. Engel, Jr." <email@hidden>)
 >Re: Many-To-Many Relationship Interface in Core Data (From: mmalc crawford <email@hidden>)
 >Re: Many-To-Many Relationship Interface in Core Data (From: "Frank D. Engel, Jr." <email@hidden>)
 >Re: Many-To-Many Relationship Interface in Core Data (From: mmalc crawford <email@hidden>)
 >Re: Many-To-Many Relationship Interface in Core Data (From: "Frank D. Engel, Jr." <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.