Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot inherit from PinCodeTextField #32

Open
alexruden opened this issue Jun 26, 2018 · 1 comment
Open

Cannot inherit from PinCodeTextField #32

alexruden opened this issue Jun 26, 2018 · 1 comment

Comments

@alexruden
Copy link

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
Copy link
Owner

tkach commented Jun 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants