• 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: How to stop initial window ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to stop initial window ?


  • Subject: Re: How to stop initial window ?
  • From: Paul Mix <email@hidden>
  • Date: Mon, 9 Jul 2001 09:47:34 -0500

At 8:48 PM -1000 7/6/01, Carlos Weber wrote:
On Friday, July 6, 2001, at 01:12 PM, Finlay Dobbie wrote:

On Friday, July 6, 2001, at 08:07 pm, Robert Miller wrote:

I'm new to Cocoa and I'm working on a document based application
starting from the basic editor application supplied with Apple's Cocoa
Dev. seminar. This is probably a basic question but here goes. When I
launch the application it automatically opens an empty window. I don't
want it to do that, so how do I stop that behavior ? I haven't beena
able to find anything in NSDocument or NSApplication relating to this.
Any help is greatly appreciated.

Having said that, there is probably a way of overriding the default
show, but hey, i'll let someone else tackle that (it's too late here).

- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender

Just out of curiosity, how does this relate to the "Visible at launch time" switch in IB's Attributes window Info-pane?

- Paul M


  • Follow-Ups:
    • Re: How to stop initial window ?
      • From: Curtis Laser <email@hidden>
References: 
 >Re: How to stop initial window ? (From: Carlos Weber <email@hidden>)

  • Prev by Date: Title bar for Sheets
  • Next by Date: Re: C code in Object-C?
  • Previous by thread: Re: How to stop initial window ?
  • Next by thread: Re: How to stop initial window ?
  • Index(es):
    • Date
    • Thread