SFormLayout Protocol Reference
A object capable of laying out the contents of a
Possible implementations include:
SFormLayoutAlignedVertically: Positions sections vertically, aligned by their left edges (default).
The ideal size for a form in this layout.
- (CGSize)idealSizeForFormView:(SFormView *)formView
The form view.
The ideal size for the form view.
This method should calculate and return the ideal size for the form view.
Positions sections within the form.
- (void)layout:(SFormView *)formView sectionViews:(NSArray *)sectionViews
The form view we are positioning the sections within.
An array of section views to be positioned.
A typical implementation of this would iterate through the section views and modify the frame of each one so they are appropriately positioned.