• 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: Document-based application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document-based application


  • Subject: Re: Document-based application
  • From: "Mark Williams" <email@hidden>
  • Date: Thu, 06 Oct 2005 15:03:37 -0400
  • Bounce-to: "Mark Williams" <email@hidden>

- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
Put that in your main controller I beleive, and then return NO
so :
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
     return NO;
}

and that should fix you up

On 10/6/2005, "Eric PETIT" <email@hidden> wrote:

>I begin programming in Cocoa.
>I build a Cocoa Document-based application and I don't want that a
>document opens automatically with launching.
>What must I make ?
>Thanks
>
>E. PETIT
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Cocoa-dev mailing list      (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Document-based application (From: Eric PETIT <email@hidden>)

  • Prev by Date: Re: CoreData - sqlite - statement is still active
  • Next by Date: Re: Printing multiple pages from drawRect:
  • Previous by thread: Re: Document-based application
  • Next by thread: Undo / Redo
  • Index(es):
    • Date
    • Thread