ConnectUI

public protocol ConnectUI

Objects conforming to this protocol provide a user interface front-end for a ConnectTask instance. This protocol represents a coordinator that creates, shows, and dismisses various user interface elements.

  • The SearchUI type provided by the connect UI implementation.

    Declaration

    Swift

    associatedtype SearchUIImpl : SearchUI
  • The AlertUI type provided by the connect UI implementation.

    Declaration

    Swift

    associatedtype AlertUIImpl : AlertUI
  • The InfoUI type provided by the connect UI implementation.

    Declaration

    Swift

    associatedtype InfoUIImpl : InfoUI
  • Start the user interface. Provides the opportunity to load UI, present windows, etc.

    Declaration

    Swift

    func start()
  • Display the specified UI element.

    Declaration

    Swift

    func push(_ element: ConnectUIElement)
  • Remove the most-recently pushed UI element.

    Declaration

    Swift

    func pop()
  • Restart the user interface.

    Declaration

    Swift

    func restart()
  • Open the specified URL (e.g., via UIApplication.open(_:options:completionHandler:)).

    Declaration

    Swift

    func open(url: URL)
  • Clean up. Dismiss and remove any user interface that was presented by this object.

    Declaration

    Swift

    func finish()