Can I get a person's display name or composite name from Apple AddressBook on OSX platform?

Posted by AlexT on Stack Overflow See other posts from Stack Overflow or by AlexT
Published on 2012-04-09T11:26:02Z Indexed on 2012/04/09 11:28 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

I have come across ABRecordCopyCompositeName() in these pages but, having Spotlighted it, have a hunch it's only available for the IOS platform. The AddressBook app itself, and ABPeoplePicker obviously do something similar internally, so is there an equivalent API for OSX? It's a tedious thing to retrieve title, first name, middle name, last name, suffix and work out if it's a company before building it yourself.

© Stack Overflow or respective owner

Related posts about osx

Related posts about cocoa