SwiftUI Weekly - Issue #38
The curated collection of links about SwiftUI. Delivered every Monday.
Enroll in the App Store Small Business Program
To help accelerate innovation and propel businesses and individual developers forward with the next generation of groundbreaking apps on the App Store, this program provides a reduced commission rate of 15% on paid apps and in-app purchases for developers and their associated accounts that earn up to 1 million USD in annual proceeds.
Focus management in SwiftUI
WWDC 20 brings us tons of new SwiftUI APIs, which we can use to improve our apps user experience without using UIKit. One of these new APIs was the focus management API that we can use on iOS, macOS, tvOS, and watchOS. This week we will talk about SwiftUI functionality that allows us to manage the focus in our apps.
Commands in SwiftUI
This week we will talk about another new API that Apple released this year during WWDC 20. Replacing AppDelegate with the new SwiftUI App Lifecycle brings us tons of new APIs that we can use to replace old functionality with a brand new declarative API. One of those APIs is commands, which we will cover today.
WidgetKit for iOS
Widgets seem to be the surprise hit of iOS 14. They're also a great opportunity to jump into SwiftUI. Here's my guide to get you started building widgets with WidgetKit.
The future of SwiftUI navigation
As it stands today, SwiftUI presents some limitations when dealing with NavigationLinks.
The lifecycle and semantics of a SwiftUI view
A look at what it means for SwiftUI to be a value-driven UI framework, and how we might need to break certain assumptions when adopting SwiftUI within our projects.
How to deal with modal views (a.k.a. sheets) with SwiftUI
SwiftUI sheets help us show a modal view to users. sheet is an instance method to the View Presentation. It describes how we can show our SwiftUI views, covering specific user journey scenarios.
Adding Views and Modifiers to the Xcode Library
Xcode 12 allows you to add your own custom SwiftUI views and modifiers to the Xcode Library. Here's my quick summary of how it works.
Building a SwiftUI Design System – Part 2
Let Joel show you how these commonly used components can be made reusable and conclude this part of the series with a brief discussion of syncing design with code.
Animated loading button for SwiftUI.
UIKit -> SwiftUI
Follow along how I slowly convert and existing UIKit app into a SwiftUI app