2016-12-18 21:05:43 +01:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, YKFlexDirection) {
|
|
|
|
YKFlexDirectionColumn,
|
|
|
|
YKFlexDirectionColumnReverse,
|
|
|
|
YKFlexDirectionRow,
|
|
|
|
YKFlexDirectionRowReverse,
|
2016-12-19 01:13:16 +01:00
|
|
|
} NS_SWIFT_NAME(FlexDirection);
|
2016-12-18 21:05:43 +01:00
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, YKPositionType) {
|
|
|
|
YKPositionTypeRelative,
|
|
|
|
YKPositionTypeAbsolute,
|
2016-12-19 01:13:16 +01:00
|
|
|
} NS_SWIFT_NAME(PositionType);
|
2016-12-18 21:05:43 +01:00
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, YKJustify) {
|
|
|
|
YKJustifyFlexStart,
|
|
|
|
YKJustifyCenter,
|
|
|
|
YKJustifyFlexEnd,
|
|
|
|
YKJustifySpaceBetween,
|
|
|
|
YKJustifySpaceAround,
|
2016-12-19 01:13:16 +01:00
|
|
|
} NS_SWIFT_NAME(Justify);
|
2016-12-18 21:05:43 +01:00
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, YKDirection) {
|
|
|
|
YKDirectionInherit,
|
|
|
|
YKDirectionLeftToRight,
|
|
|
|
YKDirectionRightToLeft,
|
2016-12-19 01:13:16 +01:00
|
|
|
} NS_SWIFT_NAME(Direction);
|
2016-12-18 21:05:43 +01:00
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, YKWrap) {
|
|
|
|
YKWrapNoWrap,
|
|
|
|
YKWrapWrap,
|
2016-12-19 01:13:16 +01:00
|
|
|
} NS_SWIFT_NAME(Wrap);
|
2016-12-18 21:05:43 +01:00
|
|
|
|
|
|
|
typedef NS_ENUM(NSInteger, YKAlign) {
|
|
|
|
YKAlignAuto,
|
|
|
|
YKAlignFlexStart,
|
|
|
|
YKAlignCenter,
|
|
|
|
YKAlignFlexEnd,
|
|
|
|
YKAlignStretch,
|
2016-12-19 01:13:16 +01:00
|
|
|
} NS_SWIFT_NAME(Align);
|
2016-12-18 21:05:43 +01:00
|
|
|
|