Inherits from NSObject
Conforms to SFormLayout
Declared in SFormLayoutAlignedVertically.h
Availability
Related samples

Overview

A layout manager that is used to layout sections in their superview so that:

  • The sections are left aligned.
  • The sections are stacked vertically in the order of the array (first element at top).
  • The sections keep their own size.

| | | Section | || | | | | | | Section | || | | | | | | Section | |____________| | |

Tasks

  •   edgeInsets

    The padding to be applied around the edge of the form.

    property
  •   verticalSpacing

    The amount of vertical padding to be applied between section views.

    property

Properties

edgeInsets

The padding to be applied around the edge of the form.

@property (nonatomic, assign) UIEdgeInsets edgeInsets

Discussion

These edgeInsets will be taken into account when calculating the idealSizeForFormView: and calculating a section view’s origin during layout. The form layout will not change section view sizes to respect these edgeInsets.

Declared In

SFormLayoutAlignedVertically.h

verticalSpacing

The amount of vertical padding to be applied between section views.

@property (nonatomic, assign) CGFloat verticalSpacing

Declared In

SFormLayoutAlignedVertically.h