I am still quite new at SwiftUI and I am having trouble to understand why the array that I have created in my model “GameSession”, which is sorted acc ...
I am still quite new at SwiftUI and I am having trouble to understand why the array that I have created in my model “GameSession”, which is sorted acc ...
I have a core data model set up with 3 entities: Exercise, ExerciseSet, and Workout. It's set up so that Exercise and ExerciseSet have a one to one re ...
I'm storing data in a CoreData entity that uses relationships. By default a toMany type relationship will be of typeNSSet. In order to load this NSSet ...
I have a one-to-many CoreData relationship between entities: Book and NoteSection called sections_. I am converting an NSSet created by core data to ...
I tried to store a list of images in CoreData, using relationship of entities. The model are designed like this: When add the data, I tried to cod ...
I have two entities in my project, DBTeam and DBPlayer. DBTeam has a one to many relationship with DBPlayer allowing multiple players to be associated ...
I am starting to look at CoreData and have two entities. These form a many to many relationship between Player: and Team: I am trying to iterate ...
In my project I created two entities: Container and Items. There's a one to many relationship between the two. In Container I called the relationship ...
I am currently working with CoreData. Problem: I have a CoreData Entity User with a one-to-many-relationship to another CoreData Entity Badges. I am ...
Why is this statement always true regardless if the object at index 0 is in the set or not? smallestNumberSort is an NSMutableArray smallestNumberSe ...
I generated a CoreData model with some 1-to-many relationships. Now I want to use a ForEach on this relationship which is a NSSet, then I'm getting th ...
I'am having trouble with adding an Array [Categories] into my Questions entity relationship The categories relationship being a "to many" it is an ...
On average, I have a NSMutableOrderedSet where a new custom object is added every second. Every time a new data arrives, a reference to the lastObject ...
How would I write the following in Objective-C? Each integer represents a state of a motor (5 motors, with clockwise (1), off (0), counterclockwise (- ...
I am trying to run all the objects from a NSSET i have, but somehow it is getting just one. Based on my previous problem (Adding elements on many-to-m ...
I am making a project where (from the perspective of school) you can calculate each student average. You can register a student (first entity) on a sc ...
I need to send a NSSet over the network, so I need to convert it to Data. I have tried this: without success. Convert to NSData is easy but what ...
The Person class: I rewrite it's isEqual: method: Then I did a test: The console print: About the method containsObject:: Each element ...
I am trying to sort an array by the most common value of a property or attribute. This question and others suggest you can do this efficiently using a ...
My Code My data model: I am using a tableView to display my data which works great, now I have implemented a filter function which allows the us ...