From 7e37e22a1b13b307d49e05cc237c34d72d3b2893 Mon Sep 17 00:00:00 2001 From: Adam Becevello <adam.becevello@shopify.com> Date: Mon, 20 Jun 2016 10:22:58 -0400 Subject: [PATCH] Mark buy_emailFromRecord as deprecated ABRecordRef is deprecated by Apple in iOS 9.0 --- Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAdditions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAdditions.h b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAdditions.h index 784e634..91b88fc 100644 --- a/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAdditions.h +++ b/Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAdditions.h @@ -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"); -- libgit2 0.26.0