ViewFinder
public protocol ViewFinder
Type, responsible for finding currently visible view in existing view hierarchy.
-
Returns currently visible view in view hierarchy.
Declaration
Swift
func currentlyVisibleView(startingFrom: ViewController?) -> ViewController?
Parameters
startingFrom
root view to start searching from.
Return Value
currently visible view or nil, if it was not found.