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
animations:updateClocks
completion:nil];
I want to use the same function in mac os for animation. So how can I use this function with given parameters for mac os x?