I've got this line of code in Objective-C and I absolutely need to "translate it" to Swift.
BOOL hasBlur = blurRadius > __FLT_EPSILON__
Unfortunately I get this error:
Use of unresolved identifier __FLT_EPSILON_
Can you help me? Thanks
For swift 3.1 OR above
CGFloat.ulpOfOne
OR
Double.ulpOfOne
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With