AnimationLayerChainDSL
public struct AnimationLayerChainDSL
An object that provides method to declare and run chained animations
-
Returns
AnimationMaker
object in closure that can be used to set up animation which would run after previous animation will have finished.Declaration
Swift
@discardableResult public func then(_ closure: @escaping (AnimationMaker) -> Void) -> AnimationLayerChainDSL