8 September 2019Allowing users to manage their Siri Shortcuts in your appIn 2018, Apple announced Siri Shortcuts, which allow users to interact with apps through Siri and the Shortcuts app without opening the app directly. In this tutorial, we'll explore the best way to let users add and manage their shortcuts in your app, including making a custom screen.
14 July 2019Performing cryptographic operations with CryptoKit on iOS 13Apple recently introduced a new framework named CryptoKit at WWDC19. In this tutorial, we'll explore how to perform different cryptographic operations using CryptoKit, including signing data, encrypting information, creating hashes, and performing key agreement.
8 July 2019Adding support for Sign in with Apple to your appAt WWDC 2019, Apple introduced Sign in with Apple, a new feature that allows people to sign in or sign up with just a tap using the Apple ID they already have. In this tutorial, we'll explore how to add support for Sign in with Apple to your app and allow users to use it.
25 June 2019Integrating Core Data with Diffable Data SourcesTable and collection views in iOS have stayed the same for many years, but in iOS 13, Apple added a much needed feature: diffable data sources! Using the new features that were recently added to Swift, the new data sources manage calculating and animating changes in your data.
15 June 2019Scanning documents with Vision and VisionKit on iOS 13VisionKit is a new framework Apple introduced in iOS 13 that lets your app use the system's document scanner to scan documents or papers. Instead of having to manually detect and adjust documents, VisionKit handles everything for you, letting you focus on your app.
3 June 2019Supporting Dark Mode on iOS 13After years of waiting and anticipation, iOS 13 finally supports native Dark Mode! Users can choose to enable a system wide dark appearance that will be supported in all official apps. As we'll see, Apple has also made it easy for developers to add dark mode support.
1 April 2019Extending Codable: loading images and colors from JSONRecently, I began work on an iOS app and had to work with Codable, a protocol that makes converting between Swift types and JSON data incredibly easy. In this blog post, I'll explain how to use UIImage or UIColor together with Codable, so that you can load themes or images from your server.
18 March 2019My hopes and predictions for WWDC19Apple recently announced WWDC19, their annual Worldwide Developers Conference, which is taking place in San Jose, California, from June 3 to 7. Every year, over 5000 developers attend WWDC, and it has become one of the major events to attend for macOS or iOS developers.
11 March 2019Building my WWDC18 Scholarship SubmissionOn March 13 2018, Apple announced WWDC 2018. As in previous years, tickets were available via the ticket lottery, as well as Apple's scholarship program, where 350 students apply to receive a free ticket and lodging for WWDC. Although I had just started learning Swift, I decided to apply for a scholarship.
24 February 2019Adding document scanning to your app with WeScanDo you need to allow your users to scan documents or other papers? WeScan by WeTransfer is a great, fast iOS framework that allows you to easily add a document scanner to your app, with automatic document detection, PDF support, and a whole lot more. WeScan is free and available under the MIT License.
17 February 2019Loading images from asset catalogsAsset Catalogs are perfect for storing collections of images which you can then display in your app. However, it's easy to accidentally cause crashes or have to deal with optionals. In this tutorial, we'll look at 3 different ways to use asset catalog images in our code.
10 February 2019Implementing dark mode with observersWhile dark mode is now available for both tvOS and macOS, it is still not available on iOS. In this tutorial, we'll see how to set up a custom in-app theming system which lets the user pick between light and dark mode within the app, providing an alternative to a system dark mode.
3 February 2019Adding pinch to zoom support to image viewsA UIImageView is frequently used for displaying all types of images in iOS apps, but unfortunately, image views don't support any type of zooming, such as pinch to zoom. In this tutorial, we'll see how it's possible to use a UIScrollView to make any image view support pinch to zoom.