SwiftUI Weekly

Share this post

SwiftUI Weekly - Issue #117

weekly.swiftwithmajid.com

SwiftUI Weekly - Issue #117

The curated collection of links about SwiftUI. Delivered every Monday.

Oct 17, 2022
Share this post

SwiftUI Weekly - Issue #117

weekly.swiftwithmajid.com

News

Apple’s use of Swift and SwiftUI in iOS 16

iOS 16 was just released so let’s analyze its built-in apps. Like in the past years, I will try to answer a couple of questions: How many binaries are in iOS 16? Which programming languages are used to develop these apps? How many apps are written with Swift? What is the percentage of apps using SwiftUI versus UIKit?

Reading

Mastering NavigationStack in SwiftUI. NavigationPath.

SwiftUI provides us with a brand new data-driven navigation API allowing us to map a value to a destination in the view hierarchy. This week I want to continue the story of the new navigation API in SwiftUI by covering another tool. We will learn how to use the NavigationPath type to build a navigation stack with different destinations.

How to show badge on Tab Bar Item in SwiftUI

Learn how to add and remove a badge on Tab Bars.

Where View.task gets its main-actor isolation from

If you call SwiftUI’s

modifier inside a view’s

property, the async operation will run on the main actor. However, this isn’t the case if you call

from a helper property or function that isn’t main-actor-annotated. Why?

Blendmode trick: SwiftUI source overlay

Adding overlays to a view that only render above the view's own pixels.

State Restoration in SwiftUI

Learn how to use SceneStorage in SwiftUI to restore iOS app state.

Video

Reducer Protocol in Practice

We celebrate the release of the Composable Architecture's new reducer protocol and dependency management system by showing how they improve the case studies and demos that come with the library, as well as a larger more real-world application.

The perks and quirks of rewriting Calm's WatchKit app in SwiftUI

Calm's iOS engineers once side-eyed and sidestepped a mounting list of Apple Watch app bugs. But a scrappy hackathon team sparked new hope: why not try to rewrite it in SwiftUI? In this talk, I'll delineate how my teammates and I reimagined Calm's Apple Watch app in SwiftUI.

SwiftUI Navigation & URL Routing

After a brief overview of how SwiftUI's new NavigationStack API works, we'll explore how to build a router that can transform nebulous URLs into a state.

Share this post

SwiftUI Weekly - Issue #117

weekly.swiftwithmajid.com
TopNew

No posts

Ready for more?

© 2023 Majid Jabrayilov
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing