• 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
Animating window content border
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Animating window content border


  • Subject: Animating window content border
  • From: Quincey Morris <email@hidden>
  • Date: Sun, 13 Mar 2011 15:00:09 -0700

I don't seem to be able to find a way of animating a window's bottom edge content border size ('contentBorderThicknessForEdge:') when resizing a window.

Specifically, I have a window with a normal bottom border of (say) 20 points. I want to increase the window height by (say) 30 points, and at the same time increase the bottom border by the same amount. The catch is that I would like both these changes to animate smoothly.

I thought -[NSWindow setFrame:display:YES animate:YES] would allow me to change the bottom border in delegate method 'window:willResize:toSize:', but that doesn't get called during the animation. I don't think I can use [window animator] to do it, because it's not a KVC compliant property I'm changing.

Am I missing an obvious way of getting the border animation effect?


_______________________________________________

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

  • Prev by Date: Re: Core Data Intermittently Blocked Over AFP? (Steve Steinitz)
  • Next by Date: Re: Assertion failure in -[MPMoviePlayerControllerNew _moviePlayerDidBecomeActiveNotification:]
  • Previous by thread: Re: Core Data Intermittently Blocked Over AFP? (Steve Steinitz)
  • Next by thread: SDK 10.6 with Target 10.5
  • Index(es):
    • Date
    • Thread