36

Issue 205 – October 29th 2019

 4 years ago
source link: https://www.tuicool.com/articles/riq2Mjm
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.

Hi and welcome to Swift Developments Issue 205! Another jam-packed issue again this week with a bit of a slant toward SwiftUI (there were just so many great articles this week that I struggled to choose!) along with a whole bunch of videos to add to your playlist. Before we get to the links just a quick note that due to some family stuff there won’t be an issue next week and instead I’ll be back in your inbox with Issue 206 on November 12th. Until then enjoy the links.

Design

How to Design a Delightful Dark Theme

If you’re looking for some advice on how to design a dark theme for your next app then look no further than this article from @Superhuman . It’s got some great tips that are worth keeping in mind.

heydesigner.com

Code

A Complete Guide to In-App Purchases for iOS Development

In-app purchases are a great way to monetise your app but implementing in-app purchase can be a little tricky. This week, @gabtheodor has written an in-depth article to help you get started. It doesn’t cover *every* in-app purchase scenario, choosing to focus on how to implement consumable and non-consumable products but does walk you through things step-by-step so it’s a great place to start to understand some of the basics.

appcoda.com

MetricsKit

Xcode 11 and iOS 13 make it easier than ever to understand how your app is working in the field. In this article, @mattt takes a look at MetricsKit, a new framework in iOS 13, that makes it super-easy to collect and process battery and performance metrics for your app.

nshipster.com

Implementing Multiple Window Support on iPadOS

One of the big new features that arrived along with iPadOS is support for multiple windows – letting you open multiple instances of an application at the same time. This article from @chughanupam gives a good introduction to the new APIs and will also give you a much better understanding of how these changes affect the overall app lifecycle.

medium.com

Swift

Swift’s Sequence Inside The Compiler: How for loops Work Internally

@rockthebruno takes another look behind the scenes, this time digging into Swift’s Sequence and Iterator protocols and how the Swift compiler uses them to build for-loops work.

swiftrocks.com

Better Codable Through Property Wrappers

@marksands with a really interesting article on how he’s been removing some of the boilerplate from his JSON parsing code by using property wrappers to do a lot of the heavy lifting.

github.io

SwiftUI

SwiftUI Layout System

An in-depth and informative article from @a_grebenyuk that digs into the new layout system in SwiftUI and some of the features it has to offer. One to read if you’re coming up the SwiftUI learning curve.

github.io

SwiftUI Data Flow

Another key aspect to get your head around when learning SwiftUI is how SwiftUI interacts with the data that drives its state. This week, @trozware has written a detailed article on the topic that takes a detailed look at the five main ways to specify data in SwiftUI and how each option works.

troz.net

SwiftUI is Still the Future

There’s no doubting that SwiftUI is the hot new thing right now but is it quite ready for prime time? @brentsimmons lists some of the issues he’s encountered and I think sums up the current situation very well:

“We very much want to use SwiftUI, and we believe it’s the future of Mac and iOS development — but the emphasis should be on future because it’s not quite ready in the present.”

inessential.com

Security

iOS Security Tutorial

If you’re new to security on iOS then take a look at this two-part series ( Part 1 , Part 2 ) from fderias which introduces you to some of the basics including the Swift security APIs, symmetric vs asymmetric encryption, the iOS secure enclave and more.

medium.com

Videos

try! Swift NYC 2019

As I mentioned in the intro, I’ve got a whole load of videos for you this week. First, we kick off with this list of talks from try! Swift NYC 2019. As you might expect, the talks don’t disappoint with talks on a wide range of topics including SwiftUI, Combine, Natural Language Processing and more. If you’re pushed for time (and I had to call out one talk which in and of itself is pretty difficult) I’d recommend watching @davedelong ‘s talk on how to design accessible APIs – after all – we’re all API designers at one level or other.

youtube.com

FrenchKit 2019

If try! Swift videos weren’t enough, make sure that you also take some time to have a look at some of the videos from FrenchKit 2019. Again – there are some great talks to choose from including @chriseidhof talking about animations in SwiftUI, @cocoaphony talking Swift Generics, @dimsumthinking on *combining* :stuck_out_tongue_winking_eye: SwiftUI and Combine and a whole lot more. So many choices!

youtube.com

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK