The idea is going back to POD use and then compare. The problem with custom quality with the double equals function is that it's another piece of code you need to maintain. And so there is an interesting way to avoid using custom quality, but still use the faster memory compared method. SwiftUI view actually has two different things. It has dependencies, and it has a state. Those are things that are not passed from above. So this should be private, create them. And that's the state of your view.
Guest
Youtube Video: https://youtu.be/G8I8xdGJB68
Related Episodes
Related Links
Sponsors
Stream - Free In-App Messaging SDK & UI Kits for iOS/Swift
Stream Chat is the easiest way to add messaging to your iOS app. High-level UI components connect the Stream Chat API with minimal coding.
Try for free
Bushel - the macOS virtual machine app for developers
I'm looking for beta testers!
- For developers who want to be rigorous and uncompromising in their app testing.
- You can set up your virtual machine for almost any configuration, from a fresh, factory reset of the Ventura beta all the way back to Big Sur.
- Test, simulate, roll back and debug apps and scripts however you need to without worrying about destroying your machine.
If you want to be invited to our first TestFlight, or even if you just want updates on Bushel, sign up at the website, and we will get in touch with you.
swiftpackageindex.com is the place to find Swift packages.
- over 5,000 packages indexed now, you’ll find a package that can help.
- help you make better decisions about your dependencies.
- host DocC-based documentation for package authors.
You can see how well maintained every package is, what platforms and Swift versions it’s compatible with based on real-world build data, how many other dependencies it will bring in and much more. Unlike an open-source library, running an open-source website requires ongoing time for maintenance and supporting package authors in addition to the time we spend on new features. Our work is primarily funded by you - the Swift community
If the site has helped you find a package, or if you want to support a community-run open-source project, please go to swiftpackageindex.com, look for the pink heart, and join over a hundred other people who support our work through GitHub sponsors.
Show Notes
- How migrating from UIKit
- Terminology Confusion
- How SwiftUI detects changes
- SwiftUI mistakes
- Combine vs Async/Await
- What is a POD?
Social Media
Email
leo@brightdigit.com
GitHub - @brightdigit
Twitter
BrightDigit - @brightdigit
Leo - @leogdion
LinkedIn
Leo
Credits
Music from https://filmmusic.io
"Blippy Trance" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)
- (00:00) - Migrating to SwiftUI at Adobe
- (05:45) - SwiftUI and Performance
- (15:00) - How SwiftUI Detects Changes
- (27:50) - Architectures and Patterns
- (36:30) - Combine and Async
- (44:45) - Why Internalized Views
- (51:00) - What to do right now
Thanks to our monthly supporters
- Bertram Eber
- Edward Sanchez
- Satoshi Mitsumori
- Danielle Lewis
- Steven Lipton
★ Support this podcast on Patreon ★