iOS-PDF-Reader icon indicating copy to clipboard operation
iOS-PDF-Reader copied to clipboard

Newer version required Swift 5

Open msaqlainbhatti opened this issue 3 years ago • 3 comments

installing the pod from the repo, first build always ask few changes to newer version Files PDFPageView Line 90 & 107 to contentView.sendSubviewToBack(backgroundImageView) decelerationRate = UIScrollView.DecelerationRate.fast

Similarly PDFViewController Line 119 public var scrollDirection: UICollectionView.ScrollDirection = .horizontal {

Please review and update the following line of code for newer versions of swift lang,

msaqlainbhatti avatar Mar 19 '22 23:03 msaqlainbhatti

FROM: 90 contentView.sendSubview(toBack: backgroundImageView) TO: 90 contentView.sendSubviewToBack(backgroundImageView) Error: 'sendSubview(toBack:)' has been renamed to 'sendSubviewToBack(_:)' FROM: 107. decelerationRate = UIScrollViewDecelerationRateFast TO: 107. decelerationRate = UIScrollView.DecelerationRate.fast Error : 'UIScrollViewDecelerationRateFast' has been renamed to 'UIScrollView.DecelerationRate.fast'

FROM: 119. public var scrollDirection: UICollectionViewScrollDirection = .horizontal { TO: 119. public var scrollDirection: UICollectionView.ScrollDirection = .horizontal { Error: 'UICollectionViewScrollDirection' has been renamed to 'UICollectionView.ScrollDirection'

msaqlainbhatti avatar Mar 20 '22 00:03 msaqlainbhatti

bitrise is not building thew build

msaqlainbhatti avatar Mar 20 '22 00:03 msaqlainbhatti

yes please

periva101 avatar Jan 08 '23 18:01 periva101