diff --git a/MyLayout/Lib/MyFlexLayout.m b/MyLayout/Lib/MyFlexLayout.m index 633d61e..f9662cc 100644 --- a/MyLayout/Lib/MyFlexLayout.m +++ b/MyLayout/Lib/MyFlexLayout.m @@ -159,10 +159,8 @@ @implementation MyFlexItem __weak UIView *_view; MyFlexItemAttrs *_attrs; } - @dynamic attrs; - -(instancetype)initWithView:(UIView*)view attrs:(MyFlexItemAttrs*)attrs { self = [super init]; @@ -379,13 +377,6 @@ -(instancetype)init return self; } -//@property(nonatomic, assign) MyFlexDirection flex_direction; -//@property(nonatomic, assign) MyFlexWrap flex_wrap; -//@property(nonatomic, assign) MyFlexGravity justify_content; -//@property(nonatomic, assign) MyFlexGravity align_items; -//@property(nonatomic, assign) MyFlexGravity align_content; - - -(void)setFlex_direction:(MyFlexDirection)flex_direction { if (_flex_direction != flex_direction)