Documentation Archive Developer
Search

Contacts Changes for Objective-C

Contacts

CNContact.h

CNContactFetchRequest.h

Protocols
From--
ToNSSecureCoding

Introduction
FromiOS 9.0
ToiOS 10.0

CNContactVCardSerialization.h

Declaration
From
+ (NSArray *)contactsWithData:(NSData *)data error:(NSError * _Nullable *)error
To
+ (NSArray<CNContact *> *)contactsWithData:(NSData *)data error:(NSError * _Nullable *)error

Declaration
From
+ (NSData *)dataWithContacts:(NSArray *)contacts error:(NSError * _Nullable *)error
To
+ (NSData *)dataWithContacts:(NSArray<CNContact *> *)contacts error:(NSError * _Nullable *)error

CNMutableContact.h