This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFErrorRef error = NULL; | |
ABAddressBookRef addressBook = ABAddressBookCreateWithOptions(nil, &error); | |
if (error != NULL) { | |
NSLog(@"Error reading AddressBook: %@", error); | |
} | |
CFArrayRef contacts = ABAddressBookCopyArrayOfAllPeople(addressBook); | |
NSArray contactArray = CFBridgingRelease(contacts); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"os" | |
"fmt" | |
"bufio" | |
"strconv" | |
) |
NewerOlder