Member-only story

New Features for iOS 14: SwiftUI

There’s quite a few!

Steven Curtis
4 min readJun 23, 2020
Photo by Ilyuza Mingazova on Unsplash

Apple have added a good number of features to SwiftUI at the recent WWDC conference.

So, without delay, we shall get stuck in!

Difficulty: Beginner | Easy | Normal | Challenging<br/>

This article has been developed using Xcode 12 beta

Prerequisites:

  • You will need to download the Xcode Beta (12) from Apple’s developer website
  • Be able to produce a “Hello, World!” Swift application

The examples

These code examples are presented in a List in a `SwiftUI` App. Take a look at the repo for the full low-down!

The mini-app looks something (exactly) like the following:

Before we get stuck in…

There is a new starting point for `SwiftUI` applications! It’s all very nice, and here instantiates a `ContentView()` instance and you can even perform some more setup within this `struct`. Awesome!

--

--

No responses yet