Binding selectable to-many relationship in IB
Binding selectable to-many relationship in IB
- Subject: Binding selectable to-many relationship in IB
- From: Aaron McFarlane <email@hidden>
- Date: Sun, 16 Sep 2007 20:15:24 -0500
Hello all,
First post - taking a stab at learning Core Data and Bindings (As
with all great learning processes - this one was spawned by me not
liking any of the invoicing software out there and choosing to roll
my own).
Some background on my scenario:
I have clients and services. A client has multiple services, and a
service can have multiple clients (I teach music - sometimes group
lessons). This is a many-to-many, inverse relationship, correct?
I have a tableview that shows the services. Each column represents a
property of my service entity. First question: How do I get IB to
show me the array of clients that correspond to a specific service?
Right now it's printing out an error in my table - my process is to
tell it simply to bind to the "clients" (to-many) relationship of the
selected service. Advice?
Secondly, I wanted to ask for advice as to the path of least
resistance to providing a UI to selecting multiple clients for a
service. I thought that a tokenfield would be nice, but it seems
complicated. My next thought was a tableview with checkboxes as a
column. I have no idea how to approach either of these ideas - any
advice on a similar situation would be greatly appreciated.
Thanks in advance for any advice you're able to offer me. All the best,
-Aaron
_______________________________________________
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