Protocols
The following protocols are available globally.
-
See moreRSDStepTextFieldCellLayoutConstants
defines the layout constants used by aRSDStepTextFieldCell
.Declaration
Swift
public protocol RSDStepTextFieldCellLayoutConstants
-
See moreRSDLoadingViewControllerProtocol
is a convenience protocol to allow UIViewControllers that do not inherit from the same subclass to show and hide a loading indicator.Declaration
Swift
public protocol RSDLoadingViewControllerProtocol
-
See moreRSDPickerViewProtocol
is a protocol for an input view that can be used to pick an answer.Declaration
Swift
public protocol RSDPickerViewProtocol : class, NSObjectProtocol
-
See moreRSDPickerObserver
is an observer of changes to the picker.Declaration
Swift
public protocol RSDPickerObserver : class, NSObjectProtocol
-
See moreRSDTableStepLayoutConstants
defines the layout constants used by theRSDTableStepViewController
.Declaration
Swift
public protocol RSDTableStepLayoutConstants
-
Constants used by the navigation view header to set up standard constraints.
See moreDeclaration
Swift
public protocol RSDNavigationHeaderLayoutConstants
-
Constants used by the navigation view footer to set up standard constraints.
See moreDeclaration
Swift
public protocol RSDNavigationFooterLayoutConstants
-
See moreRSDOptionalStepViewControllerDelegate
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.Declaration
Swift
public protocol RSDOptionalStepViewControllerDelegate : class, NSObjectProtocol
-
RSDStepViewControllerDelegate
is an extension of theRSDUIActionHandler
protocol that also implements optional methods defined byRSDOptionalStepViewControllerDelegate
.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.Declaration
Swift
public protocol RSDStepViewControllerProtocol : RSDStepController
-
See moreRSDPageViewControllerProtocol
allows replacing theUIPageViewController
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.Declaration
Swift
public protocol RSDPageViewControllerProtocol
-
See moreRSDOptionalTaskViewControllerDelegate
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.Declaration
Swift
public protocol RSDOptionalTaskViewControllerDelegate : class, NSObjectProtocol
-
RSDTaskViewControllerDelegate
is an extension of theRSDTaskControllerDelegate
protocol that also implements optional methods defined byRSDOptionalTaskViewControllerDelegate
.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 moreDeclaration
Swift
public protocol RSDStepViewControllerVendor : RSDUIStep
-
See moreRSDSoundPlayer
is a protocol for playing sounds intended to give the user UI feedback during the running of a task.Declaration
Swift
public protocol RSDSoundPlayer
-
See moreRSDVoiceBox
is used byRSDStepViewController
tospeak
text strings.Declaration
Swift
public protocol RSDVoiceBox
-
Utility for presenting alerts
See moreDeclaration
Swift
public protocol RSDAlertPresenter: NSObjectProtocol