iOS and Swift articles

All articles aimed at iOS and Swift developers.
iOS | Swift

Manage automation tasks using Swift Package Manager

 ·  7 minute read

To perform automation tasks on Swift projects, such as linting and code formatting, we often need to use command line tools or run scripts. Let's install them and manage it all with Swift Package Manager instead!

iOS | Swift

Clear and searchable logging in Swift with OSLog

 ·  6 minute read

Logging is a useful tool for diagnosing issues and working out what an app is doing. We will explore Apple's currently recommended way of logging via OSLog, covering how to use it and managing its differences when compared to other logging approaches.

iOS | Swift

Create Xcode file templates and share them with your team

 ·  4 minute read

When creating new files in Xcode the built-in templates often contain code we immediately delete or need to alter. We will explore the process of creating our own templates and how to go about sharing them with the rest of our team members.

iOS | Swift

A modular analytics layer in Swift

 ·  7 minute read

Ensuring your analytics implementation is easy to use, alter and extend can be difficult. Let's have a look at a possible solution by building a modular analytics layer together in Swift.

iOS | Swift

Managing secrets within an iOS app

 ·  8 minute read

Almost all iOS apps have API keys and other secrets, but simple approaches for managing them can be insecure. We will look at some different options for keeping secrets out of source control and accessing them securely from your code.