Isn’t that apart of the ObjC runtime? Shouldn’t you use something equivalent from C stdlib?
Squid
1

arc4random_uniform Is part of Darvic-> C -> stdlib, so it’s C, and Swift stdlib doesn’t have it’s own rand function.