Code Monkey home page Code Monkey logo

apvalidators's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apvalidators's Issues

Usage with Swift

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?

Loading ZipRegex.plist issue

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 в основной бандл. Но это костыль. Инвестигейтить в чем проблема не стал. На первый взгляд все должно работать.

Suggestions

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.

Cannot archive in xcode 13

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 ?

amex cvn (cvv) = 4 digits

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)

Feature request: support of multiple types of text inputs

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.