Skip to content

PassKit macOS xcode15.1 b3

Alex Soto edited this page Jan 3, 2024 · 2 revisions

#PassKit.framework https://github.com/xamarin/xamarin-macios/pull/19717

diff -ruN /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h /Applications/Xcode_15.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h
--- /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h	2023-10-15 22:23:57
+++ /Applications/Xcode_15.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h	2023-11-08 23:47:58
@@ -41,6 +41,11 @@
 /// document, if applicable.
 @property (class, nonatomic, readonly) PKIdentityElement *documentExpirationDateElement;
 
+/// The document's DHS (U.S. Department of Homeland Security) compliance status.
+///
+/// This is also known as the document's "REAL ID status".
+@property (class, nonatomic, readonly) PKIdentityElement *documentDHSComplianceStatusElement API_AVAILABLE(ios(17.2));
+
 /// The doument's number, as defined by the document's issuing authority.
 @property (class, nonatomic, readonly) PKIdentityElement *documentNumberElement;
 
@@ -52,6 +57,9 @@
 
 /// The user's date of birth.
 @property (class, nonatomic, readonly) PKIdentityElement *dateOfBirthElement;
+
+/// The user's sex.
+@property (class, nonatomic, readonly) PKIdentityElement *sexElement API_AVAILABLE(ios(17.2));
 
 /// Boolean indicating whether the user's age is at least the given age.
 /// For example, ageThresholdElementWithAge:21 will return true if the user is at least 21 years old.
diff -ruN /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h /Applications/Xcode_15.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h
--- /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h	2023-10-15 22:23:56
+++ /Applications/Xcode_15.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h	2023-11-08 23:47:57
@@ -14,6 +14,7 @@
 
 @class PKPaymentPass;
 @class PKSecureElementPass;
+@class PKPassRelevancyDates;
 
 #if TARGET_OS_IPHONE
 @class UIImage;
diff -ruN /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h /Applications/Xcode_15.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h
--- /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h	2023-10-15 22:23:55
+++ /Applications/Xcode_15.1.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h	2023-11-08 23:47:57
@@ -25,7 +25,7 @@
     PKAutomaticPassPresentationSuppressionResultDenied,             // Suppression was denied due to lack of entitlement
     PKAutomaticPassPresentationSuppressionResultCancelled,          // Suppression was cancelled before the response handler was fired
     PKAutomaticPassPresentationSuppressionResultSuccess             // Suppression of automatic pass presentation was successful
-} __WATCHOS_PROHIBITED API_AVAILABLE(macos(10.13), ios(9.0));
+} API_AVAILABLE(macos(10.13), ios(9.0), watchos(10.2));
 
 typedef NSUInteger PKSuppressionRequestToken;
 
@@ -37,9 +37,9 @@
 
 // These methods may be used to temporarily disable the automatic presentation of passes when a device encounters a contactless field.
 // Use of these methods require an entitlement. Otherwise, requesting will always return a PKAutomaticPassPresentationSuppressionResultDenied as the result.
-+ (PKSuppressionRequestToken)requestAutomaticPassPresentationSuppressionWithResponseHandler:(void(^)(PKAutomaticPassPresentationSuppressionResult result))responseHandler API_AVAILABLE(ios(9.0)) __WATCHOS_PROHIBITED NS_EXTENSION_UNAVAILABLE("Not available to extensions");
-+ (void)endAutomaticPassPresentationSuppressionWithRequestToken:(PKSuppressionRequestToken)requestToken API_AVAILABLE(ios(9.0)) __WATCHOS_PROHIBITED NS_EXTENSION_UNAVAILABLE("Not available to extensions");
-+ (BOOL)isSuppressingAutomaticPassPresentation API_AVAILABLE(ios(9.0)) __WATCHOS_PROHIBITED NS_EXTENSION_UNAVAILABLE("Not available to extensions");
++ (PKSuppressionRequestToken)requestAutomaticPassPresentationSuppressionWithResponseHandler:(void(^)(PKAutomaticPassPresentationSuppressionResult result))responseHandler API_AVAILABLE(ios(9.0), watchos(10.2)) NS_EXTENSION_UNAVAILABLE("Not available to extensions");
++ (void)endAutomaticPassPresentationSuppressionWithRequestToken:(PKSuppressionRequestToken)requestToken API_AVAILABLE(ios(9.0), watchos(10.2)) NS_EXTENSION_UNAVAILABLE("Not available to extensions");
++ (BOOL)isSuppressingAutomaticPassPresentation API_AVAILABLE(ios(9.0), watchos(10.2)) NS_EXTENSION_UNAVAILABLE("Not available to extensions");
 
 // If device supports adding payment passes, this method will return YES. Otherwise, NO will be returned.
 + (BOOL)isPaymentPassActivationAvailable API_DEPRECATED("Use -[PKPassLibrary isPaymentPassActivationAvailable] instead", ios(8.0, 9.0));
Clone this wiki locally