Pref panes and NSDocuments
Pref panes and NSDocuments
- Subject: Pref panes and NSDocuments
- From: John Scalo <email@hidden>
- Date: Fri, 07 Mar 2003 21:42:41 -0800
Can an NSPreferencePane use a document architecture? For the life of me I
can't get
[[NSDocumentController sharedDocumentController]
openUntitledDocumentOfType:@"SearchDocument" display: YES];
to do anything from my pref pane.
The doc type in the plist has the right name and document class, the nib is
connected to the window and the owner set to the document class, and
windowNibName is set to return the name of the nib. But windowNibName never
gets called.
So, I'm starting to think that this is only possible from an app. True?
_______________________________________________
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.