PinCodeTextField icon indicating copy to clipboard operation
PinCodeTextField copied to clipboard

Cannot inherit from PinCodeTextField

Open alexruden opened this issue 7 years ago • 1 comments

Want to create my class, based on your:

class MYPinCodeTextField: PinCodeTextField {
}

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!

alexruden avatar Jun 26 '18 10:06 alexruden

Sure, could you please open the PR with this changes? I'm a little bit busy so can't do this in the nearest future

tkach avatar Jun 26 '18 10:06 tkach