Commit 7e37e22a by Adam Becevello

Mark buy_emailFromRecord as deprecated

ABRecordRef is deprecated by Apple in iOS 9.0
parent 65f467ce
......@@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface BUYAddress (ApplePay)
+ (nullable NSString *)buy_emailFromRecord:(nullable ABRecordRef)record;
+ (nullable NSString *)buy_emailFromRecord:(nullable ABRecordRef)record NS_DEPRECATED_IOS(8_0, 9_0, "Use the `emailAddress` from the PKContact object instead");
- (void)updateWithRecord:(nullable ABRecordRef)record NS_DEPRECATED_IOS(8_0, 9_0, "Use the CNContact backed `updateWithContact:` instead");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment