Re: Cocoa bindings one- or bi-directional
Re: Cocoa bindings one- or bi-directional
- Subject: Re: Cocoa bindings one- or bi-directional
- From: Scott Anguish <email@hidden>
- Date: Fri, 27 May 2005 05:50:09 -0400
On May 27, 2005, at 5:45 AM, Gwynne wrote:
Controllers implement the NSEditor/NSEditorRegistration
protocols. That means that they correctly handle the cases when
documents revert, or save, and forward the correct notifications
to the model/view items when that happens. This way models get
any uncommitted edits, and can handle them appropriately.
Apple doesn't endorse or recommend connecting UI to model
directly, nor model<->model bindings
And yet, the Tiger version of IB lets you do exactly that far more
easily than before. What does this tell us?
That it's isn't something that iB can identify.
you can have a legitimate controller object that is not a
subclass of NSController, provided that you implement the appropriate
methods. IB now allows for you to treat more than just the obvious
controller classes as controllers.
As I said above, "Apple doesn't endorse or recommend connecting
UI to model directly, nor model<->model bindings". This is the
case. I'd post it from my @apple account, but I prefer to keep that
spam free.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden