Closed ultimatevegance closed 1 year ago
uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
- (IBPNSCollectionLayoutItem *)layoutItemAtIndexPath:(NSIndexPath *)indexPath { NSArray<IBPCollectionCompositionalLayoutSolverResult *> *results = self.results; IBPCollectionCompositionalLayoutSolverResult *result = [results objectAtIndex:indexPath.item % results.count]; return result.layoutItem; }
I think #136 will resolve that issue
uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'