@@ -40,25 +40,25 @@ Clone this repo and throw the source files under `RandomColor` folder into your
40
40
## Example
41
41
42
42
``` swift
43
- import RandomColorSwift
43
+ import RandomColor
44
44
45
45
// Returns a UIColor or NSColor object for an attractive color
46
46
let color = randomColor ()
47
47
48
48
// Returns an array of ten green colors
49
- let greenColors = randomColors (count : 10 , hue : .Green )
49
+ let greenColors = randomColors (count : 10 , hue : .green )
50
50
51
51
// Returns a color for light blue
52
- let lightBlurColor = randomColor (hue : .Blue , luminosity : .Light )
52
+ let lightBlurColor = randomColor (hue : .blue , luminosity : .light )
53
53
54
54
// Returns a color for a 'truly random' color
55
- let randomColor = randomColor (hue : .Random , luminosity : .Random )
55
+ let randomColor = randomColor (hue : .random , luminosity : .random )
56
56
57
57
// Returns an array of ten dark pink colors
58
- let darkPinkColors = randomColors (count : 10 , hue : .Pink , luminosity : .Dark )
58
+ let darkPinkColors = randomColors (count : 10 , hue : .pink , luminosity : .dark )
59
59
60
60
// Returns an array of twenty colors at hue of 120
61
- let colors = randomColors (count : 20 , hue : .Value (120 ), luminosity : .Random )
61
+ let colors = randomColors (count : 20 , hue : .value (120 ), luminosity : .random )
62
62
63
63
```
64
64
0 commit comments