Subclassing NSDocumentController
Subclassing NSDocumentController
- Subject: Subclassing NSDocumentController
- From: Georg Tuparev <email@hidden>
- Date: Wed, 16 Oct 2002 08:40:36 +0200
Folks,
The documentation claims:
"2. Create an instance of your subclass in
applicationWillFinishLauching:
The application will not ask for its shared document controller until
after the applicationWillFinishLaunching: message is sent to its
delegate. Therefore, you can create an instance of your sub-class of
NSDocumentController in your application delegate's
applicationWillFinishLaunching: method and that instance will be set as
the shared document controller."
My reading of this is that I need just to instantiate my
NSDocumentController subclass in applicationWillFinishLaunching: and
the sharedDocumentController will return this instance. This seams not
to be the case (an instance of NSDocumentController is returned
instead). What am I missing?
tia
P.S. For Apple tech writers: the heading of the paragraph quoted above
has a typo ;-)
-- georg --
"More Trees, less Bushes!"
_______________________________________________
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.