Skip to content

Lets you create an IBAN type out of a string or just check if a string contains a valid IBAN

License

Notifications You must be signed in to change notification settings

HHuckebein/HHIBAN

Repository files navigation

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.

About

Lets you create an IBAN type out of a string or just check if a string contains a valid IBAN

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published