EmbeddingProtocol

public protocol EmbeddingProtocol

Acts as factory for embedding view controllers.

  • Called by module asking view controller to navigate.

    Declaration

    Swift

    static func embed(_ viewController: UIViewController) -> UIViewController

    Parameters

    viewController

    View controller to embed.

    Return Value

    New view controller to navigate.