Closed kpricorn closed 11 years ago
See https://github.com/sdecastelberg/sugarcube/commit/38f15918fc81b3920588e1b7c5945aa6f7282b75 for possible specs and implementation.
Ahh thank you, the "blue".uicolor
changed long ago, but I never updated the README.
"blue".uicolor => "blue".uiimage.uicolor
=> UIColor.colorWithPatternImage(UIImage.imageNamed("blue"))
Fixed in 182deb1
The uicolor method on NSString does not work as mentioned in the README
"blue".uicolor
always returnsnil
. Perhaps this behaviour is intended and the README is outdated (`:unknown_color.uicolor raises an exception, but 'unknown_color' simply returns nil)