0
I am developing an application in Swift and started using the Core Data recently.
I need to define which attribute of my entity will be mine Primary key. For example:
I have an entity that has class attributes:
- id
- name
- age
I need the attribute "id" to be mine Primary key.
It may be in Objective-C really, I just need to know how I define it.