Creates and returns an CAPropertyAnimation instance for the specified key path.
Original signature is '+ (id)animationWithKeyPath:(NSString *)keyPath'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static CAPropertyAnimation AnimationWithKeyPath( NSString keyPath )
Public Shared Function AnimationWithKeyPath ( _ keyPath As NSString _ ) As CAPropertyAnimation
public: static CAPropertyAnimation^ AnimationWithKeyPath( NSString^ keyPath )
Parameters
- keyPath (NSString)
- The key path of the property to be animated.
Return Value
A new instance of CAPropertyAnimation with the key path set to keyPath.
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)