/IBAN-Helper

IBAN Helper

Primary LanguageSwiftOtherNOASSERTION

RFIBAN-Helper

CI Status Version License Platform

A Swift helper class to validate IBAN accounts. Feel happy to contribute!

The dataset used to validate the accounts, is from the UN/CEFACT - TBG Finance site.

Usage

  let IBAN = "GB82WEST12345698765432" //remove spaces -> the specs state IBAN should never be stored with spaces

  let result = RFIBANHelper.isValidIBAN(IBAN)

Requirements

Installation

RFIBAN-Helper is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RFIBAN-Helper', '~> 2.0.1'

For Swift 2.3 use

pod 'RFIBAN-Helper', '~> 1.0.3'

Author

Hindrik Bruinsma, de@readefries.nl

License

RFIBAN-Helper is available under the MIT license. See the LICENSE file for more info.