Returns the animation added to the receiver with the specified identifier.
Original signature is '- (CAAnimation *)animationForKey:(NSString *)key'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual CAAnimation AnimationForKey( NSString key )
Public Overridable Function AnimationForKey ( _ key As NSString _ ) As CAAnimation
public: virtual CAAnimation^ AnimationForKey( NSString^ key )
Parameters
- key (NSString)
- A string that specifies the identifier of the animation.
Return Value
The animation object matching the identifier, or nil if no such animation exists.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)