PCFEnvironmentSwitcherBuilder

public struct PCFEnvironmentSwitcherBuilder

Environment switcher builder. Creates the table view that can be used for the debug menu.

  • Undocumented

    Declaration

    Swift

    public struct PCFEnvironmentSwitcherBuilder
  • Undocumented

    Declaration

    Swift

    public struct PCFEnvironmentSwitcherBuilder
  • Undocumented

    Declaration

    Swift

    public struct PCFEnvironmentSwitcherBuilder
  • Initializes the environment switcher builder.

    • Parameters:
      • environmentManager: The environment manager to use for environment switching.
      • title: The environment switcher menu title.
      • subtitle: The environment switcher menu subtitle.

    Declaration

    Swift

    public init(environmentManager: HTTPEnvironmentManager, title: String, subtitle: String?)

    Parameters

    environmentManager

    The environment manager to use for environment switching.

    title

    The environment switcher menu title.

    subtitle

    The environment switcher menu subtitle.

  • Undocumented

    Declaration

    Swift

    public struct PCFEnvironmentSwitcherBuilder
  • Creates the environment switcher options that are available for the debug menu.

    Returns

    The table view containing all the options.

    Declaration

    Swift

    public func createEnvironmentSwitchOptions() -> EnvironmentSwitcherMenu

    Return Value

    The table view containing all the options.