Protocols

The following protocols are available globally.

  • RSDLoadingViewControllerProtocol is a convenience protocol to allow UIViewControllers that do not inherit from the same subclass to show and hide a loading indicator.

    See more

    Declaration

    Swift

    public protocol RSDLoadingViewControllerProtocol
  • RSDPickerViewProtocol is a protocol for an input view that can be used to pick an answer.

    See more

    Declaration

    Swift

    public protocol RSDPickerViewProtocol : class, NSObjectProtocol
  • RSDPickerObserver is an observer of changes to the picker.

    See more

    Declaration

    Swift

    public protocol RSDPickerObserver : class, NSObjectProtocol
  • RSDOptionalStepViewControllerDelegate is a delegate protocol defined as @objc to allow the methods to be optionally implemented. As such, these methods cannot take Swift protocols as their paramenters.

    See more

    Declaration

    Swift

    public protocol RSDOptionalStepViewControllerDelegate : class, NSObjectProtocol
  • RSDStepViewControllerDelegate is an extension of the RSDUIActionHandler protocol that also implements optional methods defined by RSDOptionalStepViewControllerDelegate.

    Declaration

    Swift

    public protocol RSDStepViewControllerDelegate : RSDOptionalStepViewControllerDelegate, RSDUIActionHandler
  • Protocol to allow setting the step view controller delegate on a view controller that may not inherit directly from UIViewController.

    Note

    Any implementation should call the delegate methods during view appearance transitions.
    See more

    Declaration

    Swift

    public protocol RSDStepViewControllerProtocol : RSDStepController
  • RSDPageViewControllerProtocol allows replacing the UIPageViewController in the base class with a different view controller implementation. It is assumed that the implementation is for a view controller appropriate to the current device.

    See more

    Declaration

    Swift

    public protocol RSDPageViewControllerProtocol
  • RSDOptionalTaskViewControllerDelegate is a delegate protocol defined as @objc to allow the methods to be optionally implemented. As such, these methods cannot take Swift protocols as their paramenters.

    See more

    Declaration

    Swift

    public protocol RSDOptionalTaskViewControllerDelegate : class, NSObjectProtocol
  • RSDTaskViewControllerDelegate is an extension of the RSDTaskControllerDelegate protocol that also implements optional methods defined by RSDOptionalTaskViewControllerDelegate.

    Declaration

    Swift

    public protocol RSDTaskViewControllerDelegate : RSDOptionalTaskViewControllerDelegate, RSDTaskControllerDelegate
  • Optional protocol that can be used to get the step view controller from the step rather than from the task view controller or delegate.

    See more

    Declaration

    Swift

    public protocol RSDStepViewControllerVendor : RSDUIStep
  • RSDSoundPlayer is a protocol for playing sounds intended to give the user UI feedback during the running of a task.

    See more

    Declaration

    Swift

    public protocol RSDSoundPlayer
  • Utility for presenting alerts

    See more

    Declaration

    Swift

    public protocol RSDAlertPresenter: NSObjectProtocol