I\'ve seen a number of similar questions, but many aren\'t up-to-date, and none have fixed my issue.
I have a custom Xib and class, CardView. When I try to
In case someone still having this problem, I have the same problem and I think we follow same tutorial.
You have called loadNib() in your xibSetup(). I think you don't have to call it again.
So instead of using
let myCardView = CardView().loadNib() as! CardView
I just use
let myCardView = CardView()