RE: Nested binding question
RE: Nested binding question
- Subject: RE: Nested binding question
- From: "Kevin Hoffman" <email@hidden>
- Date: Tue, 4 Sep 2007 13:52:59 -0400
- Thread-topic: Nested binding question
Ok, so, the information below is quite incorrect. NSCollectionView ...
pfft. no idea where I got the name of that class!!
So, theoretically, were someone to try and do this kind of nested
binding today using Tiger, how would they go about doing it?
-----Original Message-----
From: cocoa-dev-bounces+khoffman=email@hidden
[mailto:cocoa-dev-bounces+khoffman=email@hidden] On
Behalf Of Kevin Hoffman
Sent: Tuesday, September 04, 2007 1:35 PM
To: email@hidden
Subject: Nested binding question
Ok, so I have a class that I've written (not Core Data...) called Order,
which has a property called orderItems which is an NSMutableArray of
OrderItem instances.
What I've done is I've created an NSCollectionView and dropped the a
custom view into it. In this view I have a label that I want bound to
the description of the order.
Within this view, I also have a Table View, which I want bound to the
orderItems NSMutableArray that is on the parent Order object.
Can someone walk me through the steps to rig up this binding in
Interface Builder and/or code? Every attempt I've made has come _close_,
but the end results are always as though someone on drugs rigged up my
bindings.
Any help is much appreciated!! Thanks!
p.s. I have an array controller (Orders Controller) that I am/was using
for the root bindings.
_______________________________________________
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:
m
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