Back to Hero

Hero

docs/docsets/Hero.docset/Contents/Resources/Documents/Classes/Hero.html

1.6.4751 B
Original Source

Hero

public class Hero : NSObject

The singleton class/object for controlling interactive transitions.

Hero.shared

Use the following methods for controlling the interactive transition:

func update(progress:Double)
func end()
func cancel()
func apply(modifiers:[HeroModifier], to view:UIView)

Show on GitHub

`

                shared
                `

Shared singleton object for controlling the transition

Declaration

Swift

public static var shared: HeroTransition

Show on GitHub