Open tdavis6 opened 3 months ago
Maybe create a function that saves all arrays in SwiftData that runs whenever an array is edited, and another function that retrieves the data from SwiftData when the app is opened. Maybe create a loading splash for when this is occurring if needed.
https://developer.apple.com/tutorials/develop-in-swift/save-data#Connect-SwiftData-and-SwiftUI
Maybe create a function that saves all arrays in SwiftData that runs whenever an array is edited, and another function that retrieves the data from SwiftData when the app is opened. Maybe create a loading splash for when this is occurring if needed.