bennyguitar / Colours

A beautiful set of predefined colors and a set of color methods to make your iOS/OSX development life easier.
MIT License
3.09k stars 300 forks source link

Semantic issue on function fabsf warning in Xcode 6.3 #33

Closed gzfrancisco closed 9 years ago

gzfrancisco commented 9 years ago

I just update to Xcode 6.3 and the compiler sends me 2 warnings:

Project/Pods/Colours/Colours.m:663:9: Absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value

Project/Pods/Colours/Colours.m:670:27: Absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value

I can make the change, but I'm not sure if its a great idea. If you need help, I can make the pull request.

bennyguitar commented 9 years ago

Yeah you should open a pull request to fix. I don't have a ton of time to update this repo over the next couple days. If you submit a pull request, also bump up the podspec version to x.x.(x + 1) and I'll tag and push a new spec up to Cocoapods.