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.
So it’s here! The much rumoured and heavily anticipated 16 inch MacBook Pro has finally arrived! I’m great to hear that Apple has taken, let’s politely call it, a ‘new direction’ with the keyboard and in doing so have hopefully fixed many if the issues that have plagued recent models. With better cooling, more RAM and the option for a frankly ridiculous amount of hard drive space (8TB! Seriously!), a new purchase may well be in my future! Until then let’s take a look at some of the best and most interesting links from around the community this week. Enjoy.
We’ve heard so much about ABI stability over the last few years and with it finally shipping in Swift 5 you might be wondering what all the fuss was about. This article from @gankra_ goes a long way to explaining and does a good job illustrating the elegance of the solution chosen for Swift. It’s a good read if you’re interested in what is going on under the hood.
Another interesting article from @mattt – this time on how to store secrets such as API keys and access tokens on a users device in a secure manner. His conclusion might not be what you expect.
Really interesting article from @mhollemans looking at how to integrate CoreML into the Combine framework by using CoreML as an operator within a larger reactive event processing chain.
CreateML has come a long way over the last couple of years. One of the new features added at WWDC this year was support for on-device sound classification and with Create ML’s new standalone app, adding these features to your own app has never been easier. @chughanupam shows you how.
Once you’ve got the basics of SwiftUI nailed and have wrapped your head around bindings, the natural progression is to look at how to perform basic navigation between two SwiftUI views. If you’re just getting started, @mataharimau has you covered with this step-by-step tutorial showing you how to implement the navigation of a master-detail app.
Although I think the Swift Package Manager is a great step forward for the community, one of the problems it has is how to discover third-party packages. SwiftPM Catalog from @helje5 makes this easier, providing a useful macOS front-end to browse and search @daveverwer‘s SwiftPM Library direct from your desktop. Useful little tool.
As we near the end of the year your mind might be turning toward planning for next year and which conferences you might look to attend. A great place to start is this list from @twostraws which provides dates, links and a useful description of each event to let you get a feeling for the conference if you haven’t attended before.
For your viewing pleasure this week, the team at #Pragma Conference have been gradually releasing a whole bunch of videos from this years event – over 19 when I last checked. Honestly, I haven’t managed to make my way through all of them just yet, but the ones I have watched were really good.
Our second batch of videos this week come from MobileOptimized 2019 that took place on October 19th. The videos are a bit more of a mix then those from #Pragma Conf in that they reflect the two-track iOS/Android nature of the event but don’t let that put you off – all the talks I’ve watched so far (on both iOS and Android) have been great.