• 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
NSDrawer: animation rate on open/close
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDrawer: animation rate on open/close


  • Subject: NSDrawer: animation rate on open/close
  • From: email@hidden
  • Date: Mon, 9 Sep 2002 17:04:36 -0700

Does anyone know of an easy way to control the animation rate when an NSDrawer is opened or closed? I know this can be done with an NSWindow when it is resized by overriding NSWindowResizeTime (or by simply changing the user default), but there doesn't seem to be direct API for this with NSDrawer.

What I'm doing:
I have a drawer in my app that contains "advanced" controls relevant to a selected category in my main window. When a user selects different categories, the controls in the drawer may change and I currently resize the drawer when this happens. For the purpose of "fluidness" I'd like to actually close the drawer before resizing (if it's open) and then open it again (if it was previously opened) rather than getting the sort of "flash" behavior I currently get when resetting the drawer's content view and resizing according to the content frame.

Now... if this sounds like a horrible violation of HIG or you have a suggestion of another "slick" way to handle this... please share!

Thanks much,
- Eric Hanson
Incarna LLC
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: (newbie)RE: Book- Building cocoa applications..
  • Next by Date: Re: [newbie] Font attributes in NSTextView
  • Previous by thread: Re: Build Errors
  • Next by thread: [Q] Animating (split) views
  • Index(es):
    • Date
    • Thread