UpdatableViewFinder

public protocol UpdatableViewFinder

Object, that searches view hierarchy to find View, that can be updated with provided Context.

  • Type of View to search for

    Declaration

    Swift

    associatedtype ViewType : ViewController
  • Argument type, that can be used to update a View.

    Declaration

    Swift

    associatedtype Context
  • Searches view hierarchy to find View, that can be updated using provided Context.

    Declaration

    Swift

    func findUpdatableView(for context: Context) -> ViewType?

    Parameters

    context

    argument used for updating current View.

    Return Value

    Found View to update, or nil.