Skip to content

Commit

Permalink
Merge branch 'hotfix/fix_array_init'
Browse files Browse the repository at this point in the history
  • Loading branch information
chiahsien committed Jan 29, 2014
2 parents 376797c + d2dc2fe commit 586f159
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHTCollectionViewWaterfallLayout.m
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ - (void)prepareLayout {
self.unionRects = [NSMutableArray array];
self.columnHeights = [NSMutableArray array];
self.allItemAttributes = [NSMutableArray array];
self.sectionItemAttributes = [NSMutableArray array];

for (idx = 0; idx < self.columnCount; idx++) {
[self.columnHeights addObject:@(0)];
Expand Down

0 comments on commit 586f159

Please sign in to comment.