Post

Replies

Boosts

Views

Activity

Reply to Contacts Framework CNFetchResult
This is the only code I've found using CNFetchResult: stackoverflow. It's the same post I put in my comment earlier. It's in Objective-C because it uses a function of CNContactStore that is only available in Objective-C. UPDATE: I deleted the code I put in this comment because I wasn't able to format it in any way worth trying to follow.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’21
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
Reply to Contacts Framework CNFetchResult
This is the only code I've found using CNFetchResult: stackoverflow. It's the same post I put in my comment earlier. It's in Objective-C because it uses a function of CNContactStore that is only available in Objective-C. UPDATE: I deleted the code I put in this comment because I wasn't able to format it in any way worth trying to follow.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
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:
Replies
Boosts
Views
Activity
Dec ’21
Reply to Contacts Framework CNFetchResult
I want to convert this code in the answer to this stackoverflow post. I got as far as the line that creates an instance of CNFetchResult -- the fifth line not counting the spaces. I didn't know how to translate that to Swift.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Nov ’21
Reply to How can I migrate Swift 3 applications to Swift 5 in 2021?
I noticed that at https://developer.apple.com/download/all/, there is a button at the bottom of the list that says "View More". I didn't see that before. It was easy to miss. When I continue to click on that button, I eventually find Xcode 10.1.
Replies
Boosts
Views
Activity
Nov ’21
Reply to How can I migrate Swift 3 applications to Swift 5 in 2021?
Did you ever figure this out an easier way than how Claude31 did it?
Replies
Boosts
Views
Activity
Nov ’21
Reply to Is it possible to import text from built in iOS notes App?
Did you ever figure out how to do this? I would like to also like my iOS app to access a Note in the Notes app on an iOS device.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21