• 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
Using NSDocument w/o always displaying the document window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NSDocument w/o always displaying the document window


  • Subject: Using NSDocument w/o always displaying the document window
  • From: "William E. Jens" <email@hidden>
  • Date: Fri, 21 Sep 2007 16:10:34 -0500
  • Thread-topic: Using NSDocument w/o always displaying the document window

I'm trying to build a document based Cocoa app, but I don't always want
to show my document window. My documents are more like command files.
They're created elsewhere and my app opens them and then depending on
the content either allows updates (shows the window) or just processes
the commands (no document window, just dialogs, or maybe I need
alternate document windows).

I haven't figured out how to not show the main document window. Is this
even possible in an NSDocument based app, or do I need to take another
approach? I'd prefer to stay document based if possible. Creating
different document types (.xyz vs. .abc) isn't an option.

Thanks for any tips,
William


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using NSDocument w/o always displaying the document window
      • From: PGM <email@hidden>
  • Prev by Date: Re: really weird move file problem - copy fails also, more datapoints
  • Next by Date: creating classes on the fly ??
  • Previous by thread: Re: really weird move file problem
  • Next by thread: Re: Using NSDocument w/o always displaying the document window
  • Index(es):
    • Date
    • Thread