Re: Issue about cocoa Multi-document template
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