Closed matiasvillaverde closed 4 years ago
I tried to use the library from an iOS app, and everything is compatible except that the compiler gets a bit confused of where to useCGFloat.
CGFloat
While trying to compile we get this error Use of undeclared type 'CGFloat'
Use of undeclared type 'CGFloat'
This gets fixed by adding a compiler flag to know if we need to import CoreGraphics on iOS.
CoreGraphics
Just be able to compile on iOS
Fixed per #34
Now available in https://github.com/MrLotU/SwiftPrometheus/releases/tag/1.0.0-alpha.7
I tried to use the library from an iOS app, and everything is compatible except that the compiler gets a bit confused of where to use
CGFloat
.While trying to compile we get this error
Use of undeclared type 'CGFloat'
This gets fixed by adding a compiler flag to know if we need to import
CoreGraphics
on iOS.Steps to reproduce
Expected behavior
Just be able to compile on iOS