Re: What is contentObject used for?
Re: What is contentObject used for?
- Subject: Re: What is contentObject used for?
- From: Jason Wiggins <email@hidden>
- Date: Mon, 8 Oct 2007 11:18:26 +1000
Firstly, apologies to Bob for co-opting his question. Secondly, thank
you to all for clearing up my understanding of bindings and the use of
them.
Regards,
Jason
On 08/10/2007, at 3:20 AM, Bob Ueland wrote:
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
_______________________________________________
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