ImageTransition
public enum ImageTransition
Transition effect which will be used when an image downloaded and set by UIImageView
extension API in Kingfisher.
You can assign an enum value with transition duration as an item in KingfisherOptionsInfo
to enable the animation transition.
Apple’s UIViewAnimationOptions is used under the hood. For custom transition, you should specified your own transition options, animations and comletion handler as well.
-
No animation transistion.
Declaration
Swift
case none
-
Fade in the loaded image.
Declaration
Swift
case fade(TimeInterval)
-
Flip from left transition.
Declaration
Swift
case flipFromLeft(TimeInterval)
-
Flip from right transition.
Declaration
Swift
case flipFromRight(TimeInterval)
-
Flip from top transition.
Declaration
Swift
case flipFromTop(TimeInterval)
-
Flip from bottom transition.
Declaration
Swift
case flipFromBottom(TimeInterval)
-
Custom transition.
Declaration
Swift
case custom(duration: TimeInterval,