• 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
Implementing a welcome window in document based apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Implementing a welcome window in document based apps?


  • Subject: Implementing a welcome window in document based apps?
  • From: Colin Cornaby <email@hidden>
  • Date: Mon, 17 Oct 2005 00:43:13 -0700

I have a lobby style window that pops up when my application launches (like a welcome window with options) in my document based app. The window is part of my application's main nib, and is set to be visible at launch time. This works fine, it shows up when the application starts and the application seems to automatically not create a new document at run time.

I'd like to be able to bind "Visible at launch time" to NSUserDefaults in order to allow the user to tell my application to no longer show that window on startup. I can't directly bind to it, so I was looking for a way progmatically set it on the fly. But I can't find anything in NSWindow that lets me set this property or subclass to override this property. I'm assuming Apple hasn't made a way to set that on the fly because it's under normal circumstances the window would wake and show before you could possibly set this property. Is there any way to achieve what I'm trying to do? I'm trying to keep the code nice and clean and let the document based application do as much of the work as possible.

Sorry if this has been posted before. Without a good place to search the archives I wasn't able to see if someone had already posted this.

If I'm going at this the wrong way and there are better ways to implement a welcome window in a document based app please let me know.

-Colin
_______________________________________________
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


  • Follow-Ups:
    • Re: Implementing a welcome window in document based apps?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: how to get application starts automatically
  • Next by Date: Re: Adding controls to an opengl fullscreen window
  • Previous by thread: Re: how to get application starts automatically
  • Next by thread: Re: Implementing a welcome window in document based apps?
  • Index(es):
    • Date
    • Thread