Re: What is contentObject used for?
Re: What is contentObject used for?
- Subject: Re: What is contentObject used for?
- From: Bob Ueland <email@hidden>
- Date: Sun, 7 Oct 2007 10:20:32 -0700 (PDT)
mmalc wrote
So if you have a document with an instance variable 'mainObject' and you bind an object controller's contentObject to [Document].mainObject, then if you set a new object for mainObject, the controller's content will be automatically updated to be this new object (contrast the non-bindings situation where you would have to send a setContent: message
yourself).
Thanks, this make it very clear. I think my main difficulty was that I was not seeing the situation where the content object dynamically changed.
Bob
____________________________________________________________________________________
Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
_______________________________________________
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