Classes
The following classes are available globally.
-
See moreRSDTaskObjectis the interface for running a task. It includes information about how to calculate progress, validation, and the order of display for the steps.Declaration
Swift
public class RSDTaskObject : RSDUIActionHandlerObject, RSDTask, Decodable
-
See moreRSDChoiceInputFieldObjectis a concrete implementation ofRSDChoiceInputFieldthat subclassesRSDInputFieldObjectto include a list of choices for a multiple choice or single choice input field.Declaration
Swift
open class RSDChoiceInputFieldObject : RSDInputFieldObject, RSDChoiceInputField
-
See moreRSDUIStepObjectis the base class implementation for all UI display steps defined in this framework. Depending upon the available real-estate, more than one ui step may be displayed at a time. For example, on an iPad, you may choose to group a set of questions using aRSDSectionStep.Declaration
Swift
open class RSDUIStepObject : RSDUIActionHandlerObject, RSDThemedUIStep, RSDNavigationRule, Decodable, RSDMutableStep
-
See moreRSDInputFieldTableItemGroupis used to represent a single input field.Declaration
Swift
open class RSDInputFieldTableItemGroup : RSDTableItemGroup
-
See moreRSDActiveUIStepObjectextends theRSDUIStepObjectto include a duration and commands. This is used for the case where anRSDUIStephas an action such asstart walking
orstop walking
; the step may also implement theRSDActiveUIStepprotocol to allow for spoken instruction.Declaration
Swift
open class RSDActiveUIStepObject : RSDUIStepObject, RSDActiveUIStep
-
See moreRSDTableItemcan be used to represent the type of the row to display.Declaration
Swift
open class RSDTableItem -
See moreRSDTextTableItemis used to represent a item row that has static text.Declaration
Swift
public final class RSDTextTableItem : RSDTableItem -
See moreRSDImageTableItemis used to represent a item row that has a static image.Declaration
Swift
public final class RSDImageTableItem : RSDTableItem -
See moreRSDInputFieldTableItemis an abstract base class implementation for representing an answer, or part of an answer for a givenRSDInputField.Declaration
Swift
open class RSDInputFieldTableItem : RSDTableItem
-
See moreRSDMultipleComponentInputFieldObjectextends the properties ofRSDInputFieldObjectwith information required to create a multiple component input field.Declaration
Swift
open class RSDMultipleComponentInputFieldObject : RSDInputFieldObject, RSDMultipleComponentInputField
-
RSDTaskPathis used to keep track of the current state of a running task.See moreSeealso
RSDTaskControllerDeclaration
Swift
public final class RSDTaskPath : NSObject, NSCopying
-
See moreRSDTableItemGroupis a generic table item group object that can be used to display information in a tableview that does not have an associated input field.Declaration
Swift
open class RSDTableItemGroup
-
See moreRSDChoiceTableItemis used to represent a single row in a table where the user picks from a list of choices.Declaration
Swift
open class RSDChoiceTableItem : RSDInputFieldTableItem
-
RSDDataLoggeris used to write data samples using a custom encoding to a logging file.See moreNote
This class does not use a serial queue to process the samples. It is assumed that the recorder that is using this file will handle that implementation.Declaration
Swift
open class RSDDataLogger -
See moreRSDFileResultUtilityis a utility for naming temporary files used to save task results.Declaration
Swift
public class RSDFileResultUtility
-
See moreRSDTextInputTableItemis used to represent a single row in a table that holds a text entry input field. Typically, this would be used to represent a singleRSDInputFieldvalue, but it can also be used to represent a single component in a multiple-component field.Declaration
Swift
open class RSDTextInputTableItem : RSDInputFieldTableItem
-
See moreRSDFormUIStepObjectis a concrete implementation of theRSDFormUIStepandRSDSurveyNavigationStepprotocols. It is a subclass ofRSDUIStepObjectand can be used to display a navigable survey.Declaration
Swift
open class RSDFormUIStepObject : RSDUIStepObject, RSDFormUIStep, RSDSurveyNavigationStep
-
See moreRSDFactoryhandles customization of decoding the elements of a task. Applications should override this factory to add custom elements required to run their task modules.Declaration
Swift
open class RSDFactory
-
Defines a section in a table. A table is made up of sections, groups and items. For most group types, there is one cell per group. The exception would be where the ui hint is for a list where each value is displayed in a selectable list.
See moreDeclaration
Swift
open class RSDTableSection
-
RSDSampleRecorderis a base-class implementation of a controller that is used to record samples.While it isn’t prohibited to instatiate this class directly, this is intended as an abstract implementation for recording sample data from GPS location, accelerometers, etc.
Using this base implementation allows for a consistent logging of shared sample data key words for the step path and the uptime. It implements the logic for writing to a file, tracking the uptime and start date, and provides a consistent implementation for error handling.
See moreDeclaration
Swift
open class RSDSampleRecorder : NSObject, RSDAsyncActionController -
See moreRSDRecordSampleLoggeris used to write samples encoded as json dictionary objects to a logging file.Declaration
Swift
public class RSDRecordSampleLogger : RSDDataLogger
-
See moreRSDFormStepDataSourceObjectis a concrete implementation of theRSDFormStepDataSourceprotocol.Declaration
Swift
open class RSDFormStepDataSourceObject : RSDFormStepDataSource
-
See moreRSDChoicePickerTableItemGroupsubclassesRSDInputFieldTableItemGroupto implement a single or multiple choice question where the choices are presented as a list.Declaration
Swift
open class RSDChoicePickerTableItemGroup : RSDInputFieldTableItemGroup
-
See moreRSDResourceConfigis designed as an overridable resource configuration manager. The functions and properties are intended to be overridable in the app by implementing a custom extension of the function with the same name. This is designed to use app-wins namespace conflict resolution that is typical of obj-c architecture.Declaration
Swift
open class RSDResourceConfig : NSObject
-
See moreRSDUIActionHandlerObjectis intended as an abstract implementation of the action handler that implements theCodableprotocol.Declaration
Swift
open class RSDUIActionHandlerObject : RSDUIActionHandler
-
See moreLocalizationBundleis a wrapper for returning a bundle along with a table name and target suffixes. This is used by theLocalizationclass to return localized strings that are defined in a strings file embedded in the given bundle.Declaration
Swift
open class LocalizationBundle -
See moreLocalizationis a wrapper class for getting a localized string that allows overriding the bundles to search for a given string. To use this class, call one of the localization methods. To override the value returned by one of the bundles, add the string to a bundle higher up in the list order of theallBundlesproperty.Declaration
Swift
open class Localization: NSObject
-
An item group for entering data that is a human-measurement in localized units appropriate to the size-range of a human (adult, child, infant).
See moreDeclaration
Swift
open class RSDHumanMeasurementTableItemGroup : RSDInputFieldTableItemGroup
-
See moreRSDInputFieldObjectis aDecodableimplementation of theRSDSurveyInputFieldprotocol. This is implemented as an open class so that the decoding strategy can be used to support subclasses.Declaration
Swift
open class RSDInputFieldObject : RSDSurveyInputField, Codable
View on GitHub
Classes Reference