error: Semantic Issue: Interface type cannot be statically allocated? You're probably missing '*' before imageWithCaptionController, your line should be