Agent47
Agent47

Reputation: 1

How to solve the problem below without the error ViewController has no initializers?

var collectionView: UICollectionView!
var timingsCollectionView: UICollectionView!

I was making a collection view, but I want to avoid this, when I tried to unwrap them, it showed Viewcontroller has no initialisers, how can I avoid that problem?

Upvotes: -4

Views: 41

Answers (0)

Related Questions