Re: Binding/KVO question
Re: Binding/KVO question
- Subject: Re: Binding/KVO question
- From: Keary Suska <email@hidden>
- Date: Wed, 3 Dec 2008 15:26:15 -0700
On Dec 3, 2008, at 2:35 PM, Jean-Nicolas Jolivet wrote:
In the same NIB file I have a second window with a custom view
inside (Let's call it MyCustomView, in MySecondWindow) is there a
way for MyCustomView to have properties that will be bound to my
AppController's propA, propB and propC so that MyCustomView is also
notified when those properties are changed?
Yes.
I am reading on Key-Value observing right now but it seems like if I
want to add an observer on my AppController's properties in my
CustomView's code I would need an instance to my AppController,
which I haven't!
Yes. Since they are in the same nib, why not set an outlet to
AppController?
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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