Re: Controller Layer Question
Re: Controller Layer Question
- Subject: Re: Controller Layer Question
- From: Scott Anguish <email@hidden>
- Date: Thu, 4 Dec 2003 01:06:20 -0500
On Dec 4, 2003, at 12:20 AM, James Hillhouse wrote:
hey all:
Since the O'Reilly Mac Dev conference, I've been playing around with
the new Controller Layer in IB that James Davidson pointed out to me.
It's a nice step on Apple's part to try to automate the controllers
and make mvc easier to implement. However, it seems that there is a
discrepancy between the Controller Layer documentation that comes with
Panther and the online
(http://developer.apple.com/documentation/cocoa/conceptual/
ControllerLayer/index.html). Specifically, it seems that in the older,
included documentation (Revised in August 2003) there was a section on
"Target-Argument Binding" that is missing on the latest version. And
target-argument binding is also missing from IB. Too bad.
The documentation for the Controller Layer was updated after the CDs
for Panther were shipped.
In most cases there is no need to distinguish old vs new as clearly as
it was. There is no need to update, or even change, your code to use
the controller layer. That wasn't clear in the original docs, and that
was fixed.
So what's up with this? Is Apple planning on rolling out
target-argument binding in the near future or not? Or was it melding
in somewhere else. Because, without target-argument binding, the
controller layer is a nice curiosity, but little more.
Target-Argument binding is present on the controls that support it,
but not all do. NSButton does as an obvious example. Drag one into a
window, select it and bring up the Bindings inspector.
There is nothing preventing you from using the traditional
target/action on controls that don't support it.
Incidently, I would strongly disagree though that the target-argument
binding functionality is that significant as to make the Controller
Layer only a curiosity if it was missing.
And since it's not, it's moot anyways.. :-)
BTW.. this is likely more appropriate for cocoa-dev if you subscribe
there...
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.