mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-06 11:30:40 +00:00

git-subtree-dir: submodules/AsyncDisplayKit git-subtree-mainline: d06f423e0ed3df1fed9bd10d79ee312a9179b632 git-subtree-split: 02bedc12816e251ad71777f9d2578329b6d2bef6
32 lines
830 B
Objective-C
32 lines
830 B
Objective-C
//
|
|
// ASLayoutElementInspectorCell.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Hannah Troisi on 3/27/16.
|
|
// Copyright © 2016 Facebook. All rights reserved.
|
|
//
|
|
|
|
#ifndef MINIMAL_ASDK
|
|
|
|
#import <AsyncDisplayKit/ASCellNode.h>
|
|
|
|
typedef NS_ENUM(NSInteger, ASLayoutElementPropertyType) {
|
|
ASLayoutElementPropertyFlexGrow = 0,
|
|
ASLayoutElementPropertyFlexShrink,
|
|
ASLayoutElementPropertyAlignSelf,
|
|
ASLayoutElementPropertyFlexBasis,
|
|
ASLayoutElementPropertySpacingBefore,
|
|
ASLayoutElementPropertySpacingAfter,
|
|
ASLayoutElementPropertyAscender,
|
|
ASLayoutElementPropertyDescender,
|
|
ASLayoutElementPropertyCount
|
|
};
|
|
|
|
@interface ASLayoutElementInspectorCell : ASCellNode
|
|
|
|
- (instancetype)initWithProperty:(ASLayoutElementPropertyType)property layoutElementToEdit:(id<ASLayoutElement>)layoutable NS_DESIGNATED_INITIALIZER;
|
|
|
|
@end
|
|
|
|
#endif
|