-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
If you have a bunch of items to the dataSourceArray before creating the CarouselView, any cells that are outside of the screen view are not loaded. Ever.
self.dataSourceArray = [NSMutableArray array];
[self.dataSourceArray addObject:@"One"];
[self.dataSourceArray addObject:@"Two"];
[self.dataSourceArray addObject:@"Three"];
[self.dataSourceArray addObject:@"Four"];
[self.dataSourceArray addObject:@"Five"];
[self.dataSourceArray addObject:@"Six"];
[self.dataSourceArray addObject:@"Seven"];
_carouselView = [[CarouselView alloc] initWithFrame:CGRectMake(10, 200, 738, 200) dataSource:self delegate:self];
Only views one through four will be visible.
Similarly, if you add ~six items to the data source array, and then scroll all the way to the right and tap "Insert Column" one more time... nothing happens. if you scroll back to the left and hit insert again, the width of the view appears to be large enough to contain the missing cells, but they are not there.
Been playing with the source, and I'll add a pull request if I figure out how to fix this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels