Created
May 30, 2019 22:57
-
-
Save standinga/9e78c393fbd537c0ed5d611b2a9c7b0b to your computer and use it in GitHub Desktop.
CustomView.swift for medium post about UICollectionView inside UIView
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 func initCollectionView() { | |
let nib = UINib(nibName: "CustomCell", bundle: nil) | |
collectionView.register(nib, forCellWithReuseIdentifier: "CustomCell") | |
collectionView.dataSource = self | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment