Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is RecordID always unique? #169

Open
micnguyen opened this issue Nov 7, 2017 · 2 comments
Open

Is RecordID always unique? #169

micnguyen opened this issue Nov 7, 2017 · 2 comments

Comments

@micnguyen
Copy link

I have noticed that when I delete a contact from the address book and then adding another contact, that it doesn't overwrite the removed ID and instead adds a new one. Is the recordID for an APContact always unique? I'm trying to sync up a custom domain model to an APContact sych that each APContact represents a 1:1 custom model and am using recordID. Is the record ID similar to that of Identifier in https://developer.apple.com/documentation/contacts/cncontact/identifier?

@belkevich
Copy link
Contributor

I don't think that recordID matches Identifier. APAddressBook is a wrapper on deprecated AddressBook.framework not Contacts.framework.

@belkevich
Copy link
Contributor

But if you try, please, tell us your results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants