Skip to content

Better way to assign type #1

@khawars

Description

@khawars

Hi @gali8. Thank you for great work :)
This is not a bug, but I just wanted to describe my experience with this code.
There should be a way to assign an Enum to regexPatternEnum instead of a number. Like:
myTextField.regexPatternEnum = .Email

Currently, it is
myTextField.regexPatternEnum = 9

which is not very descriptive.

Please add this feature in future version of this code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions