Skip to content

PassKit macOS xcode14.0 beta3

TJ Lambert edited this page Aug 3, 2022 · 3 revisions

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

diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentIssuingAuthority.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentIssuingAuthority.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentIssuingAuthority.h	2022-06-17 10:24:08.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentIssuingAuthority.h	2022-06-30 18:24:57.000000000 -0500
@@ -17,13 +17,13 @@
 @interface PKIdentityDocumentIssuingAuthority: NSObject
 
 /// The name of the issuing authority of the document.
-@property (nonatomic, readonly, nullable, copy) NSString *name;
+@property (nonatomic, readonly, nullable) NSString *name;
 
 /// The country subdivision code of the jurisdiction that issued the document.
-@property (nonatomic, readonly, nullable, copy) NSString *jurisdiction;
+@property (nonatomic, readonly, nullable) NSString *jurisdiction;
 
 /// The ISO 3166-1 alpha-2 country code of the country that issued the document.
-@property (nonatomic, readonly, nullable, copy) NSString *ISOCountryCode;
+@property (nonatomic, readonly, nullable) NSString *ISOCountryCode;
 
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentRawElements.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentRawElements.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentRawElements.h	2022-06-17 10:24:10.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentRawElements.h	2022-06-30 18:24:59.000000000 -0500
@@ -23,31 +23,34 @@
 @interface PKIdentityDocumentRawElements: NSObject
 
 /// The name of the document holder.
-@property (nonatomic, readonly, nullable, copy) NSPersonNameComponents *name;
+@property (nonatomic, readonly, nullable) NSPersonNameComponents *name;
 
 /// The address of the document holder.
-@property (nonatomic, readonly, nullable, copy) CNPostalAddress *address;
+@property (nonatomic, readonly, nullable) CNPostalAddress *address;
 
 /// The issuing authority that issued the document.
-@property (nonatomic, readonly, nullable, copy) PKIdentityDocumentIssuingAuthority *issuingAuthority;
+@property (nonatomic, readonly, nullable) PKIdentityDocumentIssuingAuthority *issuingAuthority;
+
+/// The issue date of the document.
+@property (nonatomic, readonly, nullable) NSDateComponents *documentIssueDate;
 
 /// The expiration date of the document.
-@property (nonatomic, readonly, nullable, copy) NSDateComponents *documentExpirationDate;
+@property (nonatomic, readonly, nullable) NSDateComponents *documentExpirationDate;
 
 /// The number identifying the document, as specified by its issuing authority.
-@property (nonatomic, readonly, nullable, copy) NSString *documentNumber;
+@property (nonatomic, readonly, nullable) NSString *documentNumber;
 
 /// The age (in years) of the document holder.
-@property (nonatomic, readonly, nullable, copy) NSNumber *age NS_REFINED_FOR_SWIFT;
+@property (nonatomic, readonly, nullable) NSNumber *age NS_REFINED_FOR_SWIFT;
 
 /// An age threshold indicating whether the document holder is at least a requested age.
-@property (nonatomic, readonly, nullable, copy) PKIdentityDocumentAgeThreshold *ageThreshold;
+@property (nonatomic, readonly, nullable) PKIdentityDocumentAgeThreshold *ageThreshold;
 
 /// The date of birth of the document holder.
-@property (nonatomic, readonly, nullable, copy) NSDateComponents *dateOfBirth;
+@property (nonatomic, readonly, nullable) NSDateComponents *dateOfBirth;
 
 /// The portrait of the document holder.
-@property (nonatomic, readonly, nullable, copy) NSData *portraitImageData;
+@property (nonatomic, readonly, nullable) NSData *portraitImageData;
 
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h	2022-06-17 10:24:11.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h	2022-06-30 18:24:59.000000000 -0500
@@ -33,6 +33,10 @@
 /// The state or government that issued the identity document.
 @property (class, nonatomic, readonly) PKIdentityElement *issuingAuthorityElement;
 
+/// The document's issue date. This is usually the issue date of the corresponding physical
+/// document, if applicable.
+@property (class, nonatomic, readonly) PKIdentityElement *documentIssueDateElement;
+
 /// The document's expiration date. This is usually the expiration date of the corresponding physical
 /// document, if applicable.
 @property (class, nonatomic, readonly) PKIdentityElement *documentExpirationDateElement;
Clone this wiki locally