Swift Posts

Posts about software development written by Nick Pachulski

Addendum to UI Testing with Stubbed Network Data

This post will only be helpful to you if you intend to use Joe Masilotti’s strategy for stubbing network data in your UI Tests. You will run into a problem when you try to set a key of app.launchEnvironment to a string with an equals sign in it.

Conditionally Initializing Immutable Values in Swift

Immutability is great if you can swing it, but sometimes you run into tricky situations, like conditionally initializing an immutable value at the current scope.

Spotify.framework with Swift

From Spotify’s iOS SDK documentation: