How does one generate a random number in Apple's Swift language?

Since there’s many wrappers in swift for ns and other obj-c calls, why we’ve such a complicated method to generate random numbers in swift? shouldn’t it be more simpler? maybe like this ?

The review of the SE-0202 proposal is running: SE-0202: Random Unification. This means that official random support is about to come. And you can check the proposal, and contribute, too :-)

Why does Discourse displaying the stackoverflow url in the metadata of this post? Is this a tag? If it is, can you remove it. I don’t think we should encourage anyone to put urls into tags.

I saw an edit button by the title and have removed the SO link

1 Like

Awesome! thanks