I have spotted my mistake!
When setting up the Cocoa Touch Class, I was not observant enough!
I chose UICollectionViewCell and I should have chosen UIViewController.
Topic:
Programming Languages
SubTopic:
Swift
Tags: