How to assign optional attribute of NSManagedObject in a NSManagedObjectModel having Three NSManaged
- by Kundan
I am using coredata framework. In my NSManagedObjectModel i am using three entities that are Class, Student and Score where class and student have one-to-many & inverse relationship and Student and Score have also inverse but one-one relationship.
Score entity has all optional attributes and having default '0' decimalVaue, which is not…