Re: Starting a Document based application without a document
Re: Starting a Document based application without a document
- Subject: Re: Starting a Document based application without a document
- From: Joel Norvell <email@hidden>
- Date: Fri, 27 Oct 2006 14:50:55 -0700 (PDT)
As Hank Heijink said, the Documents FAQ: "How can I keep my application from
creating an untitled document at launch?" points toward the solution.
http://developer.apple.com/documentation/Cocoa/Conceptual/Documents/Tasks/FAQ.html
But since Xcode's "Cocoa Document-based Application" doesn't create a suitable
delegate for NSApplication, you'll have to do this with IB.
When I was recently implementing this, I used Mark Ericksen's very clear recipe
from 2001 to do that:
Re: [NSApp setDelegate]
http://www.cocoabuilder.com/archive/message/cocoa/2001/6/5/40691
HTH,
Joel
____________________________________________________________________________________
We have the perfect Group for you. Check out the handy changes to Yahoo! Groups
(http://groups.yahoo.com)
_______________________________________________
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