SwiftUIPager icon indicating copy to clipboard operation
SwiftUIPager copied to clipboard

use custom 'PagerData' protocol for data to avoid unexpected slowness

Open gfreezy opened this issue 3 years ago • 1 comments
trafficstars

Do not convert the input data to array to invalidate lazy effects.

Usecase:

Photos PHFetchResult is a lazy object. Converting it to an array cost a lot of time if you have a large number of photos.

gfreezy avatar Sep 25 '22 18:09 gfreezy

Seems SwiftUIPager.xcodeproj is useless. We should remove it to avoid confusion

gfreezy avatar Sep 25 '22 18:09 gfreezy