Re: Bindings - Preserving the Modal/Controller
Re: Bindings - Preserving the Modal/Controller
- Subject: Re: Bindings - Preserving the Modal/Controller
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 27 Jul 2004 19:16:43 -0700
On Jul 27, 2004, at 6:56 PM, Shalev NessAiver wrote:
to fully preserve the Modal/View/Controller I want my modal class
(which stores all the data) to be fully independent of the controller
class. As far as I know though, the bindings have to be linked to the
Controller class, which then passes on the data to the Modal class. It
would seem that I would also need to define data structures within my
Controller class as well. Otherwise, the bindings can not access the
data.
Umm, no, bindings access the model objects through the controller using
key paths.
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/>
->
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Concepts/WhatAreBindings.html>
and
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/Concepts/HowDoBindingsWork.html>
and
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueCoding/index.html>
mmalc
_______________________________________________
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.