OnboardingNavigationBarBottomAdapter

public protocol OnboardingNavigationBarBottomAdapter : InjectedViewAdapter

Protocol for injecting a custom bottom navigation bar on the onboarding screen.

Note

Bottom navigation only.
  • Called when the displayed buttons have to change. Show only the buttons that are in the list.

    Declaration

    Swift

    func showButtons(
        navigationButtons: [OnboardingNavigationBarBottomButton],
        navigationBar: UIView)

    Parameters

    navigationButtons

    The list of buttons that have to be shown

    navigationBar

    The navigationbar that holds the buttons

  • Set the callback for the next button action.

    Declaration

    Swift

    func setNextButtonClickedActionCallback(_ callback: @escaping () -> Void)

    Parameters

    callback

    An action callback, which should be retained and called in next button action method

  • Set the callback for the skip button action.

    Declaration

    Swift

    func setSkipButtonClickedActionCallback(_ callback: @escaping () -> Void)

    Parameters

    callback

    An action callback, which should be retained and called in skip button action method

  • Set the callback for the get started button action.

    Declaration

    Swift

    func setGetStartedButtonClickedActionCallback(_ callback: @escaping () -> Void)

    Parameters

    callback

    An action callback, which should be retained and called in get started button action method