There is a screen (CollectionViewController): 
Also I have a class where there are settings for the cell. 
I tied this class to a cell, assigned an identifier = "cell" to the cell. And when I try to tell Xcode that this cell has an ImageBoard, an error occurs when the program is running.
Without .. as! CellPhoto .. as! CellPhoto works fine, but I need to work with the cell. I would be very grateful if you tell me where I was wrong.
PS As far as I understand, because of the exclamation mark, an error occurs, because Cell cell is nil!
Pss
The issue is resolved, it was necessary to completely remove the register method! Thanks for the help :)

