SMIFormInputs

Objective-C

@protocol SMIFormInputs <SMIEntryTypeFormMessage>

Swift

protocol FormInputs : EntryTypeFormMessage

Represents a form.

  • The title of the form.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) id<SMIFormTitleItem> _Nonnull formTitle;

    Swift

    var formTitle: any FormTitleItem { get }
  • A message which optionally accompanies a form.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<SMIFormTitleItem> message;

    Swift

    var message: (any FormTitleItem)? { get }
  • The title of the form.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<SMIFormTitleItem> reply;

    Swift

    var reply: (any FormTitleItem)? { get }
  • The sections which individually represent a single input for each form field.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<id<SMIFormInputSection>> *_Nonnull sections;

    Swift

    var sections: [any FormInputSection] { get }
  • The response to the form. This value is set once the user has completed and submitted a form.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<SMIFormResponseInputs> response;

    Swift

    var response: (any FormResponseInputs)? { get }
  • The result of the form. This value is set once the acknowledgment is received after the form response is sent to the server.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<SMIFormResponseResult> result;

    Swift

    var result: (any FormResponseResult)? { get }