Cocoa osx mac select contact from address book
In my mac app, I want to select or import contacts from the address book list. I have looked a lot of posts, but only for iOS. I know that on iOS, you can display your contact list like this:
_addressBookController = [[ABPeoplePickerNavigationController alloc] init];
[_addressBookController setPeoplePickerDelegate:self];
[self presentViewController:_addressBookController animated:YES completion:nil];
How can I do this for mac?
Need help please. Thanks in advance.
+3
source to share