• 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: Previous subject matter...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Previous subject matter...


  • Subject: Re: Previous subject matter...
  • From: Mark T <email@hidden>
  • Date: Sun, 17 Mar 2002 12:56:53 -0500

> Would someone please direct me to the previous thread
> about how to override whether an application opens a
> document on startup or not?
>
> I remember it being recent, but I searched the
> archives and wasn't able to find the subject.
>
> Thanks for any help!
>
> -Josh Morris
> email@hidden


In your NSApplication delegate class:

- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
return NO;
}

Hope that helps,
Mark T.
_______________________________________________
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.

References: 
 >Previous subject matter... (From: Kigney <email@hidden>)

  • Prev by Date: Re: How to use a subclass of NSTextView inside a NSScrollView?
  • Next by Date: Re: NSStepper strangeness
  • Previous by thread: Previous subject matter...
  • Next by thread: Re: Some good docs viewer?
  • Index(es):
    • Date
    • Thread