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, busy week! So three new iPhones, a new edition of the Apple Watch and iOS 12 now out in the wild! As I mentioned last week, for me, the Apple Watch is the device that stole the show with some great new features that I really hope get rolled out to non-US markets in the near future. As you might expect, with all the excitement this week there’s also been some great articles as well so let’s take a look at what’s been happening around the community.
Some of the most successful apps are those that trigger an emotional response in their users but how do you foster this in your own app designs? @lisazeitlhuber walks you through some of the basics.
@nathangitter has been doing some great work with ARKit lately, exploring the boundaries of what is possible with this developing technology. In this article, he documents some of the lessons he’s learnt and discusses the importance of building prototypes when exploring the future of mobile interaction design.
With the arrival of the iPhone XR, XS and XS Max comes a new set of screen sizes. @geoffhackworth has been digging into the detail and looking at what this means for your app designs. He also has a second article that covers the Apple Watch Series 4 as well!
@danielemargutti has been on the optimization trail this week looking at the chicken-and-egg problem of needing to know the size of an image in order to update your layouts in advance of downloading the image itself. It’s an interesting look at some of the internal structure of different image formats.
Stack views have been a boon for UI layouts automatically creating many constraints on our behalf. In addition to creating constraints though, you can also use the internal margins of Stack Views to help with the layout of your content. @kharrison shows you how.
As team size increases, so do the issues of scaling your Xcode project. Tuist is a new Xcode project generation tool from @pepibumur that helps address this problem, generating your Xcode project files from an externally defined manifest file.
When working with server-side Swift, it’s common to use templating libraries such as Stencil, Mustache, Handlebars, and Leaf. Whilst these libraries can speed up development, they’re not without their issues. @mbrandonw and @stephencelis have taken a different approach building a new HTML library written in Swift that is perfect for building HTML views for your Swift-powered websites.
To accompany all the new goodies announced at the keynote this week Apple have also published a number of new tech talk videos that provide details about developing for both the Apple Watch Series 4 and the new iPhone XR/XS/XSMax. Worth checking out.