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.
Announcing Vapor Red Beta
The options for hosting your server-side Swift code expanded a little this week with the team at @codevapor announcing the beta availability of Vapor Red a new service allowing you to provision and deploy your web apps to AWS and Digital Ocean droplets in one click. The official release is scheduled for June 12th but if you want to try it out ahead of time, all access is free during the beta period.
Design Animation Handbook
If you’re looking to improve your animation skills, make sure you checkout this new ebook by Apple Design Award winner @warpling and the team at @InVisionApp that teaches you about motion in UI design and many of the principles of animation. It’s an interesting read.
5 Rules for Choosing the Right Words on Button Labels
@uxmovement provide 5 tips on choosing the microcopy for your UIButton’s and illustrate how they can streamline user workflows within your app.
Ordered Collection Diffing
One of the most useful new features that arrived with Swift 5.1 was the introduction of ordered collection diffing – the ability to calculate and apply the differences between two ordered collections. In this article @p_montalto shows you how to get started and illustrates some of the benefits this change can bring when it comes to updating
Improving Your Swift Code Using Value Objects
Don’t be fooled by the title of this new article from @twostraws. Although similar to the Value Types that you might be used to, Value Objects are a technique from Domain-Driven Design that can help when representing data from your problem domain. Have a read – you’ll see what I mean.
@autoreleasepool uses in 2019 Swift
If you’re familiar with writing apps using Objective-C, you’ll no doubt be familiar with Foundation frameworks
NSAutoreleasePool but with with many migrated to Swift over the last 4 years, are autorelease pools something we can simply ignore in the Swift era? As @rockthebruno highlights in this article… maybe not.
Storing Codable structs on Disk
Although Apple provide some extremely powerful frameworks for data persistence heavyweight persistence frameworks such as Core Data can sometimes be a little too much. For those times take a look at this article from @mecid which shows you how to create your own lightweight cache by storing codable structs directly to disk.
Advanced Animations with UIViewPropertyAnimator
Introduced in iOS 10,
UIViewPropertyAnimator is a step up from the simple
UIView.animate(withDuration:animations:) you’ll be familiar with providing amongst other things more control, custom timings, interactivity and interruptible animations. Eugene Trapeznikov walks you through the basics.
iOS Dev Jobs
I’ve no idea how I managed it but I miss the launch of this new project from iOS Dev Weekly author @daveverwer last week but if you’re looking for a new iOS development job make sure you check it out Dave’s new site. It’s a great new resource for the community.
WWDC 2019: The Pregame Quiz
So to wrap thing up this week and keep you busy whilst you’re waiting for WWDC, @jordanmorgan10 has been kind enough to publish the fifth edition of his annual pre-WWDC quiz. He’s definitely digging into the archives and trivia for this years edition! ?
Not long to go now! WWDC is only a few days away and I can feel the excitement building. I’m really looking forward to see what Apple are going to announce this year given that they’ve already announced hardware spec bumps and a new butterfly keyboard version… what is it? 3? 4? ? If you’re travelling to San Jose next week make sure you check out the WWDC+ app by WWDC scholarship winner @justJS_dev which should help keep you up to date with all the local events and if like me, you’ll be at home watching from the comfort of your sofa, then get yourself prepared with the the unofficial WWDC app for macOS by @_inside. This made watching the session videos super easy last year and also lets you download them for offline viewing – a great option for killing time on the journey home! Either way, whatever your plans for WWDC this year have a great week!