Skyscanner / SkyFloatingLabelTextField

A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.
Apache License 2.0
4.09k stars 540 forks source link

Add matchingType property #245

Closed ajijoyo closed 5 years ago

ajijoyo commented 5 years ago

i add MatchingType enum for simply check validation using regex, i have added to on readme.md, and test case

k0nserv commented 5 years ago

Hey @ajijoyo, I've been thinking about validation and there have been previous PRs looking at it(#157). However if we are going to support first class validation I would like to have a more generic/extensible system. Something like what I described in https://github.com/Skyscanner/SkyFloatingLabelTextField/pull/157#issuecomment-317719062 is what I think we should go for.

k0nserv commented 5 years ago

Closing this due to lack of activity. Feel free to repopen or contribute in #157