Hi Martin,

thanks for this example. Based on my own experience with SwiftUI in the meantime, there are currently two questions where I do not have a solution for at the moment:

(1) How to integrate with CoreData, i.e., fetching the list not from a static array, but from a CoreData query? I did this using @EnvironmentObject and a store handling the CRUD operations which are triggered from the respective SwiftUI events; however, when having a detail view to the list, the list entry is changed, but the list is not refreshed automatically. I wordaround this by calling a “listStore.update()” operation, but I’m not sure if that is how it should be.

(2) When adding an item to the list, the list does not scroll to that item, what is irritating from a user’s point of view. How can I achieve that with SwiftUI?

I googled a lot about these questions, but did not really find something helpful up to now…

Best regard,

Gerhard

Helping companies and humans to evolve, and trying to be agile in an own product development.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store