-
Notifications
You must be signed in to change notification settings - Fork 193
0.1.x to 0.2.x migration guide
Alexey Belkevich edited this page Oct 5, 2015
·
1 revision
- Don't need to set record ID field. It's always available.
-
First name, last name, middle name, composite name are grouped in
APName
class. And all of them available by settingAPContactFieldName
field. -
Company name and job title are grouped in
APJob
class. And available by settingAPContactFieldJob
field. -
phones
array contains instances ofAPPhone
class, not strings!APPhone
is renamedAPPhoneWithLabel
class. SetAPContactFieldPhonesWithLabels
field to get phone numbers and labels. AndAPContactFieldPhonesOnly
to get phones numbers only. Labels will benil
. -
emails
array contains instances ofAPEmail
class, not strings!APEmail
is renamedAPEmailWithLabel
class. SetAPContactFieldEmailsWithLabels
field to get email addresses and labels. AndAPContactFieldEmailsOnly
to get email addresses only. Labels will benil
. - Contact record creation date and modification date grouped in
APRecordDate
class. And both available by settingAPContactFieldRecordDate
field. - Contact photo field is removed. Use
loadPhotoByRecordID:completion:
andloadPhotoByRecordID:onQueue:completion
methods.