• 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
Re: forcing custom behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forcing custom behavior


  • Subject: Re: forcing custom behavior
  • From: email@hidden
  • Date: Sat, 23 Feb 2002 12:40:50 -0800

By default an NSDocument application will always create a new document.
I don't want that to happen (I have additional custom loading to do
after, plus I want to display a "starting point" window in the
beginning).

What should I edit to prevent the creation of a new document?

This came over the list just a few days ago. See the NSApplication doc, under the delegate methods applicationShouldOpenUntitledFile: and applicationShouldHandleReopen:hasVisibleWindows:.

Ben Haller
Stick Software
_______________________________________________
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: Re: Programming NSImageView
  • Next by Date: Re: Changing the default color in an NSTextView?
  • Previous by thread: forcing custom behavior
  • Next by thread: Cocoa database info
  • Index(es):
    • Date
    • Thread