You specify a connection to a UIImageView on your storyboard with the following line in your code:
@IBOutlet weak var iconImage: UIImageView!
However, that is just sort of a “declaration” of a connection. Did you actually connect the outlet with the control in your storyboard? If you did not, then iconImage would be null at runtime since there is no control connected to the outlet.