RE: Implementing a many-to-many ("reflexive") relationship using bindings and an NSTableView
RE: Implementing a many-to-many ("reflexive") relationship using bindings and an NSTableView
- Subject: RE: Implementing a many-to-many ("reflexive") relationship using bindings and an NSTableView
- From: "Jon C. Munson II" <email@hidden>
- Date: Thu, 26 Mar 2009 10:16:06 -0400
- Organization: JTA Enterprises LLC
Namaste!
I've taken a good look at mmalc's ToManyCheckbox example (thank you for
that).
I'd like some confirmation on what I believe to be true after the research
I've done so far to make sure I didn't miss something.
Given: Entity A and Entity B have a many-to-many relationship with each
other, an NSTableView with a popup button to select appropriate Entity Bs
for Entity A will be used for an interface from Entity A's point of view.
To implement the proposed interface, one cannot solely use bindings to
accomplish this w/o modeling the intermediary join table. The relationship
management is instead accomplished via code (through NSSets and so on as per
mmalc's example).
Is this correct thinking?
Thanks!
Peace, Love, and Light,
/s/ Jon C. Munson II
> -----Original Message-----
> From: cocoa-dev-bounces+jmunson=email@hidden [mailto:cocoa-dev-
> bounces+jmunson=email@hidden] On Behalf Of Jon C. Munson II
> Sent: Thursday, March 26, 2009 9:36 AM
> To: 'Melissa J. Turner'
> Cc: 'Cocoa Developers'
> Subject: RE: Implementing a many-to-many ("reflexive") relationship using
> bindings and an NSTableView
>
> [Jon C. Munson II] OK. Benjamin Stiglitz responded suggesting I take a
> look at the ToManyCheckbox example on mmalc's page, so I'll do that and
> see
> if that clarifies things. Also, I noticed in the iClass example that code
> is used to support the relationship and so on. Is that the recommended
> "template" implementation to support this type of relation?
>
> The purpose of the iClass example is to demonstrate how to construct and
> maintain relationships between objects in different persistent stores.
>
> Anything not required for that particular task is mostly an example of how
> to hack an example together in an afternoon under a deadline ;-)
>
> [Jon C. Munson II] Is there then a more discrete example that illustrates
> an
> interface such as I'm attempting to implement? If not, is there a way to
> request one?
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden