Re: NSEditor, NSEditorRegistration Protocols
Re: NSEditor, NSEditorRegistration Protocols
- Subject: Re: NSEditor, NSEditorRegistration Protocols
- From: Dustin Voss <email@hidden>
- Date: Mon, 8 Mar 2004 03:49:18 -0800
On 2 Mar, 2004, at 10:46 PM, Dustin Voss wrote:
Your view's bind:toObject:withKeyPath:options: method will be called
to set up the binding. You'll get an object and a key path. They are
the model, as far as your view is concerned. They could be a genuine
model object, or something exposed by a controller.
Your view will need to observe the key path to know if the model
changes. When your view wants to make a change, it should call
setValue:forKey: on the model object.
A correction, in case anybody is relying on this e-mail:
"...it should call setValue:forKeyPath: on the model object."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.