Skip to content

PassKit macOS xcode14.0 beta4

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-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h	2022-06-30 19:24:57.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocument.h	2022-07-22 10:03:47.000000000 -0400
@@ -9,8 +9,6 @@
 
 #import <Foundation/Foundation.h>
 
-@class PKIdentityDocumentRawElements;
-
 NS_ASSUME_NONNULL_BEGIN
 
 /// Represents the response of a request for an identity document.
@@ -23,13 +21,6 @@
 /// This data is not intended to be read on-device.
 @property (nonatomic, readonly) NSData *encryptedData;
 
-/// The unsigned, unencrypted representation of the elements in the response, as specified by the issuer.
-/// When element values are returned, they match the corresponding element values within encryptedData, but
-/// do not possess an issuer signature. They can be used locally for use cases that do not require the
-/// authenticity guarantees provided by the issuer signature, but should never be used in situations that
-/// require trusted information.
-@property (nonatomic, readonly, nullable) PKIdentityDocumentRawElements *rawElements;
-
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
 
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentAgeThreshold.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentAgeThreshold.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentAgeThreshold.h	2022-06-30 19:24:58.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentAgeThreshold.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,37 +0,0 @@
-#if !__has_include(<PassKitCore/PKIdentityDocumentAgeThreshold.h>) || PK_USE_PUBLIC_PASSKIT
-//
-//  PKIdentityDocumentAgeThreshold.h
-//  PassKit
-//
-//  Copyright © 2022 Apple, Inc. All rights reserved.
-//
-
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/// Represents an age threshold in a PKIdentityDocument, which
-/// indicates whether the document holder's age is at least
-/// a certain age threshold in years.
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, tvos)
-NS_SWIFT_NAME(PKIdentityDocument.AgeThreshold)
-@interface PKIdentityDocumentAgeThreshold: NSObject
-
-/// The age threshold in years requested in the originating request.
-@property (nonatomic, readonly) NSInteger years;
-
-/// True if the document holder's age is >= years, false otherwise.
-@property (nonatomic, readonly, getter=isAtLeastYearsOld) BOOL atLeastYearsOld;
-
-- (instancetype)init NS_UNAVAILABLE;
-+ (instancetype)new NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-
-#else
-#import <PassKitCore/PKIdentityDocumentAgeThreshold.h>
-#endif
diff -ruN /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-beta4.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	2022-06-30 19:24:57.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentIssuingAuthority.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,38 +0,0 @@
-#if !__has_include(<PassKitCore/PKIdentityDocumentIssuingAuthority.h>) || PK_USE_PUBLIC_PASSKIT
-//
-//  PKIdentityDocumentIssuingAuthority.h
-//  PassKit
-//
-//  Copyright © 2022 Apple, Inc. All rights reserved.
-//
-
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-/// Represents a document's issuing authority in a PKIdentityDocument.
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, tvos)
-NS_SWIFT_NAME(PKIdentityDocument.IssuingAuthority)
-@interface PKIdentityDocumentIssuingAuthority: NSObject
-
-/// The name of the issuing authority of the document.
-@property (nonatomic, readonly, nullable) NSString *name;
-
-/// The country subdivision code of the jurisdiction that issued the document.
-@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) NSString *ISOCountryCode;
-
-- (instancetype)init NS_UNAVAILABLE;
-+ (instancetype)new NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-
-#else
-#import <PassKitCore/PKIdentityDocumentIssuingAuthority.h>
-#endif
diff -ruN /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-beta4.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	2022-06-30 19:24:59.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentRawElements.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,65 +0,0 @@
-#if !__has_include(<PassKitCore/PKIdentityDocumentRawElements.h>) || PK_USE_PUBLIC_PASSKIT
-//
-//  PKIdentityDocumentRawElements.h
-//  PassKit
-//
-//  Copyright © 2022 Apple, Inc. All rights reserved.
-//
-
-
-#import <Foundation/Foundation.h>
-
-@class CNPostalAddress;
-@class PKIdentityDocumentIssuingAuthority;
-@class PKIdentityDocumentAgeThreshold;
-
-NS_ASSUME_NONNULL_BEGIN
-
-/// Represents the response elements in a PKIdentityDocument.
-/// Only properties that correspond to elements that were requested and
-/// are present in the underlying identity document will be set.
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, tvos)
-NS_SWIFT_NAME(PKIdentityDocument.RawElements)
-@interface PKIdentityDocumentRawElements: NSObject
-
-/// The name of the document holder.
-@property (nonatomic, readonly, nullable) NSPersonNameComponents *name;
-
-/// The address of the document holder.
-@property (nonatomic, readonly, nullable) CNPostalAddress *address;
-
-/// The issuing authority that issued the document.
-@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) NSDateComponents *documentExpirationDate;
-
-/// The number identifying the document, as specified by its issuing authority.
-@property (nonatomic, readonly, nullable) NSString *documentNumber;
-
-/// The age (in years) of the document holder.
-@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) PKIdentityDocumentAgeThreshold *ageThreshold;
-
-/// The date of birth of the document holder.
-@property (nonatomic, readonly, nullable) NSDateComponents *dateOfBirth;
-
-/// The portrait of the document holder.
-@property (nonatomic, readonly, nullable) NSData *portraitImageData;
-
-- (instancetype)init NS_UNAVAILABLE;
-+ (instancetype)new NS_UNAVAILABLE;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-
-#else
-#import <PassKitCore/PKIdentityDocumentRawElements.h>
-#endif
diff -ruN /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h
--- /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h	2022-06-30 03:06:43.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h	2022-07-20 05:22:37.000000000 -0400
@@ -149,18 +149,9 @@
 #if __has_include(<PassKit/PKIdentityDocument.h>)
 #import <PassKit/PKIdentityDocument.h>
 #endif
-#if __has_include(<PassKit/PKIdentityDocumentAgeThreshold.h>)
-#import <PassKit/PKIdentityDocumentAgeThreshold.h>
-#endif
 #if __has_include(<PassKit/PKIdentityDocumentDescriptor.h>)
 #import <PassKit/PKIdentityDocumentDescriptor.h>
 #endif
-#if __has_include(<PassKit/PKIdentityDocumentIssuingAuthority.h>)
-#import <PassKit/PKIdentityDocumentIssuingAuthority.h>
-#endif
-#if __has_include(<PassKit/PKIdentityDocumentRawElements.h>)
-#import <PassKit/PKIdentityDocumentRawElements.h>
-#endif
 #if __has_include(<PassKit/PKIdentityElement.h>)
 #import <PassKit/PKIdentityElement.h>
 #endif
Clone this wiki locally