ScreenObserverPredicate

public struct ScreenObserverPredicate

Undocumented

  • Undocumented

    Declaration

    Swift

    public typealias Filter = (
        _ observer: ScreenObserver,
        _ container: ScreenContainer?,
        _ iterator: ScreenIterator
    ) -> Bool
  • Undocumented

    Declaration

    Swift

    public init(filter: @escaping Filter)
  • any

    Undocumented

    Declaration

    Swift

    public static var any: `Self` { get }
  • Undocumented

    Declaration

    Swift

    public static func satisfiedAny(_ predicates: ScreenObserverPredicate...) -> ScreenObserverPredicate
  • Undocumented

    Declaration

    Swift

    public static func satisfiedAll(_ predicates: ScreenObserverPredicate...) -> ScreenObserverPredicate
  • Undocumented

    Declaration

    Swift

    public static func type<Observer>(_ type: Observer.Type) -> ScreenObserverPredicate
  • Undocumented

    Declaration

    Swift

    public static func screen<T>(_ screen: T) -> ScreenObserverPredicate where T : Screen, T.Observer : ScreenObserver
  • Undocumented

    Declaration

    Swift

    public static func visible(
        _ container: ScreenVisibleContainer
    ) -> Self
  • Undocumented

    Declaration

    Swift

    public static func presented(
        on presentingContainer: UIViewController,
        recursively: Bool = true
    ) -> Self
  • Undocumented

    Declaration

    Swift

    public static func child(
        of parentContainer: UIViewController,
        recursively: Bool = true
    ) -> Self
  • Undocumented

    Declaration

    Swift

    public static func pushed(
        into stack: [UIViewController],
        recursively: Bool = true
    ) -> Self
  • Undocumented

    Declaration

    Swift

    public static func pushed(
        into stackContainer: UINavigationController,
        recursively: Bool = true
    ) -> Self
  • Undocumented

    Declaration

    Swift

    public static func pushed(
        after pushingContainer: UIViewController,
        recursively: Bool = true
    ) -> Self