Title: Theory / Important / CS / Programming / Objective-C / Documentation / MVC
On every note of this deck, unless a note says otherwise:
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Model-View-Controller/Model-View-Controller.html
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Model-View-Controller/Model-View-Controller.html

Name: Model-view-controller
Variables: Cl a class
Context: Objective C
Abbreviation: MVC

Name: A model object
Definition: An object that holds data and logic that manipulate it
Context: MVC

Question: Where should persistent data (file or database) should reside in MVC
Answer: Model
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Model-View-Controller/Model-View-Controller.html
Context: MVC

Name: A view object
Definition: An object that knows how to display data and may allow the user to edit it
Context: MVC

Question: How many model can the view display
Answer: Arbitrary number
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Model-View-Controller/Model-View-Controller.html
Context: MVC

Question: When can the view object store data
Answer: to cache it or other performance trick
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Model-View-Controller/Model-View-Controller.html
Context: MVC

Name: A controller object
Definition: The intermediary between the application's view object and its model objects
Context: MVC

Name: A view controller
Definition: An object that is both a view object and a controller object
Context: MVC

Name: A model controller
Definition: An object that is both a model object and a controller object
Context: MVC

Question: The kinds of controllers in Cocoa
Answer: Mediating controllers
Page: https://developer.apple.com/library/archive/documentation/General/Conceptual/CocoaEncyclopedia/Model-View-Controller/Model-View-Controller.html
Context: MVC
Answer2: Coordinating controllers

Name: A mediating controller
Definition: mediate the flow of data between view objects and model objects.
Context: MVC
Extra: an object that inherits from the NSControllerclass

Typ: NSController
Meaning: Base class of mediating controller
Language: Objective-C
Context: MVC

Typ: NSObjectController
Meaning: Mediating controller for objects
Language: Objective-C
Context: MVC

Typ: NSTreeController
Meaning: Mediating controller for tree
Language: Objective-C
Context: MVC

Typ: NSArrayController
Meaning: Mediating controller for array
Language: Objective-C
Context: MVC

Typ: NSUserDefaultsController
Meaning: Mediating controller for user defaults
Language: Objective-C
Context: MVC

Name: A coordinating controller
Definition: A controller in charge of coordinating the functioning of a part of the application.
Context: MVC
Example: Responds to delegation messages and observing notifications
Example2: Responding to action message
Example3: Managing the life cycle of owned objects (for example, releasing them at the proper time)
Example4: Establishing connections between objects and performing other set-up tasks