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: Benjamin Stiglitz <email@hidden>
- Date: Wed, 25 Mar 2009 14:26:27 -0400
- Mail-followup-to: email@hidden
>
> For the sake of this discussion, here's a sample entity layout:
>
> Two entities, one named A, the other named B. A and B have a reflexive
> relationship with each other (that would be a many-to-many type). The
> backend is a SQLite store (not that it should matter).
>
> I'd like my interface to be based from entity A's point of view, using an
> NSTableView to select (via popup) the entity B's that are related
> (populating the popup with values is not at issue).
>
> My issue comes in with how to set the bindings to support the relationship.
Take a look at Malcom Crawford’s very handy page of bindings examples:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
ToManyCheckbox is probably most interesting to you.
-Ben
_______________________________________________
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