Closed alobaili closed 3 years ago
https://github.com/alhazmy13/IBAN-Validator/blob/93d82bc1b6e73ca4d9e0eafc33b2fce54bf282e3/IbanValidator.swift#L1
The UIKit import here is unnecessary, the code only uses Swift Standard Library features. Removing the UIKit import will allow this file to be used in all platforms where Swift is supported including Linux.
UIKit
BTW, I came from here: https://github.com/SaudiOpenSourceCommunity/SaudiOSS 😀
Thanks @alobaili Fixed with https://github.com/alhazmy13/IBAN-Validator/commit/7670f2642cab57696e75bc491ff2c5a66de969b8
https://github.com/alhazmy13/IBAN-Validator/blob/93d82bc1b6e73ca4d9e0eafc33b2fce54bf282e3/IbanValidator.swift#L1
The
UIKit
import here is unnecessary, the code only uses Swift Standard Library features. Removing theUIKit
import will allow this file to be used in all platforms where Swift is supported including Linux.BTW, I came from here: https://github.com/SaudiOpenSourceCommunity/SaudiOSS 😀