Created
June 19, 2021 17:44
-
-
Save froggomad/938b482316e17fcc35f3437c4e2e1ca9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private lazy var collectionView: UICollectionView = { | |
let collectionView = UICollectionView(frame: .zero, collectionViewLayout: Layout()) | |
collectionView.register(ProduceCollectionViewCell.self, forCellWithReuseIdentifier: ProduceCollectionViewCell.identifier) | |
collectionView.dataSource = self | |
collectionView.translatesAutoresizingMaskIntoConstraints = false | |
return collectionView | |
}() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment