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

Fix +colorWithRGBAArray: and +colorWithRGBADict: to use float values #15

Closed mureev closed 10 years ago

mureev commented 10 years ago

Both methods (+colorWithRGBAArray: and +colorWithRGBADict:) contains bug. They use int values of NSNumber in array/dictionary. But if you try to get array/dictionary with -rgbaArray: and -rgbaDict: you will get float values.