Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mike-lischke/ibantools
Tools for generating and validating IBANs (International Bank Account Numbers)
https://github.com/mike-lischke/ibantools
Last synced: about 1 month ago
JSON representation
Tools for generating and validating IBANs (International Bank Account Numbers)
- Host: GitHub
- URL: https://github.com/mike-lischke/ibantools
- Owner: mike-lischke
- License: gpl-2.0
- Created: 2015-01-11T11:16:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T08:05:05.000Z (over 4 years ago)
- Last Synced: 2023-08-16T15:59:40.271Z (about 1 year ago)
- Language: Swift
- Size: 1.63 MB
- Stars: 10
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IBANTools
Tools for generating and validating IBANs (International Bank Account Numbers)This Swift framework comprises a number of static utility functions usefull for banking applications. There are functions to create and verify IBAN numbers, retrieve a BIC from an IBAN or account number, account number checks and financial institute information. It uses informations provided by the European Central Bank plus country specific data (currently Germany only, provided by the Deutsche Bundesbank).
# Extensibility
The entire concept is made to allow flexible enhancements for other countries where needed. Simply add a new Swift class like DERules.swift to the source folder (and project) and the rules will automatically be picked up if you follow the same naming scheme (upper case country code + "Rules" as class name). You should also add unit tests for such an implementation, by adding an IBANToolsXXTest.swift class in the tests subfolder (and the project). Similar for account checks, if there are any.# Usage
The package is a framework that you can either compile separately and just use the compiled framework or add the entire project as subproject to yours.