• 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: "Visible at Launch" again, with "least" example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Visible at Launch" again, with "least" example


  • Subject: Re: "Visible at Launch" again, with "least" example
  • From: Dale Jensen <email@hidden>
  • Date: Tue, 3 Jul 2007 19:47:41 -0500

On Jul 3, 2007, at 6:21 PM, Scott Anguish wrote:

On Jul 3, 2007, at 7:16 PM, Dale Jensen wrote:

From the "Document-Based Applications Overview", in the "Frequently Asked Questions chapter", in the section "How can I keep my application from creating an untitled document at launch?"

Sorry, I should have made it clearer.

I DO want the application to "create an untitled document at launch", 100% of the time.

I do NOT want the application to make said document window VISIBLE some of the time. I want to be able to make it visible manually later, but it needs to exist at launch, all of the time.


Uh.. That makes the question clearer.. but, like Bill, I can't grok the reason..


Why would you want to do this?? That might help give a more useful answer.

The NSDocument holds a webview that loads while the program loads. The instance where I want to not show the window is when the user needs to agree to a EULA. They can't have access to what's in the NSDocument window until they've followed through that process.


I can, I suppose, rewrite it to not open an untitled window on startup if they need to okay the EULA, then have the application open the untitled window once they're beyond that, but it seems a lot of extra code and potential failure points to correct a minor error in behaviour.


dale

--
a.d. jensen -- email@hidden   http://homepage.mac.com/adjensen/


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: "Visible at Launch" again, with "least" example
      • From: PGM <email@hidden>
References: 
 >"Visible at Launch" again, with "least" example (From: Dale Jensen <email@hidden>)
 >Re: "Visible at Launch" again, with "least" example (From: Scott Anguish <email@hidden>)
 >Re: "Visible at Launch" again, with "least" example (From: Dale Jensen <email@hidden>)
 >Re: "Visible at Launch" again, with "least" example (From: Scott Anguish <email@hidden>)

  • Prev by Date: RE: Cocoa and dead-code stripping
  • Next by Date: Re: Core Data and Document Packages
  • Previous by thread: Re: "Visible at Launch" again, with "least" example
  • Next by thread: Re: "Visible at Launch" again, with "least" example
  • Index(es):
    • Date
    • Thread