SwiftUI Weekly - Issue #49
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
FocusedValue and FocusedBinding property wrappers in SwiftUI
The last year Apple has done a great job in terms of focus management in SwiftUI. We got a few new modifiers to set up an entry point for the focus system and programmatically handle focus changes. We still have some gaps, and I hope Apple will fill them during WWDC21. This week I want to talk about FocusedValue and FocusedBinding property wrappers.
Quick tips on embracing @ViewBuilder
With the release of Xcode 12 and Swift 5.3, @resultBuilder, at the time called @_functionBuilder, has learned quite a few tricks.
How to create a Dynamic Pager View for onboarding
A Pager View in SwiftUI is created easily using a simple enum based View combined with custom transitions for a paging experience.
How to manage WindowGroup in SwiftUI for macOS
Using WindowGroup New in SwiftUI 2.0 for iOS 14 and macOS 11.0 is WindwGroup which is used in App protocol. WindowGroup is ideal for document-based applications where you can open multiple windows for different content or files.
Automatic handling of property wrapper default values
How the compiler can automatically map default property values to property wrapper initializers, even when a wrapper accepts multiple arguments.
Adding polylines to maps in SwiftUI
Using UIKit to display lines on maps in SwiftUI.
Code
swift-composable-navigator
An open-source library for building deep-linkable SwiftUI applications with composition, testing, and ergonomics in mind.
Video
Build Clubhouse in SwiftUI 2.0 and Dark Mode
Everyone knows how the Clubhouse App has been Poppin, but what about if we built a Clubhouse App Clone in SwiftUI 2.0 & Xcode 12.
Build Complete WatchOS Weather App Clone in SwiftUI with Core Location
Build Complete WatchOS Weather App Clone in SwiftUI with Core Location. In this video tutorial we will build compete watchOS app in SwiftUI. While building the app we will learn some of the important stuff about watch development.
SwiftUI 2.0 Liquid Swipe Animation
In this Video, I'm going to show how to create a Stylish Liquid Swipe Animation Using SwiftUI 2.0.