SwiftUI app View not filling the entire iPhone screen
Adding iPhone (iOS SDK) as Supported Destination to a SwiftUI app in Xcode initially created for macOS, the content of the app view will not extend to the whole screen as it usually happens when you create a SwiftUI app with iPhone (iOS) as destination from the beginning.
Does coreData have more than one empty state?
I am creating a workout app using CoreData, where it gives you a workout to do. Within each workout you are given 4 sets to do, the sets are buttons, and you are able to track how many sets/reps you did. Once you enter how many sets/reps you did, the button will change from “Set: 1” how set it supposed to look like to “# of reps x # of weight”. I was able to figure out this code and able to save it to CoreData, this issue i’m having is allowing each button to have their own set. When ever I update one set/button, it syncs across all buttons. I would like each button to have their own set/connection to coreData, but im not sure how to do that. I have attached pictures to show the before and after between when coreData is empty vs when it’s not. Set with all buttons sync across (dont want that)