• 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
Problem with displaying drawer in doc-based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with displaying drawer in doc-based app


  • Subject: Problem with displaying drawer in doc-based app
  • From: Mike Abdullah <email@hidden>
  • Date: Sat, 8 Apr 2006 18:59:54 +0100

I've made a document based app with a drawer attached to the document window. Whether the drawer is open or not is remembered each time the app is run.

So, in the windowControllerDidLoadNib method I load the drawers state from the defaults and set it appropriately. The problem is that when I do this, the drawer appears on its own just before the window actually appears. Once the window is shown, the drawer "jumps" to be attached to its window.

I've looked though the various docs and I can't seem to find a more appropriate method to place the drawer loading behaviour in. NSDocument doesn't seem to supply anything else, and I can't see any suitable notifications in NSWindow.

Thanks,
Mike.
_______________________________________________
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: Problem with displaying drawer in doc-based app
      • From: Uli Kusterer <email@hidden>
    • Re: Problem with displaying drawer in doc-based app
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: cocoa scripting
  • Next by Date: Re: Altering CoreData generated view/controls
  • Previous by thread: Re: cocoa scripting
  • Next by thread: Re: Problem with displaying drawer in doc-based app
  • Index(es):
    • Date
    • Thread