StackIterator

public protocol StackIterator

StackIterator protocol

Methods to implement

  • Returns UIViewController instance if found

    Declaration

    Swift

    func firstViewController(where predicate: (UIViewController) -> Bool) throws -> UIViewController?

    Parameters

    predicate

    A block that contains UIViewController matching condition