• 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: Cocoa Document-Based Applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Document-Based Applications


  • Subject: Re: Cocoa Document-Based Applications
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 20 May 2002 16:57:44 -0700

On Monday, May 20, 2002, at 04:46 PM, Morgan Grainger wrote:

> Hello all,
>
> When I go to create a new Cocoa document-based application,
> Project Builder automatically creates all the files, which is
> great. But when I build and run the new project, Project
> Builder creates a new window. It also does this when I click
> on the application icon in the dock and no other windows are
> open in the application. Where is the code where it is doing
> this and how do I stop it?

Implement

- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender

In your application delegate.

-jcr


John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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: 
 >Cocoa Document-Based Applications (From: Morgan Grainger <email@hidden>)

  • Prev by Date: Cocoa Document-Based Applications
  • Next by Date: Re: cocoa-dev digest, Vol 2 #665 - 14 msgs
  • Previous by thread: Cocoa Document-Based Applications
  • Next by thread: Re: Cocoa Document-Based Applications
  • Index(es):
    • Date
    • Thread