Back to Hero

HeroAnimator

docs/docsets/Hero.docset/Contents/Resources/Documents/Protocols/HeroAnimator.html

1.6.42.3 KB
Original Source

HeroAnimator

public protocol HeroAnimator : AnyObject

Undocumented

Show on GitHub

`

                hero
                `

Undocumented

Declaration

Swift

var hero: HeroTransition! { get set }

Show on GitHub

`

                canAnimate(view:appearing:)
                `

Undocumented

Declaration

Swift

func canAnimate(view: UIView, appearing: Bool) -> Bool

Show on GitHub

`

                animate(fromViews:toViews:)
                `

Undocumented

Declaration

Swift

func animate(fromViews: [UIView], toViews: [UIView]) -> TimeInterval

Show on GitHub

`

                clean()
                `

Undocumented

Declaration

Swift

func clean()

Show on GitHub

`

                seekTo(timePassed:)
                `

Undocumented

Declaration

Swift

func seekTo(timePassed: TimeInterval)

Show on GitHub

`

                resume(timePassed:reverse:)
                `

Undocumented

Declaration

Swift

func resume(timePassed: TimeInterval, reverse: Bool) -> TimeInterval

Show on GitHub

`

                apply(state:to:)
                `

Undocumented

Declaration

Swift

func apply(state: HeroTargetState, to view: UIView)

Show on GitHub

`

                changeTarget(state:isDestination:to:)
                `

Undocumented

Declaration

Swift

func changeTarget(state: HeroTargetState, isDestination: Bool, to view: UIView)

Show on GitHub