Can't figure out why the compiler throws this warning
Any idea how to solve it?
func configure(with classesReuseRegistry: [String: AnyClass?]) {
var collectionView = UICollectionView() // Temp collection var for testing purposes
for (key, value) in classesReuseRegistry {
collectionView.register(value, forCellWithReuseIdentifier: key)
}
}
I also want to clarify, this warning was not present before. I had similar code on this library and it was never a problem.
