RSDAnimatedImageThemeElement
public protocol RSDAnimatedImageThemeElement : RSDImageThemeElement
RSDAnimatedImageThemeElement
defines a series of images that can be animated.
-
The animation duration.
Declaration
Swift
var animationDuration: TimeInterval { get }
-
This is used to set how many times the animation should be repeated where
0
means infinite.Declaration
Swift
var animationRepeatCount: Int? { get }
-
Available for watchOS and macOS.
The animated images to display.
-
Available for iOS and tvOS.
The animated images to display.
Declaration
Swift
func images(compatibleWith traitCollection: UITraitCollection?) -> [RSDImage]
Return Value
The images for this step.