Skip to content
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

update example so Users view listens to changes #18

Merged
merged 2 commits into from Nov 5, 2019

Conversation

kinergy
Copy link
Contributor

@kinergy kinergy commented Nov 1, 2019

Hi, thought it might be helpful if the example WithSwiftUI was extended a bit as I'm learning more about Ballcap. There is one issue that still needs fixing though, and I'd love your thoughts on best way to fix:

If you tap on a user and edit their name, after clicking save UserView correctly shows the updates. The app running on a separate iPhone in the Users (ContentView) or UserView will also show the updates correctly. However, if on the iPhone where the edit was made you go back to the Users list, the list still shows the previous state of the name property, prior to the edit. I'll look at the code more closely, but if you had any thoughts on your preferred way to fix this bug, please let me know.

Thank you for your effort to code up such a nice library.

Kimon

@1amageek 1amageek merged commit dbc9833 into 1amageek:master Nov 5, 2019
@1amageek
Copy link
Owner

1amageek commented Nov 5, 2019

@kinergy Thank you for your PR!🤩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants