Comment Comment by protomyth I was looking at the example and their are a fair number of commas. If you pass 3 selectors it is longer. UIColor.colorWithRed(red/100.0, green:green/100.0, blue:blue/100.0, alpha:1.0) vs [UIColor colorWithRed:red/100.0 green:green/100.0 blue:blue/100.0 alpha:1.0]; >And what would be the point of having something that looks like Objective-C?Because the name of the function is not colorWithRed(), it is colorWithRed:blue:green:alpha:. parent protomyth 14 years ago
Because the name of the function is not colorWithRed(), it is colorWithRed:blue:green:alpha:.