I would like all subclasses of UIView to have a stored property IBInspectable. Unfortunately I can't use an extension of UIView, because in an extension, an IBInspectable cannot be a stored property.
The best solution I have right now is to create base sublcasses of all my UIViews (BaseUIView, BaseUILabel, BaseUIImageView, etc.), place the same IBInspectable in all of those, and have all my views be one of the base classes.
I'm not crazy about this solution.. .it's a little messy, and the list of base classes will probably need to be continually be updated. Does anyone know a better solution?