Declared in TKCoreLayout.h

TKCoreLayoutStretchMode

@enum TKLayoutStretchMode

Defines the different stretching modes that can be used when arranging subviews in TKCoreStackLayout.

Definition

typedef NS_ENUM(NSInteger, TKCoreLayoutStretchMode ) {
   TKCoreLayoutStretchModeNone = 0,
   TKCoreLayoutStretchModeHorizontal = 1,
   TKCoreLayoutStretchModeVertical = 2,
};

Constants

TKCoreLayoutStretchModeNone
 The subview should not stretch.

Declared In TKCoreLayout.h.

TKCoreLayoutStretchModeHorizontal
 The subview should stretch horizontally and occupy the available area.

Declared In TKCoreLayout.h.

TKCoreLayoutStretchModeVertical
 The subview should stretch vertically and occupy the avaialable area.

Declared In TKCoreLayout.h.

Declared In

TKCoreLayout.h