We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ParallaxAttributesAnimator has no effect why ?
lazy var baseCollectionView: UICollectionView = { let layout = AnimatedCollectionViewLayout() layout.animator = ParallaxAttributesAnimator() layout.itemSize = CGSize(width: UIScreen.main.bounds.width, height: 200) layout.minimumLineSpacing = 0 layout.minimumInteritemSpacing = 0 layout.scrollDirection = .horizontal let baseView = UICollectionView(frame: CGRect(x: 0, y: 90, width: UIScreen.main.bounds.width, height: 200), collectionViewLayout: layout) baseView.isPagingEnabled = true baseView.delegate = self baseView.dataSource = self baseView.collectionViewLayout = layout baseView.register(BannerCollectionViewCell.self, forCellWithReuseIdentifier: "BannerCollectionViewCell") return baseView }()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ParallaxAttributesAnimator has no effect why ?
lazy var baseCollectionView: UICollectionView = {
let layout = AnimatedCollectionViewLayout()
layout.animator = ParallaxAttributesAnimator()
layout.itemSize = CGSize(width: UIScreen.main.bounds.width, height: 200)
layout.minimumLineSpacing = 0
layout.minimumInteritemSpacing = 0
layout.scrollDirection = .horizontal
let baseView = UICollectionView(frame: CGRect(x: 0, y: 90, width: UIScreen.main.bounds.width, height: 200), collectionViewLayout: layout)
baseView.isPagingEnabled = true
baseView.delegate = self
baseView.dataSource = self
baseView.collectionViewLayout = layout
baseView.register(BannerCollectionViewCell.self, forCellWithReuseIdentifier: "BannerCollectionViewCell")
return baseView
}()
The text was updated successfully, but these errors were encountered: