alterplay / apvalidators Goto Github PK
View Code? Open in Web Editor NEWCodeless solution for form validation in iOS!
Home Page: https://cocoapods.org/pods/APValidators
License: MIT License
Codeless solution for form validation in iOS!
Home Page: https://cocoapods.org/pods/APValidators
License: MIT License
Hi,
For iOS projets it's will be great to make your component Carthage compatible
Take a look at these articles:
On your README.md
add on top and add section for the installation with Carthage.
Hi, I've been trying to use this pod in a Swift project of mine but it keeps failing to build. Should I just add APValidator.h class to my bridge header file or also each validator as well?
I use library through CocoaPods.
Trouble when create a path for resource
NSBundle *bundle = [NSBundle bundleForClass:[self class]]; NSString *path = [bundle pathForResource:@"ZipRegex" ofType:@"plist"];
Словарь алокейтится пустым. Решил проблему скопировав plist в основной бандл. Но это костыль. Инвестигейтить в чем проблема не стал. На первый взгляд все должно работать.
Hi,
I'm using APValidator on a project and i think my suggestions could be a good improvement, correct me if i'm wrong.
1 - APCompoundValidator could be able to manage many outlets, for example if i have 2 password textfields it would be perfect if i just add those textfield to the same compound (right now i need to create a compound for each validator).
2 - APRequiredValidator it would be perfect if i could add the minimum number of characters (right now APRequiredValidator only check if the string is empty.).
3 - If i had a required validator and a email validator in the same textfield, the required validator should be a higher priority, so, if the validations pass the required validator, that means the textfield isn't empty, so i will go to another validator if exists. Now i have exactly that example with an empty string on textfield and they give the error message of email validator when they should give me a required validator message.
Thank you for your time.
After updating to xcode 13.0 I am facing following error:
Unexpected duplicate tasks:
1) Target 'APValidators' (project 'Pods') has copy command from '/Users/monica/Workspace/hla360-ios/Pods/APValidators/Pod/Classes/Private/CountryRegexLoader/ZipRegex.plist' to '/Users/monica/Library/Developer/Xcode/DerivedData/HLA-fvyquzwxtgvwbmdsuvepucjcfuzn/Build/Intermediates.noindex/ArchiveIntermediates/HLA/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/APValidators.framework/ZipRegex.plist'
2) Target 'APValidators' (project 'Pods') has copy command from '/Users/monica/Workspace/hla360-ios/Pods/APValidators/Pod/Classes/Private/CountryRegexLoader/ZipRegex.plist' to '/Users/monica/Library/Developer/Xcode/DerivedData/HLA-fvyquzwxtgvwbmdsuvepucjcfuzn/Build/Intermediates.noindex/ArchiveIntermediates/HLA/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/APValidators.framework/ZipRegex.plist'
Can you please help to resolve this issue ?
Hi excited to try your control.
As I was evaluating noticed the CVV validation was limited to 3 chars and amex cards carry 4 chars. Sure I can adjust the 3 to 4 in regex but in order to keep user input errors to minimum is this something I can do with a compound object? I'm not sure, I'll dig in deeper but in meantime if you get this before i come up with answer what is your recommendation? Is there a flag or something I can evaluate to adjust the field object for the cc number? ie, isAmex (then I can set set CVV validator to 4)
Hi,
I don't know you guys are planning this but it would be nice, if not only UIKit text inputs can be validated but other custom types. For example I'm using Material Control For iOS's MDTextField, unfortunately it's a UIControl only.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.