-
The container holding all of the animating views
Declaration
Swift
public let container: UIView -
A flattened list of all views from source ViewController
Declaration
Swift
public var fromViews: [UIView] -
A flattened list of all views from destination ViewController
Declaration
Swift
public var toViews: [UIView] -
Declaration
Swift
public func sourceView(for heroID: String) -> UIView?Return Value
a source view matching the heroID, nil if not found
-
Declaration
Swift
public func destinationView(for heroID: String) -> UIView?Return Value
a destination view matching the heroID, nil if not found
-
Declaration
Swift
public func pairedView(for view: UIView) -> UIView?Return Value
a view with the same heroID, but on different view controller, nil if not found
-
Declaration
Swift
public func snapshotView(for view: UIView) -> UIViewReturn Value
a snapshot view for animation
-
Undocumented
Declaration
Swift
public subscript(view: UIView) -> HeroTargetState? { get set } -
Undocumented
Declaration
Swift
public func clean() -
Undocumented
Declaration
Swift
public func hide(view: UIView) -
Undocumented
Declaration
Swift
public func unhide(view: UIView)
View on GitHub
Install in Dash
HeroContext Class Reference