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.
News
WWDC 2018 Video Transcripts Now Available
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.
apple.com
Business
10 Years of App Store Controversies
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.
macstories.net
Design
Everything You Need to Know About Empty State Design
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.
justinmind.com
Gestures in Fluid Interfaces — On Intent and Projection
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.
medium.com
Code
Extension Approach to Keeping UITextFields in Sight
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.
medium.com
UndoManager Tutorial: How to Implement with Swift Value Types
Everybody makes mistakes and your users are no exception. In this tutorial @Lyndsey360 shows you how to use UIKit’s UndoManager
class to add undo / redo functionality to your app.
raywenderlich.com
Introduction to Siri Shortcuts in iOS 12
If you’re looking to get started with Siri Shortcuts, @GreggMojica has a short tutorial that shows you how to expose custom app functionality to Siri.
appcoda.com
Writing a Modern Metal App from Scratch: Part 1
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.
metalbyexample.com
Advance Generics to Create Reusable UI
Sometimes practical examples are better than theory. In this article, @roch4brun demonstrates a practical example by using Swift generics to create a search controller.
usejournal.com
Tools
Integrating GYB with Xcode
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.
nshipster.com
Comment
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.