Swiftgram/AsyncDisplayKit/Debug/ASLayoutElementInspectorCell.h
Michael Schneider 2dca7a0c8d [Debug] Remove not used code around visualizing layout specs (#2991)
* Remove not used code around visualizing layout specs

* This is sad to see but let’s remove the LayoutSpecPlayground for now
2017-02-10 13:09:09 -08: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