-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
SwiftUI Example (I'm working on it) #207
Comments
I have created a first version of the SwitUI example. You can see it at https://github.com/bofrese/IceCream/tree/swiftui_example/SwiftUIExample The Example app includes some 'stress testing' tools, to quickly add 10 or 100 people+cats to realm. So if anybody would like to try out the new SwiftUIExample App, stress test it a bit, and review the code, I would much appreciated it. |
Hi @bofrese and thanks for all your work on this. I'm new to IceCream so still learning, but love what it brings. I think I may know what the deal is with the data falling out of sync. I cannot tell you how many hours I have chased data that depends on @observableobject. Things fall out of scope all the time. I'm going to try your solution and replace @observableobject with @StateObject where applicable. This is iOS14 only but keeps things in sync (like ObservableObject was supposed to but fails to do). |
I needed a more complete example on how SwiftUI + Realm + IceCream all works together, and a simple app to experiment on, rather than my "real'' app.
I file this issues, mostly to let you know that I'm already working on it, and making good progress. I'll push it to my github fork soon, so you can have a preview, and make a pull request when I think it's ready.
Design goals:
I'll do this anyway, but do you want this added as another example to the IceCream repo?
Any other requests, needs, etc.?
Regards,
Bo
The text was updated successfully, but these errors were encountered: