Closed ohayon closed 8 years ago
// Tip: If we don't know the number of columns we can call the following method and use the NSUInteger object instead of the NUMBEROFCOLUMNS macro NSUInteger numberOfItems = [self.collectionView numberOfItemsInSection:section];
where does this section variable come from?
section
the NUMBEROFCOLUMNS macro is also being used in calculateItemSize not so clear on how to make this dynamic.
NUMBEROFCOLUMNS
calculateItemSize
Did you get any solution for this? how to make it dynamic
where does this
section
variable come from?