PaystackHQ / paystack-ios

Paystack SDK for iOS. Accept Payments on iOS
http://paystack.com
MIT License
26 stars 31 forks source link

Removed availability annotation on init method #53

Closed ahmed-paystack closed 3 years ago

ahmed-paystack commented 3 years ago

Fixes #50

Context

From Xcode 12.5 Release Notes:

Clang now infers the availability of +new from availability annotations on -init methods.

Problem identified

The availability annotation on the init method in PSTCKTransaction is throwing a semantic issue because it has been marked unavailable.

Changes made by this pull request

github-actions[bot] commented 3 years ago
Warnings
:warning: The source files were changed, but the tests remain unmodified. Consider updating or adding to the tests to match the source changes.

Generated by :no_entry_sign: Danger Swift against f96a1670bab60fb94c445b0dc8787115e3d502d1

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication