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)
-
Shared singleton object for controlling the transition
Declaration
Swift
public static var shared: HeroTransition