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: FormTitleItem { get }
  • A message which optionally accompanies a form.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var reply: 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: [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: FormResponseInputs? { get }