SwiftUI Weekly - Issue #77
The curated collection of links about SwiftUI. Delivered every Monday.
Accessibility focus in SwiftUI
One of the new features of SwiftUI Release 3 is accessibility focus management. SwiftUI allows us easily handle the focus state for assistive technologies like VoiceOver and Switch Control. This week we will learn how to use the AccessibilityFocusState property wrapper to move the accessibility focus in SwiftUI.
Structuring platform specific code in SwiftUI
Xcode provides a cross-platform app template in SwiftUI which can be built for macOS and iOS. This template includes a Shared folder which is meant for code used both on macOS and iOS. Many SwiftUI types and functions work both on macOS and iOS but along with developing an app we’ll encounter cases where we need to specialize per platform.
Conditionally Showing NavigationItem and ToolbarItem
Toolbars and Navigation items got significant improvements from what they originally where SwiftUI 1.0 back in 2019.
Optimizing ProMotion Refresh Rates for iPhone 13 Pro and iPad Pro
Provide custom animated content for ProMotion displays.
SwiftUI blend modes
An exploration of all 21 SwiftUI blend modes, what they are, what they do, and more.
Getting Started With The Composable Architecture
Learn how to structure your iOS app with understandable and predictable state changes using Point-Free’s The Composable Architecture (TCA) framework.
Previewing SwiftUI views in landscape
How to preview a SwiftUI view in landscape using Xcode 13, and how to enable that new feature to be used within projects that also support previous iOS versions.
SwiftUI MVVM Async/Await Networking Example
This SwiftUI 3.0 tutorial in Xcode 13 & iOS 15 we will be looking at the new Swift Concurrency feature Async/Await. We’ll look at the benefits and how we can use it to improve our asynchronous networking code, we’ll look at the things to look out for when using the new Swift concurrency code and also how we can handle errors. Well let’s jump into this SwiftUI 3.0 tutorial to see my thought process.
SwiftUI LocationButton - Get User Location
In today's video I show you how to use the new LocationButton in SwiftUI and iOS 15. We will build the user interface for the Map and LocationButton as well as get the user location to show on the map. I also explain the benefits and when you should use the LocationButton.