Skip to content

readefries/IBAN-Helper

Folders and files

NameName
Last commit message
Last commit date
Apr 23, 2021
Sep 8, 2023
Sep 8, 2023
Apr 9, 2021
Oct 6, 2020
Dec 9, 2020
Dec 9, 2020
Jul 13, 2021
May 21, 2013
Apr 9, 2021
Dec 3, 2020
Dec 9, 2020
Apr 23, 2021
Dec 9, 2020
Dec 9, 2020
Apr 22, 2021

Repository files navigation

RFIBAN-Helper

CI Status Version License Platform Carthage compatible

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 and Carthage.

CocoaPods

To install it, simply add the following line to your Podfile:

For Swift 5 use

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

For Swift 4 use

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

For Swift 3 use

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

For Swift 2.3 use

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

Carthage

Add this line in your Cartfile:

github 'readefries/IBAN-Helper' ~> 4.0

This library is available on Carthage starting from version 3.0.3.

Author

Hindrik Bruinsma, hbruinsma@xs4some.nl

License

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