Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

ValidatableInterfaceElement conformance to AnyObject #127

Open
Steveybrown opened this issue Sep 23, 2019 · 0 comments
Open

ValidatableInterfaceElement conformance to AnyObject #127

Steveybrown opened this issue Sep 23, 2019 · 0 comments

Comments

@Steveybrown
Copy link

When trying set properties of ValidatableInterfaceElement in a subclass of UITextfield I am getting Cannot assign to property: 'self' is immutable swift error.

To resolve this I had to restrict ValidatableInterfaceElement to AnyObject. Is there a known workaround for this?

I'm happy to submit a PR if supported ?

Side note:
https://stackoverflow.com/questions/52727345/cannot-assign-to-property-self-is-immutable-swift-error

Thanks,

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

No branches or pull requests

1 participant