Questions tagged [nsanimation]

Objects of the NSAnimation class manage the timing and progress of animations in the user interface. The class also lets you link together multiple animations so that when one animation ends another one starts. It does not provide any drawing support for animation and does not directly deal with views, targets, or actions.

22 questions
0
votes
1 answer

Animate Transition in objective c

How to give animation to NSView? The function which is used for animation in ios is as below. [UIView animateWithDuration: duration delay:0.0 options:curve …
Pankaj Mundra
  • 1,401
  • 9
  • 25
0
votes
1 answer

Animation of menuitem's view appear flash

flash animation I set a CalendarViewController's view as menuitem.view, when touch the bottom of menuitem.view, menuitem.view will begin animate, but i found the animation appears flashing. What can i do that make the animation become more smooth. -…
0
votes
1 answer

Move an NSView from outside view with autolayout using NSAnimation

I am using auto-layout in my project and have a 'detailed view' slide over the 'tile view' upon a button press. The 'tile view' is aligned to the top, bottom, left and right. The 'detailed view' is aligned to centre x,y and equal width/height. I…
0
votes
1 answer

Proper way to label an NSAnimation for sorting animationDidEnd: messages

My question is pretty straightforward : I have a class which is the delegate of several NSAnimations and I will need to give a name/identifier to my NSAnimation so that the sorting of all the -(void)animationDidEnd:(NSAnimation *)animation messages…
Bertrand Caron
  • 2,525
  • 2
  • 22
  • 49
0
votes
1 answer

Slide in NSImage from Offscreen

I've just started playing with NSAnimation and Core Animation, but I can't seem to animate a NSImage sliding in from offscreen (I also can't get a rotating animation to work, but that's a different question). When I initialize the NSImageView (with…
agg23
  • 81
  • 2
  • 11
0
votes
1 answer

Animate NSSplitview and window size

What I'm trying to achieve is that when the user press a button the window grows and the extra space is taken by a panel of NSSplitview that uncollapses and grows to fill the space. I can easily animate the window resize and the splitview growing…
Jacopo
  • 1,031
  • 2
  • 12
  • 25
0
votes
1 answer

Mac NSView animation animationDidEnd called twice on Retina MBP

A bug recently showed up in my app related to view animation on the new MBP Retina. I don't have a new MPB to reproduce but the affected user is helping track down the issue through copious amounts of debugging output. It appears that…
greg
  • 1,926
  • 17
  • 26
1
2