docs/docsets/Hero.docset/Contents/Resources/Documents/Classes/HeroContext.html
public class HeroContext
Undocumented
`
container
`
The container holding all of the animating views
Swift
public let container: UIView
`
fromViews
`
A flattened list of all views from source ViewController
Swift
public var fromViews: [UIView]
`
toViews
`
A flattened list of all views from destination ViewController
Swift
public var toViews: [UIView]
`
sourceView(for:)
`
Swift
public func sourceView(for heroID: String) -> UIView?
a source view matching the heroID, nil if not found
`
destinationView(for:)
`
Swift
public func destinationView(for heroID: String) -> UIView?
a destination view matching the heroID, nil if not found
`
pairedView(for:)
`
Swift
public func pairedView(for view: UIView) -> UIView?
a view with the same heroID, but on different view controller, nil if not found
`
snapshotView(for:)
`
Swift
public func snapshotView(for view: UIView) -> UIView
a snapshot view for animation
`
subscript(_:)
`
Undocumented
Swift
public subscript(view: UIView) -> HeroTargetState? { get set }
`
clean()
`
Undocumented
Swift
public func clean()
`
hide(view:)
`
Undocumented
Swift
public func hide(view: UIView)
`
unhide(view:)
`
Undocumented
Swift
public func unhide(view: UIView)