InnerDesignableView
open class InnerDesignableView : UIView
Inherit custom subview from this class instead of UIView, mark it as @IBDesignable, set the file’s owner and do not set the View’s class, => It renders in the IB!
-
Undocumented
Declaration
Swift
required public init?(coder aDecoder: NSCoder)