mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
add the enum direct comments back (#2936)
This commit is contained in:
committed by
Adlai Holler
parent
e143942d22
commit
7d68ce33bb
@@ -10,7 +10,12 @@
|
||||
|
||||
#import <AsyncDisplayKit/ASRelativeLayoutSpec.h>
|
||||
|
||||
/** How the child is centered within the spec. */
|
||||
/**
|
||||
* How the child is centered within the spec.
|
||||
*
|
||||
* The default option will position the child at {0,0} relatively to the layout bound.
|
||||
* Swift: use [] for the default behavior.
|
||||
*/
|
||||
typedef NS_OPTIONS(NSUInteger, ASCenterLayoutSpecCenteringOptions) {
|
||||
/** The child is positioned in {0,0} relatively to the layout bounds */
|
||||
ASCenterLayoutSpecCenteringNone = 0,
|
||||
@@ -22,7 +27,12 @@ typedef NS_OPTIONS(NSUInteger, ASCenterLayoutSpecCenteringOptions) {
|
||||
ASCenterLayoutSpecCenteringXY = ASCenterLayoutSpecCenteringX | ASCenterLayoutSpecCenteringY
|
||||
};
|
||||
|
||||
/** How much space the spec will take up. */
|
||||
/**
|
||||
* How much space the spec will take up.
|
||||
*
|
||||
* The default option will allow the spec to take up the maximum size possible.
|
||||
* Swift: use [] for the default behavior.
|
||||
*/
|
||||
typedef NS_OPTIONS(NSUInteger, ASCenterLayoutSpecSizingOptions) {
|
||||
/** The spec will take up the maximum size possible */
|
||||
ASCenterLayoutSpecSizingOptionDefault = ASRelativeLayoutSpecSizingOptionDefault,
|
||||
|
||||
Reference in New Issue
Block a user