Re: Many-To-Many Relationship Interface in Core Data
Re: Many-To-Many Relationship Interface in Core Data
- Subject: Re: Many-To-Many Relationship Interface in Core Data
- From: mmalc crawford <email@hidden>
- Date: Fri, 27 Apr 2007 13:49:37 -0700
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:
This email sent to email@hidden