Swift Developments is a hand-curated newsletter containing a weekly selection of the best links, videos, tools and tutorials for people interested in designing and developing their own apps using Swift.
Hi and welcome to Swift Developments Issue 205! Another jam-packed issue again this week with a bit of a slant toward SwiftUI (there were just so many great articles this week that I struggled to choose!) along with a whole bunch of videos to add to your playlist. Before we get to the links just a quick note that due to some family stuff there won’t be an issue next week and instead I’ll be back in your inbox with Issue 206 on November 12th. Until then enjoy the links.
If you’re looking for some advice on how to design a dark theme for your next app then look no further than this article from @Superhuman. It’s got some great tips that are worth keeping in mind.
In-app purchases are a great way to monetise your app but implementing in-app purchase can be a little tricky. This week, @gabtheodor has written an in-depth article to help you get started. It doesn’t cover *every* in-app purchase scenario, choosing to focus on how to implement consumable and non-consumable products but does walk you through things step-by-step so it’s a great place to start to understand some of the basics.
Xcode 11 and iOS 13 make it easier than ever to understand how your app is working in the field. In this article, @mattt takes a look at MetricsKit, a new framework in iOS 13, that makes it super-easy to collect and process battery and performance metrics for your app.
One of the big new features that arrived along with iPadOS is support for multiple windows – letting you open multiple instances of an application at the same time. This article from @chughanupam gives a good introduction to the new APIs and will also give you a much better understanding of how these changes affect the overall app lifecycle.
An in-depth and informative article from @a_grebenyuk that digs into the new layout system in SwiftUI and some of the features it has to offer. One to read if you’re coming up the SwiftUI learning curve.
Another key aspect to get your head around when learning SwiftUI is how SwiftUI interacts with the data that drives its state. This week, @trozware has written a detailed article on the topic that takes a detailed look at the five main ways to specify data in SwiftUI and how each option works.
There’s no doubting that SwiftUI is the hot new thing right now but is it quite ready for prime time? @brentsimmons lists some of the issues he’s encountered and I think sums up the current situation very well:
“We very much want to use SwiftUI, and we believe it’s the future of Mac and iOS development — but the emphasis should be on future because it’s not quite ready in the present.”
If you’re new to security on iOS then take a look at this two-part series (Part 1, Part 2) from fderias which introduces you to some of the basics including the Swift security APIs, symmetric vs asymmetric encryption, the iOS secure enclave and more.
As I mentioned in the intro, I’ve got a whole load of videos for you this week. First, we kick off with this list of talks from try! Swift NYC 2019. As you might expect, the talks don’t disappoint with talks on a wide range of topics including SwiftUI, Combine, Natural Language Processing and more. If you’re pushed for time (and I had to call out one talk which in and of itself is pretty difficult) I’d recommend watching @davedelong‘s talk on how to design accessible APIs – after all – we’re all API designers at one level or other.
If try! Swift videos weren’t enough, make sure that you also take some time to have a look at some of the videos from FrenchKit 2019. Again – there are some great talks to choose from including @chriseidhof talking about animations in SwiftUI, @cocoaphony talking Swift Generics, @dimsumthinking on *combining* 😜 SwiftUI and Combine and a whole lot more. So many choices!