SwiftRandom icon indicating copy to clipboard operation
SwiftRandom copied to clipboard

Simplified asMethod names (recommendation)

Open jalakoo opened this issue 6 years ago • 0 comments

Suggest removing the random prefix to all the asMethods. So class level methods like:

Randoms.randomInt(10,20)
Randoms.randomString(ofLength: 16)
Randoms.randomFakeName()

become shorter to:

Randoms.int(10,20)
Randoms.string(ofLength: 16)
Randoms.fakeName()

jalakoo avatar Oct 09 '17 03:10 jalakoo