SFormFieldViewIterator Protocol Reference

Conforms to NSObject
Declared in SFormFieldViewIterator.h
Availability
Related samples

Overview

An object capable of iterating over an array of fields.

Instance Methods

nextToFieldView:inSectionViews:

The field next to the given field.

- (SFormFieldView *)nextToFieldView:(SFormFieldView *)fieldView inSectionViews:(NSArray *)sectionViews

Parameters

fieldView

The field view we are iterating from.

sectionViews

An array of SFormSectionView objects containing the given fieldView.

Return Value

The field view next to the given fieldView.

Discussion

Nil will be returned if there is no field next from this field.

Warning: This method assumes that fieldView belongs to one of the given sections in the sectionViews array.

Declared In

SFormFieldViewIterator.h

previousToFieldView:inSectionViews:

The field previous to the given field.

- (SFormFieldView *)previousToFieldView:(SFormFieldView *)fieldView inSectionViews:(NSArray *)sectionViews

Parameters

fieldView

The field view we are iterating from.

sectionViews

An array of SFormSectionView objects containing the given fieldView.

Return Value

The field view previous to the given fieldView.

Discussion

Nil will be returned if there is no field previous from this field.

Warning: This method assumes that fieldView belongs to one of the given sections in the sectionViews array.

Declared In

SFormFieldViewIterator.h