FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

How to looping through all the Cells in Swift?

Open Chaojidahoufeng opened this issue 1 year ago • 0 comments

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?

Chaojidahoufeng avatar Feb 11 '23 16:02 Chaojidahoufeng