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: