ImageTransition
public enum ImageTransition
Used to wrap all UIView
animation transition options alongside a duration.
-
Undocumented
Declaration
Swift
case noTransition
-
Undocumented
Declaration
Swift
case crossDissolve(TimeInterval)
-
Undocumented
Declaration
Swift
case curlDown(TimeInterval)
-
Undocumented
Declaration
Swift
case curlUp(TimeInterval)
-
Undocumented
Declaration
Swift
case flipFromBottom(TimeInterval)
-
Undocumented
Declaration
Swift
case flipFromLeft(TimeInterval)
-
Undocumented
Declaration
Swift
case flipFromRight(TimeInterval)
-
Undocumented
Declaration
Swift
case flipFromTop(TimeInterval)
-
Undocumented
Declaration
Swift
case custom(duration: TimeInterval, animationOptions: AnimationOptions, animations: (UIImageView, Image) -> Void, completion: ((Bool) -> Void)?)
-
The duration of the image transition in seconds.
Declaration
Swift
public var duration: TimeInterval { get }
-
The animation options of the image transition.
Declaration
Swift
public var animationOptions: AnimationOptions { get }
-
The animation options of the image transition.
Declaration
Swift
public var animations: (UIImageView, Image) -> Void { get }
-
The completion closure associated with the image transition.
Declaration
Swift
public var completion: ((Bool) -> Void)? { get }