I am very new to programming Core Data. I have a question that I hope to get some clarification on.
Suppose I have an NSManagedObject named Company with the following attributes:
- COMPANYNAME
- companyEmail
- companyPhoneNo
- companyUserName
- companyPassword
The companyName attribute is indexed in this object.
So my question is: how can I make sure that there will only be an entry with the same company name, companyEmail, companyPhoneNo, companyUserName and companyPassword?
I need to make a request to check if there are records with the same attribute values ββor a simple check with a sufficient object identifier?
Thanks.
prasad1250
source share