-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StopViewController SwiftUI #648
base: main
Are you sure you want to change the base?
Conversation
Demo
Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-02-21.at.21.46.16.mp4Each arrdep uses some set of fields as its identifier. I've tried to account for it, but if there are duplicate identifiers, SwiftUI will handle it gracefully. Previously, DiffableDataSource throw an exception and crash. The screenshot below is showing a workaround for SwiftUI's unideal behavior for list selection. In iOS 15, creating a selectable list required displaying a checkmark in the cell, which would look unusual. The correct usage was to use a |
7da9cf6
to
c225881
Compare
Started as an experiment, but might actually build it out now. Plus, the code can be reused for Live Activities/watchOS/etc.