Questions tagged [nsviewanimation]

The NSViewAnimation class, a public subclass of NSAnimation, offers a convenient way to animate multiple views and windows. The animation effects you can achieve are limited to changes in frame location and size, and to fade-in and fade-out effects.

17 questions
0
votes
1 answer

Shake animation of NSView

I am trying to implement a shaking NSView in my macOS app. I tried following the example/tutorial from here, but I am not having much success. I am attempting to not only shake the view left to right, but also up and down, and with a 2 degree…
SouthernYankee65
  • 1,129
  • 10
  • 22
0
votes
1 answer

Using NSViewAnimation to continuously animate frameRotation

I'm trying to figure out the right way to continuously animate the frameRotation of a layer-backed NSView. In particular, I'm basically trying to re-create how the new Launchpad animates when you click and hold an icon. The event handling isn't the…
Alec Sloman
  • 287
  • 1
  • 9
1
2