• 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: Issue about cocoa Multi-document template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue about cocoa Multi-document template


  • Subject: Re: Issue about cocoa Multi-document template
  • From: "Doug Knowles" <email@hidden>
  • Date: Sun, 2 Mar 2008 10:29:28 -0500

You want to create an application delegate, and implement
applicationShouldOpenUntitledFile: in the delegate.
The application delegate can be an instance of any class.  I find it easiest
to create an instance of NSObject in Interface Builder, set its class to my
delegate class, and bind it the the application's delegate object,

Hope this helps.

Doug K;

On Sun, Mar 2, 2008 at 12:04 PM, Scott.D.R <email@hidden>
wrote:

> Hi everyone.
> I want to start an application with the cocoa multi-document template.
> The default behavior of the application is when you launch it, a blank
> window is automatically open.
>
> This behavior is not that I want. I thought the application should not
> open any window until users explicit open file command arrived.
>
> So, is there any way to disable the application to open the window
> when launched? Thank you for any help.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Issue about cocoa Multi-document template (From: "Scott.D.R" <email@hidden>)

  • Prev by Date: Re: Bypassing inter-cell navigation for NSButtonCell in NSOutlineView
  • Next by Date: Bypassing inter-cell navigation for NSButtonCell in NSOutlineView
  • Previous by thread: Issue about cocoa Multi-document template
  • Next by thread: Re: Issue about cocoa Multi-document template
  • Index(es):
    • Date
    • Thread