class CustomView: UIView { var subViewColor:UIColor var subViewMessage:String override init(frame:CGRect) { super.init(frame:frame) }
Foe me it was calling a xib that doesn't exist from custom view initialiser in Bundle.main.loadNibNamed("XibNameThatDoesntExist", owner: self, options: nil) `
Bundle.main.loadNibNamed("XibNameThatDoesntExist", owner: self, options: nil)