HHIBAN 1.0.2

HHIBAN 1.0.2

Maintained by Bernd Rabe.



HHIBAN 1.0.2

  • By
  • HHuckebein

IBAN

What is IBAN for?

IBAN Type creates an IBAN out of string (if it is IBAN conform). In case of success provides information as counrty (as ISO3166-1Alpha2) the check sum or just the value as formatted string. If you just need to know wether a string contains a valid IBAN you can use the static method myString**.isIBAN**.

Swift CocoaPods codecov

How to use IBAN

try IBAN(with: "CH10002300A1023502601")

"CH10002300A1023502601".isIBAN

Installation

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, add HHIBAN as a dependency by adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/HHuckebein/IBAN", .upToNextMajor(from: "1.0.1"))
]

Installation with CocoaPods

You can install IBAN by including the following line in your Podfile.

pod 'HHIBAN', '~> 1.0.0'

Author

RABE_IT Services, [email protected]

License

IBAN is available under the MIT license. See the LICENSE file for more info.