StandardAnimation
public struct StandardAnimation: Animation
A wrapper around the standard UIViewAnimation block with options publicly accessible. See, UIViewAnimation for more
- Note: animationOptions defaults to .curveEaseOut. If you do not update this value before calling the animate method than the changes will not be reflected.
-
A wrapper around the standard
UIViewAnimationblock with options publicly accessible. See, UIViewAnimation for more - Note:animationOptionsdefaults to.curveEaseOut. If you do not update this value before calling the animate method than the changes will not be reflected.Declaration
Swift
public var changeFunction: ChangeFunction? -
Undocumented
Declaration
Swift
public struct StandardAnimation: Animation -
Undocumented
Declaration
Swift
public struct StandardAnimation: Animation -
Undocumented
Declaration
Swift
public struct StandardAnimation: Animation -
Undocumented
Declaration
Swift
public struct StandardAnimation: Animation -
A wrapper around the standard
UIViewAnimationblock with options publicly accessible. See, UIViewAnimation for more - Note:animationOptionsdefaults to.curveEaseOut. If you do not update this value before calling the animate method than the changes will not be reflected.Declaration
Swift
public func animate(delay: TimeInterval, view: UIView, completion: CompletionHandler?)Parameters
delaythe time interval that this animation should wait to start from the moment this method is called
viewthe view to animate
completiona closure that is called upon the animation completing. A
Boolis passed into the closure letting you know if the animation has completed.
View on GitHub
StandardAnimation Struct Reference