Closed bmichotte closed 9 years ago
Nice, thanks for adding that check.
I wonder if we should add a centralized helper for that check... but I can't think of where. Maybe a future refactor.
I'm down a rabbit hole at the moment, getting specs to run again for OS X. They've been broken for a long time, and there are legitimate bugs!
I thought of adding something like ˋNSColor.rgba(r, g, b, a)ˋ and do the check in this method. Can refactor it if you want
So ˋ does not work on iPhone ;)
Yeah let's do that, it'll be easier for people to use that code as an example in the future.
Here we go !
Nice! I've got my spec fixes on another branch, merging next.
has been introduced on 10.9
This PR add a test for NSColor responding to this method, otherwise call
thanks