• 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
Basic Q: Where is the best place to open a drawer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic Q: Where is the best place to open a drawer?


  • Subject: Basic Q: Where is the best place to open a drawer?
  • From: Rick Mann <email@hidden>
  • Date: Mon, 19 Jul 2010 13:33:52 -0700

I have a basic NSDocument-based app with no window controllers. When the document's single window opens (as a result of a New or Open command), I want to open a drawer attached to it. But I don't immediately see in NSDocument how to know that the window has just opened. Where might be a good place to put a call to -[NSDrawer open]?

Do I need to subscribe to a window shown notification of some kind?

TIA,
Rick

_______________________________________________

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: Basic Q: Where is the best place to open a drawer?
      • From: Quincey Morris <email@hidden>
    • Re: Basic Q: Where is the best place to open a drawer?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: First Responder
  • Next by Date: Re: Basic Q: Where is the best place to open a drawer?
  • Previous by thread: First Responder
  • Next by thread: Re: Basic Q: Where is the best place to open a drawer?
  • Index(es):
    • Date
    • Thread