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.
Wow – I didn’t see this one coming – but after two decades working for Apple, Jony Ive is leaving Apple and striking out on his own with a new creative venture – LoveFrom. Jony Ive talks to FT Global Technology Correspondent @tim about why he’s leaving and what the future has in store.
If you haven’t been following this series over the last few weeks, @shawncrowley has posted the final part of a four-part series looking at some of the ins and outs of putting together a great software development contract. It’s a great reference to keep at hand especially if you’re an indie or freelancer. (Part 1, Part 2, Part 3, Part 4)
With iOS being such a privacy-focused OS, having to ask permission to access the camera, users location, microphone or more is not unusual and in fact. As part of digging around the some of the new permission changes in MapKit and Core Location this week I came across this article from @maria_rosala from back in April (I must have missed at the time) but I thought I’d include it this week as it does a good job of highlighting the importance of thinking carefully about both when to ask for permission and how you word your entries in your Info.plist.
In this article @v_pradeilles digs into two new features introduced in Swift 5.1 – Property Wrappers and Function Builders – and in doing so, explains how you can leverage their benefits in your own code.
Integrating Core Data with Diffable Data Sources
As I mentioned last week, I’m a big fan of the new DiffableDataSource APIs introduced in iOS 13. This week, @justjs_dev has posted this article that shows you how to use them in conjunction with Core Data and along the way has come up with a useful workaround for a question I asked on Twitter a few weeks ago. Thanks for this one Julian!
I like articles like this one from @rockthebruno as they do a great job of highlighting some of the lesser-known gems within the Foundation framework. You may not use them all the time, but for those times when you need them, knowing that they are there can save you a huge amount of time.
You may already be aware, but the traditional peek and pop we’ve grown to know (and love? ?) are getting a re-vamp in iOS 13 in the form of Context Menus. @zntfdr has been taking an in-depth look at the new changes and the good news – they work on both 3D touch and non-3D touch devices.
If you’re looking to get up to speed with Apple’s new Combine framework then check out this article from @twannl which walks you through some of the different types of publisher and subscriber that are available in Combine and also comes with a playground which is a great way to experiment with them yourself.
@rckim77 takes us on a journey through scroll views on iOS exploring and refining two different approaches to implementing a fluid scrolling experience within draggable list view similar to that seen in Apple maps.
CoreHaptics in iOS 13 has received another bump in functionality this year which includes the ability to design your own haptic experiences through the use of a new AHAP file. To make creating with these new files easier, @theandreamazz has put together this new online tool that makes it really easy to create your own patterns and associated AHAP file.