I would like to get the id of some data stored in Core data… This is to check if some value exist already inside the database.. If it exist, it shows something if not else.
The id always changes because I get it in the last view from the push. So if the ID exist in the database, I want to detect it.
I think you asking about querying in Core Data. Here is a basic example:
You’ll get an array of items that match.