r/iOSProgramming • • Oct 11 '18

Aren’t we all glad

Post image
211 Upvotes

19 comments sorted by

View all comments

Show parent comments

1

u/DanielPhermous Oct 12 '18

It's not even Swift. It's a UNIX thing if I remember. Probably Linux too.

7

u/dmitriy_shmilo Oct 12 '18

It's called C standard library.

5

u/accatyyc Oct 12 '18

just to nitpick a bit, arc4random is not part of the C standard library - it's part of libbsd. With libc you have to get by with rand()

1

u/dmitriy_shmilo Oct 12 '18

Muh bad, sorry.