jrendel / SwiftKeychainWrapper

A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.
MIT License
1.59k stars 340 forks source link

Add conditional logic for `CGFloat` accessories #157

Closed sbertix closed 4 years ago

sbertix commented 4 years ago

CGFloat is not part of Foundation, so when imported, for instance through SPM, in packages not importing CoreGraphics, UIKit or SwiftUI, it won't compile. Wrapping CGFloat accessories into conditional statements solves the issue.