FSPagerView
FSPagerView copied to clipboard
How to looping through all the Cells in Swift?
My way:
for myItem in 0...totalCardNumber-1{ let cell = pagerView.cellForItem(at: myItem) }
But it may cause the cell to be nil sometimes.
Any elegant solutions?