I have a custom view (xib) that has a UIButton inside of it, I made id IBDesignable doing the following:
xib
UIButton
IBDesignable
UserView.swif
Unfortunately, you can't use IBOutlets within a IBDesignable. Better answer for you here:
Live Render IBOutlet Connected Subviews Via IBInspectable Properties
Perhaps you wanted to have your UserView extend UIButton, rather than UIView?