Adopting the new PHPicker
Nov 3, 2020, 6:00 PM
At this year’s WWDC Apple introduced PHPicker, a view controller that lets users add photos and videos from their photo library to your app. It supports many new features which makes it a big step up from UIImagePickerController, which is...
NSSecureCoding and transformable properties in Core Data
Jan 12, 2020, 6:00 PM
With iOS 12 Apple has started adopting NSSecureCoding across the entire platform. For Core Data this means that the default ValueTransformer, which uses NSCoding to transform a custom data type into a format that can be stored in the...
State restoration in iOS 13
Nov 19, 2019, 6:00 PM
When your app is in the background iOS will terminate your app when it needs to reclaim resources to free up memory. In case your app supports multiple scenes the system can also decide to disconnect scenes that are in the background. In...
Adding support for multiple windows to your iPad app
Nov 18, 2019, 6:00 PM
On the Mac, it is very normal to have multiple windows of the same app open at the same time. For example, multiple text documents or multiple Xcode simulators each representing a different device. We are so used to this that we don’t even...
Adopting the new scene delegate api in your app
Nov 17, 2019, 6:00 PM
With iOS 13 Apple introduced multiple window support. Users of your iPad app can now open up multiple windows, also called scenes, side by side which allows for many new powerful workflows. As before iOS 13 we were used to having a one to...
Creating a master detail interface with UISplitViewController
Aug 3, 2019, 6:00 PM
A split view controller manages the presentation of two child view controllers in a two-column layout also called a master-detail interface. The view controller displayed in the left column is called the primary (master) view controller...
Getting started with Swift package manager in Xcode
Jul 2, 2019, 6:00 PM
At this years WWDC Apple announced that Xcode 11 will contain support for using Swift packages through the Swift Package Manager. This is great news for developers of Apple platforms as it will allow us to create, publish, add, remove and...
Getting started with diffable data sources for UICollectionView
Jun 9, 2019, 6:00 PM
Last week at WWDC Apple announced a lot of exciting new features and frameworks. One of my favorites was the introduction of diffable data sources for UITableView and UICollectionView. Let us dive right in and see how it can be used in...
Tips and tricks on unit testing iOS apps
May 30, 2019, 6:00 PM
Unit testing is a great tool to ensure the quality and reliability of your code. A good test suite gives you confidence that your code does what it intends to do and that you will not introduce any bugs in your app when introducing a new...
Getting up to speed with UICollectionView layouts
Apr 26, 2019, 6:00 PM
The main advantage that UICollectionView has over UITableView is that you have full control over its layout. If you are used to working with UITableView you can get up to speed with UICollectionView fast as a big part of the API looks...
Creating a QR code scanner for your iOS app in Swift
Mar 6, 2019, 6:00 PM
A QR code, short for Quick Response code, is a two dimensional barcode. Because it stores information in both the horizontal and vertical direction it can contain more information than a traditional barcode. It can for example store a url...