TKCoreLayoutAlignmentMode Constants Reference
Declared in | TKCoreLayout.h |
TKCoreLayoutAlignmentMode
@enum TKLayoutAlignmentMode
Defines the different alignment modes that can be used when arranging subviews in TKCoreStackLayout.
Definition
typedef NS_OPTIONS(NSInteger, TKCoreLayoutAlignmentMode ) {
TKCoreLayoutAlignmentModeLeft = 1,
TKCoreLayoutAlignmentModeTop = 2,
TKCoreLayoutAlignmentModeRight = 4,
TKCoreLayoutAlignmentModeBottom = 8,
TKCoreLayoutAlignmentModeHorizontalCenter = 16,
TKCoreLayoutAlignmentModeVerticalCenter = 32,
};
Constants
TKCoreLayoutAlignmentModeLeft
-
The subview should be aligned to the left.
Declared In
TKCoreLayout.h
. TKCoreLayoutAlignmentModeTop
-
The subview should be aligned to the right.
Declared In
TKCoreLayout.h
. TKCoreLayoutAlignmentModeRight
-
The subview should be aligned to the top.
Declared In
TKCoreLayout.h
. TKCoreLayoutAlignmentModeBottom
-
The subview should be aligned to the bottom.
Declared In
TKCoreLayout.h
. TKCoreLayoutAlignmentModeHorizontalCenter
-
The subview should be centered horizontally.
Declared In
TKCoreLayout.h
. TKCoreLayoutAlignmentModeVerticalCenter
-
The subview should be centered vertically.
Declared In
TKCoreLayout.h
.
Declared In
TKCoreLayout.h