Conforms to NSObject
Declared in SFormFieldModelViewConverter.h
Availability
Related samples

Overview

Any object wishing to convert between SFormField objects and SFormFieldView objects should conform to this protocol.

Tasks

  • – viewValueFromModel:

    Responsible for pulling values from a field model and converting them to an appropriate format/type for a field view.

    required method
  • – modelValueFromView:

    Responsible for pulling values from a field view and converting them to an appropriate format/type for a field model.

    required method

Instance Methods

modelValueFromView:

Responsible for pulling values from a field view and converting them to an appropriate format/type for a field model.

- (id)modelValueFromView:(SFormFieldView *)fieldView

Parameters

fieldView

The field view that needs to have its value(s) converted.

Declared In

SFormFieldModelViewConverter.h

viewValueFromModel:

Responsible for pulling values from a field model and converting them to an appropriate format/type for a field view.

- (id)viewValueFromModel:(SFormField *)fieldModel

Parameters

fieldModel

The field model that needs to have its value(s) converted.

Declared In

SFormFieldModelViewConverter.h