Returns the shared
- macOS 10.0+
NSDocument instance doesn’t exist yet, it is created.
Initialization reads in the document types from the
CFBundle property list (in
Info), registers the instance for
wills, and turns on the flag indicating that document user interfaces should be visible. You should always obtain your application’s
NSDocument using this method.