How to Unit Test Network Code in Swift

Testing network I/O code without accessing the backend is not easy. Here is how you can mock the backend by injecting code into the URL Loading System… Read more

Similar

Run Swift inside Nix builds

While working on a Swift project, I didn’t find any tool that would allow Swift to run inside Nix builds. Even thought you can run Swift, the real problem arises when using the package manager. It has many of the same problems that other package managers ... (more…)

Read more »