Returns the type of a given property for a given record.
SDK
- macOS 10.2+
Framework
- Address
Book
Declaration
func ABTypeOfProperty(_ addressBook: ABAddress Book Ref!, _ recordType: CFString!, _ property: CFString!) -> ABProperty Type
Parameters
addressBook
The address book for the logged-in user.
recordType
The record type that contains
property
: kABGroupRecordType or kABPersonRecordType.property
The property whose type you wish to obtain.
Return Value
The type of property
as defined in ABProperty
. If property
does not exist in record
, this function returns k
.