AnimationBasic
public class AnimationBasic : NSObject
The abstract superclass for animations in Argo Animation. You do not create instance of CAAnimation: to animate UIKit view or ArgoKit objects, create instances of the concrete subclasses Animation, SpringAnimation, or AnimationGroup.
-
Sets a Boolean value that controls whether this animation is removed from the presentation when the animation is completed.
Declaration
Swift
@discardableResult public func resetOnStop(_ reset: Bool) -> Self
Parameters
reset
A Boolean value that controls whether this animation is removed from the presentation when the animation is completed.
Return Value
Self
-
Set the order of animations.
- serial: A Boolean value that controls whether the animation is serial executed. Only works when there are multiple animations.
Declaration
Swift
@discardableResult public func serial(_ serial: Bool) -> Self
Return Value
Self
-
Attachs this animation to specified view.
Declaration
Swift
@discardableResult public func attach(_ view: View) -> Self
Parameters
view
The view that attachs this animation.
Return Value
self