The file was generated by New File -> Cocao Touch class, previously.
With the main.storyboard open and then choosing Assistant, I get the ViewController.h for the scene I am in and not the ExploreCell.swift file that I have just generated.
The book I am following as I am a beginner, says that I should set the file as automatic but I can't seem to be able to do that.
What am I doing wrong?
All you need to do is goto File menu/New/Editor.
I think everybody above was trying to make the problem too complicated, whereas the solution was so simple if you are an expert you do not think of the simplest solution, but overkill the question when it is staring you in the face.