Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion KLScrollSelect/KLScrollSelect/KLScrollSelect.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ -(void) synchronizeColumnsForMainDriver {
[self synchronizeContentOffsetsWithDriver: self.driver];
}
-(void) populateColumns {

for(KLScrollingColumn *column in self.columns){
[column removeFromSuperview];
}

NSInteger numberOfColumns = [self numberOfColumnsInScrollSelect:self];
NSMutableArray* columns = [[NSMutableArray alloc] initWithCapacity:numberOfColumns];
CGFloat columnWidth = self.frame.size.width/[self numberOfColumnsInScrollSelect:self];
Expand Down Expand Up @@ -428,4 +433,4 @@ -(NSInteger) row
return self->_innerIndexPath.row;
}

@end
@end