Returns an NSAnimation object initialized with the specified duration and animation-curve values.
Original signature is '- (id)initWithDuration:(NSTimeInterval)duration animationCurve:(NSAnimationCurve)animationCurve'
Available in Mac OS X v10.4 and later.
- duration (Double)
- The number of seconds over which the animation occurs. Specifying a negative number raises an exception.
- animationCurve (NSAnimationCurve)
- An NSAnimationCurve constant that describes the relative speed of the animation over its course; if it is zero, the default curve (NSAnimationEaseInOut) is used.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)