Inherits from NSObject
Conforms to SFormSectionLayout
Declared in SFormSectionBaseLayout.h
Availability
Related samples

Overview

An abstract base class, providing default values for SFormSectionLayoutStrategy properties.

By default, verticalSpacing is 10 points, and the inset is (20,20).

Tasks

  •   edgeInsets

    The amount of padding around the field views.

    property
  •   titleFieldPadding

    The amount of vertical padding to be applied between the title and the first field in the section.

    property
  •   verticalSpacing

    The amount of vertical padding to be applied between subviews in a view.

    property

Properties

edgeInsets

The amount of padding around the field views.

@property (nonatomic, assign) UIEdgeInsets edgeInsets

Discussion

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

Declared In

SFormSectionBaseLayout.h

titleFieldPadding

The amount of vertical padding to be applied between the title and the first field in the section.

@property (nonatomic, assign) CGFloat titleFieldPadding

Declared In

SFormSectionBaseLayout.h

verticalSpacing

The amount of vertical padding to be applied between subviews in a view.

@property (nonatomic, assign) CGFloat verticalSpacing

Declared In

SFormSectionBaseLayout.h