• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings - Preserving the Modal/Controller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Bindings - Preserving the Modal/Controller (From: Shalev NessAiver <email@hidden>)

  • Prev by Date: Re: Protocol variables
  • Next by Date: Re: What happened to my logging output ?!
  • Previous by thread: Bindings - Preserving the Modal/Controller
  • Next by thread: Re: Bindings - Preserving the Modal/Controller
  • Index(es):
    • Date
    • Thread