Refreshing Cocoa Bindings
Refreshing Cocoa Bindings
- Subject: Refreshing Cocoa Bindings
- From: Daryle Walker <email@hidden>
- Date: Wed, 11 Jan 2017 16:16:07 -0500
I'm going to store a reference to a model in a NSViewController's representedObject field. The various contained views will reference that field through KVO (Is that possible?) for their bound values. If I change the value of the represented object (what it points to, not any attributes within), will the views automatically track to the new object? Or do I have to use a explicit method to let them know (i.e. clear their caches)?
Sent from my iPhone
_______________________________________________
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