diff --git a/Pod/Classes/OAStackViewAlignmentStrategy.m b/Pod/Classes/OAStackViewAlignmentStrategy.m index dfe604e..631ab5a 100644 --- a/Pod/Classes/OAStackViewAlignmentStrategy.m +++ b/Pod/Classes/OAStackViewAlignmentStrategy.m @@ -21,7 +21,7 @@ @interface OAStackViewAlignmentStrategyCenter: OAStackViewAlignmentStrategy @end @interface OAStackViewAlignmentStrategy () -@property(nonatomic) OAStackView *stackView; +@property(nonatomic, weak) OAStackView *stackView; @property(nonatomic) NSMutableArray *constraints; @end diff --git a/Pod/Classes/OAStackViewDistributionStrategy.m b/Pod/Classes/OAStackViewDistributionStrategy.m index e1c9566..4f28e87 100644 --- a/Pod/Classes/OAStackViewDistributionStrategy.m +++ b/Pod/Classes/OAStackViewDistributionStrategy.m @@ -15,7 +15,7 @@ @interface OAStackViewDistributionStrategyFillEqually : OAStackViewDistributionS @end @interface OAStackViewDistributionStrategy () -@property(nonatomic) OAStackView *stackView; +@property(nonatomic, weak) OAStackView *stackView; @property(nonatomic) NSMutableArray *constraints; @end