tkach / PinCodeTextField

MIT License
260 stars 100 forks source link

Cannot inherit from PinCodeTextField #32

Open alexruden opened 6 years ago

alexruden commented 6 years ago

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!

tkach commented 6 years ago

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