Inherits from NSObject
Conforms to SFormViewBuilder
Declared in SFormFieldViewBuilder.h
Availability
Related samples

Overview

An object capable of building an SFormFieldView subclass from an SFormField model object.

Tasks

Instance Methods

buildViewFromModel:

Build an SFormFieldView from a SFormField model object.

- (SFormFieldView *)buildViewFromModel:(SFormField *)model

Parameters

model

The SFormField to build a view for.

Return Value

The SFormFieldView subclass created.

Discussion

This method will return a correctly configured view for a given model object. The type of the model object given will depend on the type of the view returned:

This returned field view will be sized by calling sizeToFit.

Declared In

SFormFieldViewBuilder.h