Post

Replies

Boosts

Views

Activity

Reply to Contacts Framework CNFetchResult
@OOPer. I tried to write code in a post or a comment, and it wouldn't recognize a carriage-return, so the code shows as a long line of string that wraps at the end of each line in the text box, so I decided not to include the code. I tried also using the inline code feature, but that didn't seem to help. I will try again.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’21
Reply to Does unifiedContacts(matching:keysToFetch:) return only unified contacts and leave out non-unified contacts?
The sample iOS Swift project ManagingContacts found in Apple's Documentation Archive, uses both enumerateContacts(with:usingBlock:) and unifiedContact(withIdentifier:keysToFetch:). Understanding why they choose to use each when they do may help answer the question. The name "unifiedContacts" suggests it only fetches unified contacts, and does not fetch non-unified contacts that otherwise would meet the specified criteria, but it doesn't make sense to me why there would ever be a need for it or why it is used in the said project when it is used.
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21