Aug 11
Sometimes we may need to call an action every time a toggle changes instead of relying purely on a state property to keep our toggle up to date. Luckily this is easy to do. An action can be ...
Jun 8
SwiftUI now has the ability to add a search bar in iOS 15. This is done through the searchable() modifier which adds a search bar under your navigation view automatically. To get started, we ...
Mar 8
Introduction Fetching JSON data from a remote API really is the bread and butter of iOS development so it’s important for you to know how to do it in a neat and reusable way. Today, we will ...
Jul 5
In this article, you’ll learn about all the modifiers you may need for laying out text in SwiftUI. Feel free to come back any time as a reference, this article has been designed to be ...
Jun 13
In this guide, you’ll learn how to start a new Xcode project without storyboards. I prefer to take a full programmatic approach to laying out my UI so when I start a new project, I alw ...
Jun 5
The Swift Package Manager is a dependency manager built straight into Xcode. Apple added official support for it in Xcode 11 and it has been getting better ever since. Using SPM means all de ...
May 30
Carthage is a dependency manager that makes using third party dependencies in your project easy. It’s slightly different to its more popular counterpart Cocoapods, where instead of cre ...
May 22
Dependencies allow us to use other people’s code in our own projects. A good way to add dependencies to your own Xcode project is to use a dependency manager. In this guide, we will be ...
Feb 29
Today, we are solving a common issue that many developers face; how to hide the keyboard after it has been used to fill out information. This is vital for your app because if the keyboard do ...
Oct 1
Xcode 11 includes a bunch of exciting new features. Today we have a look at the main features that will be useful in everyday life. Language Updates and Version Updates Xcode 11 finally brin ...
Sep 6
When I’m working on a swift project, I sometime’s get the urge to know how many lines of code I have actually written. It would be interesting to see. However, I’m not just ...
Aug 17
Sometimes, when using a UITabBarController, you want to push a new view controller without the tab bar. Unfortunately, the default behaviour for a UITabBarController is to show the tab bar n ...