AppleCAAnimation - UBogun/Xojo-iosLib GitHub Wiki
Inherits from AppleObject
Status: Partially completed
Missing: SceneKit methods missing .
Memoryleak test: Failed!! Memory gets released but not fully. Anyway, you will usually create a subclass! Just creating animations without using them is a sure way to crash the system.
This is an implementation of CAAnimation, a base class for animation features on layers. You will usually not call this class but one if its subclasses.
Constructors
Constructor (): Creates a new CAAnimation.
Constructor (anId as Ptr): Used for retrieving an animation from the system.
Properties
RemoveOnCompletion As Boolean: If true, the animation gets removed from the target layer upon completion. Default is true.
TimingFunction As AppleCAMediaTimingFunction: An optional Timing curve you can add.
Methods
ShouldArchiveValueForKey (Key As CFStringRef) As Boolean: If true, the property is archived. Default is true.
Shared Methods
DefaultValueForKey (Key As CFStringRef) As AppleObject: Returns the default value for a certain key retrieved from the subclasses' Constants.
Events
AnimationDidStart(): Fires when the animation starts.
AnimationDidEnd (Finished As Boolean): Fires when the animation ended. Finished tells you if it ended with the expected end or if it was interrupted.