Swiftgram/AsyncDisplayKit/Debug/ASLayoutElementInspectorCell.h
2016-12-11 22:59:02 +03:00

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