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.
Welcome to another week of Swift Developments! Before we dive into the links this week I just wanted to mention that there isn’t going to be an issue of Swift Developments next week as circumstances have organised themselves in such a way that I’m going to be without any sort of internet connection for the week. Whilst unplugging for a week will no doubt be refreshing, it does mean that it’s going to be a little difficult to collect links for you. Apologies for the inconvenience but worry not, things should be back to normal the week after! Ok, with that out of the way, let’s get on with this weeks links. Enjoy.
I always find the transcripts of the WWDC videos super useful, especially when it comes to researching particular topics across different WWDC events. Historically, I’ve used ASCIIwwdc for this but in recent years Apple have also started to publish their own transcripts. This year appears to be no exception with Apple this week announcing availability of the transcripts for WWDC 2018. Useful reference to keep in mind.
Although last week I linked to Apple’s article celebrating 10 years of the app store, those 10 years haven’t been all plain sailing. @iryantldr looks back at some of the controversies that have plagued the store in it’s 10 years of being open.
If you’re developing an app, especially if it’s a utility-style app, there are invevitably going to be times when you need to handle those times when your app doesn’t contain any data. However designing with these empty states in mind is an important part of polishing your apps UX. Steven Douglas of @just_in_mind provides some useful tips.
It’s subtle, but the position and velocity of a users touch can be extremely useful for adding additional polish to your UI animations. In this article @jenoxx shows you how, using position and velocity information to derive intent from the user movements and in turn using that information to adjust your UI animations accordingly.
Keeping the keyboard from overlapping your text field can sometimes be tricky. There are already a number of ways to solve this problem but in this article, Kevin Long presents another, one based around extensions.
Metal, MetalKit and the Model I/O frameworks are some of the most powerful frameworks within both UIKit and Cocoa but they’re also some of the most difficult to get started with. In this article, @warrenm provides a gentle introduction to these frameworks showing you how to build your own Metal app from scratch.
Nobody likes having to write boilerplate code but there are alternatives. In this, the return of NSHipster, @mattt takes a look at how to use GYB (Generate Your Boilerplate) – a lightweight templating system used by maintainers of the Swift Standard library – for all your boiler-plate needs. If you’re interested @tonyarnold has also written a follow-up to @mattts article with some further tips on how to clean up GYB’s integration with Xcode.