Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit aedac5c

Browse files
maickiAdlai Holler
authored andcommitted
Remove legacy parent pointer of ASLayoutSpec (#2987)
1 parent abd9851 commit aedac5c

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

AsyncDisplayKit/ASDisplayNode.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,6 @@ - (ASLayout *)calculateLayoutThatFits:(ASSizeRange)constrainedSize
11141114
ASDisplayNodeAssert(layoutSpec.isMutable, @"Node %@ returned layout spec %@ that has already been used. Layout specs should always be regenerated.", self, layoutSpec);
11151115
}
11161116

1117-
layoutSpec.parent = self;
11181117
layoutSpec.isMutable = NO;
11191118
}
11201119

AsyncDisplayKit/Layout/ASLayoutSpec.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ NS_ASSUME_NONNULL_BEGIN
2525
*/
2626
@property (nonatomic, assign) BOOL isMutable;
2727

28-
/**
29-
* Parent of the layout spec
30-
*/
31-
@property (nullable, nonatomic, weak) id<ASLayoutElement> parent;
32-
3328
/**
3429
* First child within the children's array.
3530
*

0 commit comments

Comments
 (0)