But got error
Cannot inherit from non-open class 'PinCodeTextField' outside of its defining module
As I understood, you need to declare as open class instead public
@IBDesignable public class PinCodeTextField: UIView->
@IBDesignable open class PinCodeTextField: UIView
Want to create my class, based on your:
But got error Cannot inherit from non-open class 'PinCodeTextField' outside of its defining module
As I understood, you need to declare as open class instead public
@IBDesignable public class PinCodeTextField: UIView
->@IBDesignable open class PinCodeTextField: UIView
Thank you!