What is the relationship between NSDocumentController and application delegate?

I am trying to understand the structure of a document based Cocoa application. I understand that the application delegate responds to events from the application (hence its name) and that the document controller manages all documents, opens and saves, etc. What I don't understand is the relationship between the document controller and the application delegate, and possibly the rest of the application.

I am researching this image found here .

enter image description here

The arrow appears to indicate some kind of connection between the application delegate and the document controller.

What kind of connection do they have?

Edit: I understand that this is a very academic question and may not be as necessary, but I want to understand why this is the way it is.

+3
cocoa appdelegate document-based nsdocumentcontroller


source to share


No one has answered this question yet

Check out similar questions:

1264
How to check an active internet connection on iOS or macOS?
1132
Xcode - How to fix "NSUnknownKeyException" Reason:… this class does not match the key value encoding the error "X"?
661
How do I create delegates in Objective-C?
224
iOS - Calling Application Delegation Method from ViewController
7
Cocoa Programming, Delegate Installation
3
NSDocumentController newDocument:
3
Is the delegate similar to the mvc controller?
1
Cocoa docs app, what is App Controller?
0
Applying an Application Delegate
0
Cocoa / Core Data - Access to App Delegate and managedObjectContext



All Articles
Loading...
X
Show
Funny
Dev
Pics