This is currently just a blind but educated guess, but using Class.self might be what you want.
collectionView.registerClass(MyCoolViewCell.self, forCellWithReuseIdentifier: "MyCoolViewCell")
This is currently just a blind but educated guess, but using Class.self might be what you want.
collectionView.registerClass(MyCoolViewCell.self, forCellWithReuseIdentifier: "MyCoolViewCell")