RSDModalStepDataSource
public protocol RSDModalStepDataSource : RSDTableDataSource
RSDModalStepDataSource extends RSDTableDataSource for a data source that includes entering
information using a modal step.
-
The taskViewModel to use to instantiate an appropriate view controller for the given modal step table item.
Declaration
Swift
func taskViewModel(for tableItem: RSDModalStepTableItem) -> RSDTaskViewModel?Parameters
tableItemThe table item that was selected.
Return Value
The step to display.
-
Save an answer from a subtask that was presented modally.
Declaration
Swift
func saveAnswer(for tableItem: RSDModalStepTableItem, from taskViewModel: RSDTaskViewModel)Parameters
tableItemThe table item that was selected.
taskViewModelThe task view model from which to save the answers.
View on GitHub
RSDModalStepDataSource Protocol Reference