56

Issue 200! – September 24th 2019

 4 years ago
source link: https://www.tuicool.com/articles/n2UBbuM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

jIFRneM.png!web

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.

Well, here it is. Issue 200! Honestly, I never thought we’d get this far when I started Swift Developments over 4 years ago. In that time, Swift has gone from strength to strength. The language has become more stable (thankfully), language features continue to be added and refined, we’ve seen Swift moving outside of the Apple ecosystem with Swift on Linux and server-side Swift and we’ve recently seen Swift 5.1 released. Overall the language has come a long way since the Swift Developments started and it’ll be really interesting to see how it continues to change and evolve going forward.

Business

App Store Optimization: Why You Can’t Optimize Forever

An interesting article from Lina Danilchik of @splitmetrics on some of the large initial gains you can hope to see from doing some App Store Optimisation but why, after a few iterations, things will start to stabilize and you will only see minor incremental improvements. When that does happen, keep in mind these tips for your optimisation efforts.

splitmetrics.com

Code

Understanding Schedulers in Swift Combine Framework

Schedulers are a synchronisation mechanism in the Combine Framework that defines the context for when and where work is performed. In this article, @V8tr takes you through the basics, looking at the different types of scheduler available and how to use them to perform work asynchronously.

vadimbulavin.com

How to Use UICollectionViewDiffableDataSource

One of the great new features in UIKit this year has been the addition of UICollectionViewDiffableDataSource . In this article, Aleksej Gurin digs into the details and shows you how to use the new APIs to simplify the development and updates of your UICollectionViews.

medium.com

Rich Notifications in iOS Explained in Swift

Add a little pizazz to your push notifications with this detailed tutorial from @twannl showing you how to add rich, interactive features to your push notifications.

avanderlee.com

Apple Push Notification Device Tokens

Now that you know how to jazz up your push notifications, make sure you also check out this in-depth article from @mattt that dives into some of the mechanics of how push notifications actually work – specifically device tokens – the unique identifier that is key to exchanging data between the server and the device (as well as some of the trouble they can cause).

nshipster.com

SwiftUI

SwiftUI Tip: How to Create a Context Menu in iOS 13

With iOS 13 officially released, @simonng has published a new tutorial on using SwiftUI to build a context menu triggered from a touch-and-hold or force-touch gesture on your iOS device.

appcoda.com

The Simple Life(cycle) of a SwiftUI View

If you’ve been developing for Apple platforms for any length of time, you’ll no doubt be familiar with the traditional View Controller lifecycle events such as viewDidLoad, viewDidAppear etc. SwiftUI however, has brought a fundamentally different approach to UI development so where do these lifecycle events no fit into this brave new world? @dbolella has been taking a look.

medium.com

Alignment Guides in SwiftUI

Alignment guides are a powerful feature in SwiftUI but can be a little confusing. @SwiftUILab has put together a detailed article to explain things, covering everything from what Alignment Guides are, the difference between implicit and explicit alignments, the different types of alignment guide that are available by default as well as how to create your own custom alignments.

swiftui-lab.com

Testing

Spend Less Time Maintaining Your Test Suite by Using the Builder Pattern

Nice tip from @DonnyWals on using builders within your test suite to help minimise the impact of subsequent API changes on your test code.

donnywals.com

Podcasts

Swift Unwrapped – 79: Swift 5.1 with Doug Gregor

In this episode of Swift Unwrapped, @jesse_squires and @simjp are joined by Swift Core Team member @dgregor79 to talk about many of the new features and design decisions that have gone into the new Swift 5.1 release.

spec.fm

Videos

SwiftUI by Example

I already linked to @twostraws ‘s excellent SwiftUI by Example book and mini-site back inIssue 187 (it’s also had a recent update), but what I really wanted to link to this week was a great new set of videos that Paul has published that walks you through building your first SwiftUI app from scratch. Great resource if you’ve been waiting to get up to speed.

youtube.com

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK