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 193! Back to work for me this week which, as you might expect, was a bit of a shock to the system (mainly due to having to get up early!). With that said it’s nice to be working a compressed week (five days in four) as it’s not really much of a change on those days that I *am* working but has allowed an extra day at home a week and is another step in my on-going theme to re-introducing some balance back into my life. With regards to this week’s links, I thought early in the week that I was going to struggle for content but as it turns out the community – as ever – has delivered. Here are some of the articles that caught my eye. Enjoy.
I really like articles like this. @jordanmorgan10 shares some of the lessons, from the recent launch of his long-time side project SpendStack covering everything from launch checklists to marketing, things that worked and as well as some of the things that didn’t. A great resource and thanks to Jordan for sharing.
If you’re part of any sort of development team, you’ll want to read this online ebook from the @rjs and the team at @basecamp. It contains some great advice covering everything from planning and scheduling work, organizing and growing your teams, managing risk and more. Everything you’ll need to set up an environment that lets you build stuff that you’re proud of.
We all experience our reality through light; the interaction of light with our physical surroundings. Our app designs are no different. Refine your next app design this article from Mohammed Ibrahim that shows you how to introduce balance and cohesiveness into your designs through use tint and shade.
With Swift 5.1 now available as part of the Xcode 11 Beta’s, @KaramazovShogun takes an in-depth look at all the new features including function builders, property wrappers, opaque result types, implicit returns for single-expression functions and more.
@jilliangmeehan introduces a Swift Best Practices Guide from the team at Lickability. As with most style guides, there are no hard and fast rules in here so you’ll need to make your own decisions which of the rules you do and don’t adopt but overall if you’re looking to develop a set of guidelines for your own team, this is a great place to start.
So how does method dispatch in Swift actually work? This guide from @NavRudraSambyal takes an in-depth look covering the different types of dispatch available as well as how class and protocol dispatch work under the hood.
We’ve all written those controllers that have just a little too much knowledge about other parts of the system. This article from @johnsundell illustrates one approach to tackling this problem and explains how, by refactoring large functions into a series of small self-contained rules, you can not only simplify your app logic but also make your code easier to read and maintain.
If you’re on the fence about whether you should or shouldn’t opt to generate your Xcode project then check out this article from @pedropbuendia which provides an in-depth look at some of the benefits that it can provide.
If you’ve not been following along, over the last three weeks or so, the team at @pointfreeco have published an interesting series of videos exploring the problems of application architecture and in the process explore how SwiftUI helps solve these problems. As ever, SwiftUI is obviously in beta so this post covers some of the recent SwiftUI updates but it’s also a nice jumping-off point for the three-video series.