Closed rafiki270 closed 5 years ago
Why not use the Swift 4.2 Random APIs? Is that version not available to you yet?
oh ... will have to take look :) I wasn't aware of that change/addition :) @calebkleveter also, not 100 sure I can use 4.2 yet as we'll be going into production rather soon
@tanner0101 should I close it and wait for 4.2 then?
Super useful method for me when generating random numbers for RGB colour values. As I haven't found a better way, I would suggest to make this public?
makeRandom(min: 0, max: 256)
potentially it could be called something like
randomNumber
orrandomInt
?