SwiftData updating a Model’s property which is a list
I have following problem, please refer to the code below.
In the app I can create an Artist (@Model
) and add some Albums (@Model
) to it. These are stored and displayed as supposed.
I have following problem, please refer to the code below.
In the app I can create an Artist (@Model
) and add some Albums (@Model
) to it. These are stored and displayed as supposed.