agens-no / AGGeometryKit

Quadrilaterals on CALayer, CGGeometry-functions, UIView/CALayer properties and other invaluable tools.
Other
1.27k stars 130 forks source link

Make static analyzer not warn about NSNumber * pointer values as boolean #54

Closed skagedal closed 6 years ago

skagedal commented 6 years ago

Hi again! Here's another PR.

I don't know why, but these static analyzer issues show up when I build my project (with AGGeometryKit as a pod) – they don't show up when I run Analyze in the AGGeometryKit itself.

These changes should be identical in behavior to the previous code, but maybe someone who understands the code should also verify that it indeed is also the intended behavior. :)

hfossli commented 6 years ago

Released as 1.2.9! 🎉Thanks a lot!