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.
| 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 )
- key (NSString)
- A string that specifies the identifier of the animation.
The animation object matching the identifier, or nil if no such animation exists.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)