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)