How to use the Redacted View Modifier in SwiftUI with useful extensions
Learn how to use the redacted view modifier in SwiftUI to create skeleton views while data is being loaded.
The Swift Concurrency Playbook
A FREE 5-day email course revealing the 5 biggest mistakes iOS developers make with async/await that lead to App Store rejections And migration projects taking months instead of days (even if you've been writing Swift for years).
5 lessons | 100% free | For iOS developers
Learn more and get better in building apps with SwiftUI.
Learn how to use the redacted view modifier in SwiftUI to create skeleton views while data is being loaded.
@EnvironmentObject in SwiftUI allows injecting dependency by making them available to any child views through the SwiftUI Environment.
A Conditional View Modifier can be created using a custom extension on View. Combined with a Boolean extension we simplify our SwiftUI logic.
A Pager View in SwiftUI is created easily using a simple enum based View combined with custom transitions for a paging experience.
withAnimation by default does not come with a completion callback. Using a simple code extension you can implement this yourself.
Using multiple Text weights in SwiftUI is possible by combining views into one. Keep wrapping without using NSAttributedString.
SwiftUI Previews can be used to display a view in dark mode, different localizations, different text sizes, all at the same time!
Using Xcode Previews allows you to iterate fast and implement designs even faster. Don't wait for SwiftUI and start using Xcode Previews today!