Classes

The following classes are available globally.

  • RSDTaskObject is the interface for running a task. It includes information about how to calculate progress, validation, and the order of display for the steps.

    See more

    Declaration

    Swift

    public class RSDTaskObject : RSDUIActionHandlerObject, RSDTask, Decodable
  • RSDTaskPath is used to keep track of the current state of a running task.

    See more

    Declaration

    Swift

    public final class RSDTaskPath : NSObject, NSCopying
  • RSDTableItemGroup is a generic table item group object that can be used to display information in a tableview that does not have an associated input field.

    See more

    Declaration

    Swift

    open class RSDTableItemGroup
  • RSDDataLogger is used to write data samples using a custom encoding to a logging file.

    Note

    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.
    See more

    Declaration

    Swift

    open class RSDDataLogger
  • RSDFileResultUtility is a utility for naming temporary files used to save task results.

    See more

    Declaration

    Swift

    public class RSDFileResultUtility
  • RSDTextInputTableItem is used to represent a single row in a table that holds a text entry input field. Typically, this would be used to represent a single RSDInputField value, but it can also be used to represent a single component in a multiple-component field.

    See more

    Declaration

    Swift

    open class RSDTextInputTableItem : RSDInputFieldTableItem
  • RSDFactory handles customization of decoding the elements of a task. Applications should override this factory to add custom elements required to run their task modules.

    See more

    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 more

    Declaration

    Swift

    open class RSDTableSection
  • RSDSampleRecorder is 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 more

    Declaration

    Swift

    open class RSDSampleRecorder : NSObject, RSDAsyncActionController
  • RSDRecordSampleLogger is used to write samples encoded as json dictionary objects to a logging file.

    See more

    Declaration

    Swift

    public class RSDRecordSampleLogger : RSDDataLogger
  • RSDResourceConfig is 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.

    See more

    Declaration

    Swift

    open class RSDResourceConfig : NSObject
  • LocalizationBundle is a wrapper for returning a bundle along with a table name and target suffixes. This is used by the Localization class to return localized strings that are defined in a strings file embedded in the given bundle.

    See more

    Declaration

    Swift

    open class LocalizationBundle
  • Localization is 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 the allBundles property.

    See more

    Declaration

    Swift

    open class Localization: NSObject