3 ms·
Can you expand on this?
by hiq 7y ago
Can you expand on this?
- pjmlp 7y agoSwift still doesn't have a mature standard library implementation that works across all platforms. So you have to do OS specific imports directly, for basic stuff like calling a random number generator or handling IO. It is even done so on the introduction pages, https://swift.org/getting-started/ https://swift.org/getting-started/ Foundation outside Apple platforms is pretty much WIP.
- zerr 7y agoInteresting, although, at least they have a cross-platform random now (Int.random, Float.random, ...).