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

Advantages from using this library #31

Open
Nikoloutsos opened this issue Dec 28, 2021 · 3 comments
Open

Advantages from using this library #31

Nikoloutsos opened this issue Dec 28, 2021 · 3 comments

Comments

@Nikoloutsos
Copy link

Nikoloutsos commented Dec 28, 2021

Hi there, looks interesting 🎉
I read the readme and I'm still having a question.

What's a real world scenario where this library could help.
And what are the advantages of using this library?

Will this make my code more readable? So it's like a syntactic sugar?

I think this question could be answered in the readme. What do you think?

@gkaimakas
Copy link
Owner

Hey @Nikoloutsos

Thanks for opening this! This library is a port of a javascript library. The idea behind this was that it would make form validation easier and safer than each time rolling out a solution of your own.

@gkaimakas
Copy link
Owner

gkaimakas commented Jan 12, 2022

@Nikoloutsos

I knew I had an example project somewhere. https://github.com/gkaimakas/SwiftValidatorsReactiveExtensions/tree/master/Example shows an implementation of a form using this library along with ReactiveSwift. Not sure if it builds since it's a pretty old demo but if are comfortable enough with ReactiveSwift you might want to give it a look.

@Nikoloutsos
Copy link
Author

Thank you I will give it a read when I find some time!

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

2 participants