ClassFinder
public struct ClassFinder<VC, C> : StackIteratingFinder where VC : UIViewController
A default implementation of the view controllers finder that searches for a view controller by its name.
-
Declaration
Swift
public typealias ViewController = VC
-
Declaration
Swift
public typealias Context = C
-
A
StackIterator
is to be used byClassFinder
Declaration
Swift
public let iterator: StackIterator
-
Constructor
Declaration
Swift
public init(iterator: StackIterator = RouteComposerDefaults.shared.stackIterator)
Parameters
iterator
A
StackIterator
is to be used byClassFinder
-
Declaration
Swift
public func isTarget(_ viewController: VC, with context: C) -> Bool
-
Constructor
Parameters
- options: A combination of the
SearchOptions
- startingPoint:
DefaultStackIterator.StartingPoint
value - windowProvider:
WindowProvider
instance. - containerAdapterLocator: A
ContainerAdapterLocator
instance.
Declaration
Swift
init(options: SearchOptions, startingPoint: DefaultStackIterator.StartingPoint = .topmost, windowProvider: WindowProvider = RouteComposerDefaults.shared.windowProvider, containerAdapterLocator: ContainerAdapterLocator = RouteComposerDefaults.shared.containerAdapterLocator)
- options: A combination of the