Skip to content
New issue

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

collectionView as? CustomCollectionView == nil ???? #39

Open
tanjt223 opened this issue Jun 21, 2018 · 1 comment
Open

collectionView as? CustomCollectionView == nil ???? #39

tanjt223 opened this issue Jun 21, 2018 · 1 comment
Labels

Comments

@tanjt223
Copy link

tanjt223 commented Jun 21, 2018

hello everyone, why i print placeholderCollectionView is nil ? i use code to create the collectionview like:

class CustomCollectionView: CollectionView {
    override func customSetup() {
        placeholdersProvider = .custom
    }
}
class vc: UICollectionViewController {
   var placeholderCollectionView: CustomCollectionView? {
        return collectionView as? CustomCollectionView
    }
}
@shls77cxl
Copy link

met the same problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants