Skip to content

Commit

Permalink
Break retain cycle between stack view and alignment strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieQ committed Jun 21, 2015
1 parent 1654992 commit 70308a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pod/Classes/OAStackViewAlignmentStrategy.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ @interface OAStackViewAlignmentStrategyCenter: OAStackViewAlignmentStrategy
@end

@interface OAStackViewAlignmentStrategy ()
@property(nonatomic) OAStackView *stackView;
@property(nonatomic, weak) OAStackView *stackView;
@property(nonatomic) NSMutableArray *constraints;
@end

Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/OAStackViewDistributionStrategy.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ @interface OAStackViewDistributionStrategyFillEqually : OAStackViewDistributionS
@end

@interface OAStackViewDistributionStrategy ()
@property(nonatomic) OAStackView *stackView;
@property(nonatomic, weak) OAStackView *stackView;
@property(nonatomic) NSMutableArray *constraints;
@end

Expand Down

0 comments on commit 70308a2

Please sign in to comment.