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

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

  • Prev by Date: Re: Best practice question
  • Next by Date: Small NSTableView
  • Previous by thread: Re: Starting a Document based application without a document
  • Next by thread: NSImages rendered at runtime and resolution independent UI...
  • Index(es):
    • Date
    • Thread