Skip to content

Commit

Permalink
Merge pull request #9 from jamieQ/retain-cycles
Browse files Browse the repository at this point in the history
Break retain cycle between stack view and alignment strategy
  • Loading branch information
nsomar committed Jun 21, 2015
2 parents 1654992 + 70308a2 commit 671e685
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 671e685

Please sign in to comment.