MonobjcMonobjc Documented Class Library
AnimationForKey Method (key)

Returns the animation that should be performed for the specified key. (required)

Original signature is '- (id)animationForKey:(NSString *)key'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id AnimationForKey(
	NSString key
Public Overridable Function AnimationForKey ( _
	key As NSString _
) As Id
virtual Id^ AnimationForKey(
	NSString^ key
key (NSString)
The action name or property specified as a string.
Return Value
The animation to perform. A subclass of CAAnimation.
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)