Extension is a great feature in Swift, which can help us to create helper/utility variables and method, and etc.
Use extension to conform protocols
It is quite common to use protocols in any project, with extension, we can make the code more organized.
extension CollectionViewController: UITableViewDelegate, UITableViewDataSource {
// necessary methods