• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Pref panes and NSDocuments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Distributed Objects and IP Addresses
  • Next by Date: Re: Cocoa friendly Quicktime APIs?
  • Previous by thread: Re: Distributed Objects and IP Addresses
  • Next by thread: Font Panel usage question
  • Index(es):
    • Date
    • Thread