Documentation Archive Developer
Search

Contacts Changes for Objective-C

Contacts

CNContact.h

CNContactFetchRequest.h

Protocols
From--
ToNSSecureCoding

Introduction
FromwatchOS 2.0
TowatchOS 3.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