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 here we are – Issue 211 and what is going to be the last issue of 2019! Like last year, I’m going to take a couple of weeks off over the holiday season to have a bit of a break, relax, recuperate and generally disconnect from tech as much as I can. Before then though (and before we dive into the links this week), I did just want to take a moment to say thank you for all your support and encouragement over the last year. With so many new things announced from Apple and the Swift and iOS development community, it’s been great to hear that people are still finding Swift Developments useful for discovering new and existing projects and I really appreciate your continued support and the feedback and suggestions that you have provided. After all, aren’t we all trying to get better? 🙃 For now, further improvements are going to have to wait until next year though so until then, I hope you have a wonderful holiday season if you’re celebrating, remember to take some time to relax and I’ll be back in your inbox in the New Year! Enjoy!
I’m always surprised at the sheer amount of power available in Apple’s Vision framework. This article from @chughanupam highlights another such example – a new addition to the framework this year – the ability to determine the similarity of two images. It’s a perfect fit for apps that detecting duplicate images, grouping and searching images or even for analysing a person’s signature to see if it is a forgery.
If you’ve done any programming with SwiftUI you’ll probably be familiar with triggering code using the
onTapGesture modifier but SwiftUI also supports a whole host of additional gestures such as drag, magnification, rotation and long-presses that you can use within your UI designs. @simonng walks you through some of the most common ones.
Now that you’ve got to grips with Gesture in SwiftUI, let’s put it into practice with this step-by-step tutorial from @mecid that shows you how to build your bottom sheet similar to the one in Apple’s Maps app.
This tutorial from @TheMikeKatz walks you through the basics of animations in SwiftUI starting with simple animations and animation timings through to more complex spring and geometry-based animations as well. It’s a great primer to get you started.
If you’ve read the previous article and are looking to put some of your new-found animation skills into practice then check out this article from @myridiphis that walks you through the steps for creating a custom animated control in SwiftUI.
Organised by @twostraws, but written by multiple authors and speakers from across the community, “Swift for Good” is a new book bringing together chapters on some of the most important topics facing Swift developers today from API design to SwiftUI and beyond. It’s a great initiative with all the authors donating their time and knowledge for free and 100% of the proceeds being donated to Black Girls Code a charity focused on empowering girls of colour between the ages of 7 and 17 to build their own future by becoming innovators and leaders in STEM fields and their communities through exposure to computer science and technology. I’d encourage you to check it out.
If you’re looking for something to watch over the Christmas break then we have two sets of conference videos for you this week. First, we have set of videos from @iosdevcampdc 2019 – a small one-day, one-track conference focused on iPhone and iPad development with talks cover topics such as Machine Learning on iOS, SwiftUI, ARKit, functional programming and more.
Our second set of conference videos this week come from this year’s @SwiftServerConf. There’s are some really interesting talks in here, and I’m looking forward to spending some time over the break settling down to watch a good quantity of these.
Not directly developer-related but a really interesting video none-the-less. In this talk from Black Hat USA 2019, Apple’s head of Security Engineering and Architecture @radian discusses some of the security features built into iOS 13 and macOS Catalina that lets users use the Find My feature to find their lost devices without divulging sensitive information to Apple.