-
Notifications
You must be signed in to change notification settings - Fork 514
PassKit iOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Aug 28, 2024
·
3 revisions
#PassKit.framework https://github.com/xamarin/xamarin-macios/pull/21139
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h 2024-05-30 11:03:31
@@ -0,0 +1,85 @@
+#if !__has_include(<PassKitCore/PKAddIdentityDocumentConfiguration.h>) || PK_USE_PUBLIC_PASSKIT
+//
+// PKAddIdentityDocumentConfiguration.h
+// PassKit
+//
+// Created by Ryan Cook on 11/8/23.
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <PassKit/PKAddPushablePassConfiguration.h>
+#import <PassKit/PKAddSecureElementPassConfiguration.h>
+
+
+API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
+@interface PKIdentityDocumentMetadata: PKPushablePassMetadata
+@end
+
+
+API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
+@interface PKJapanIndividualNumberCardMetadata: PKIdentityDocumentMetadata
+
+/// Initialize with parameters configured by issuer's server to indicate the specific product instance to provision.
+/// - Properties:
+/// - provisioningCredentialIdentifier: Identifies this user's instance for provisioning.
+/// - sharingInstanceIdentifier: A short lived token to prevent replay-ability.
+/// - cardTemplateIdentifier: An identifier for a legacy product on our Apple Pay servers.
+/// - preview: Object containing information to represent the pass to provision in our UI.
+- (nonnull instancetype)initWithProvisioningCredentialIdentifier:(NSString * _Nonnull)credentialIdentifier
+ sharingInstanceIdentifier:(NSString * _Nonnull)sharingInstanceIdentifier
+ cardTemplateIdentifier:(NSString * _Nonnull)templateIdentifier
+ preview:(PKAddPassMetadataPreview * _Nonnull)preview;
+
+/// Initialize with parameters configured by issuer's server to indicate the specific product instance to provision.
+/// - Properties:
+/// - provisioningCredentialIdentifier: Identifies this user's instance for provisioning.
+/// - sharingInstanceIdentifier: A short lived token to prevent replay-ability.
+/// - cardConfigurationIdentifier: An identifier for a product on our Apple Pay servers.
+/// - preview: Object containing information to represent the pass to provision in our UI.
+- (nonnull instancetype)initWithProvisioningCredentialIdentifier:(NSString * _Nonnull)credentialIdentifier
+ sharingInstanceIdentifier:(NSString * _Nonnull)sharingInstanceIdentifier
+ cardConfigurationIdentifier:(NSString * _Nonnull)templateIdentifier
+ preview:(PKAddPassMetadataPreview * _Nonnull)preview;
+
+// Configuration Properties
+
+/// Raw authentication password used to protect authentication functionality.
+/// If configured in the pass, this functionality allows users to present their identity credentials to external parties.
+@property (nonatomic, copy, nullable) NSString *authenticationPassword;
+
+/// Raw signing password used to protect signing functionality.
+/// If configured in the pass, this functionality allows users to digitally sign with external parties or print officially signed documents.
+@property (nonatomic, copy, nullable) NSString *signingPassword;
+
+// Display Properties
+
+/// preview: A preview object containing the necessary information to represent the pass during provisioning.
+@property (nonatomic, strong, readwrite, nonnull) PKAddPassMetadataPreview *preview;
+
+@end
+
+API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
+@interface PKAddIdentityDocumentConfiguration : PKAddPushablePassConfiguration
+
+/// Initialize identity document configuration with corresponding identity document metadata.
+/// - Parameters:
+/// - metadata: Set of configured metadata defining the required information to add the corresponding pass to Wallet.
+/// - completion: Returns the identity document configuration if successful, otherwise returns an error.
++ (void)configurationForMetadata:(PKIdentityDocumentMetadata * _Nonnull)metadata
+ completion:(void(^_Nonnull)(PKAddIdentityDocumentConfiguration * _Nullable credentialConfiguration, NSError * _Nullable error))completion
+NS_SWIFT_NAME(forMetadata(_:completion:));
+
+- (null_unspecified instancetype)init NS_UNAVAILABLE;
++ (null_unspecified instancetype)new NS_UNAVAILABLE;
+
+/// metadata: Set of configured metadata defining the required information to add the corresponding pass to Wallet.
+@property (nonatomic, strong, readonly, nonnull) PKIdentityDocumentMetadata *metadata;
+
+@end
+
+
+#else
+#import <TargetConditionals.h>
+#import <PassKitCore/PKAddIdentityDocumentConfiguration.h>
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPushablePassConfiguration.h 2024-05-31 07:31:37
@@ -0,0 +1,48 @@
+#if !__has_include(<PassKitCore/PKAddPushablePassConfiguration.h>) || PK_USE_PUBLIC_PASSKIT
+//
+// PKAddPushablePassConfiguration.h
+// PassKit
+//
+// Created by Ryan Cook on 12/8/23.
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import <PassKit/PKAddSecureElementPassConfiguration.h>
+
+API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
+@interface PKPushablePassMetadata : NSObject
+
+- (null_unspecified instancetype)init NS_UNAVAILABLE;
++ (null_unspecified instancetype)new NS_UNAVAILABLE;
+
+/// credentialIdentifier: A unique identifier for provisioning credential data.
+@property (nonatomic, strong, readonly, nonnull) NSString *credentialIdentifier;
+/// sharingInstanceIdentifier: A unique identifier that refers to an instance of sharing of credentials to a user's device initiated from another user, device, or web.
+@property (nonatomic, strong, readonly, nonnull) NSString *sharingInstanceIdentifier;
+/// cardTemplateIdentifier: Identifier referencing a card template registered by developers in web portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName.
+/// Returns empty string if no identifier is set.
+@property (nonatomic, strong, readonly, nonnull) NSString *cardTemplateIdentifier;
+/// cardConfigurationIdentifier: Identifier referencing a card configuration registered by developers.
+/// Returns empty string if no identifier is set.
+@property (nonatomic, strong, readonly, nonnull) NSString *cardConfigurationIdentifier;
+/// serverEnvironmentIdentifier: Identifier referencing the target server environment Apple Pay servers should reach out to to provision this pass.
+/// If not present, the default Apply Pay server environment will be used and an empty string will be returned.
+@property (nonatomic, strong, nonnull) NSString *serverEnvironmentIdentifier;
+
+@end
+
+API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
+@interface PKAddPushablePassConfiguration : PKAddSecureElementPassConfiguration
+
+- (null_unspecified instancetype)init NS_UNAVAILABLE;
++ (null_unspecified instancetype)new NS_UNAVAILABLE;
+
+@end
+
+
+#else
+#import <TargetConditionals.h>
+#import <PassKitCore/PKAddPushablePassConfiguration.h>
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h 2024-05-02 05:24:47
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddSecureElementPassConfiguration.h 2024-05-31 07:31:38
@@ -7,8 +7,33 @@
//
#import <Foundation/Foundation.h>
+#import <CoreGraphics/CGImage.h>
NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
+@interface PKAddPassMetadataPreview: NSObject
+
+/// Initializer preview object to represent the pass being added to Wallet.which requires a CGImage of the pass's card art and a localized description.
+/// - Properties:
+/// - passThumbnail: CGImage representing the card artwork of the pass to be presented during provisioning.
+/// - localizedDescription: Localized description of the pass.
+- (nonnull instancetype)initWithPassThumbnail:(CGImageRef)passThumbnail
+ localizedDescription:(NSString *)description;
+
++ (instancetype)previewWithPassThumbnail:(CGImageRef)passThumbnail
+ localizedDescription:(NSString *)description;
+
+- (null_unspecified instancetype)init NS_UNAVAILABLE;
++ (null_unspecified instancetype)new NS_UNAVAILABLE;
+
+/// CGImage representing the pass in our provisioning UI.
+@property (nonatomic, assign, readonly, nullable) CGImageRef passThumbnailImage CF_RETURNS_NOT_RETAINED;
+
+/// Localized description of the pass to be referenced during provisioning.
+@property (nonatomic, strong, readonly, nullable) NSString *localizedDescription;
+
+@end
API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(watchos, tvos)
@interface PKAddSecureElementPassConfiguration : NSObject
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h 2024-04-25 05:11:03
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h 2024-05-30 11:03:32
@@ -7,34 +7,27 @@
//
#import <Foundation/Foundation.h>
-#import <CoreGraphics/CGImage.h>
-#import <PassKit/PKAddSecureElementPassConfiguration.h>
+#import <PassKit/PKAddPushablePassConfiguration.h>
+
NS_ASSUME_NONNULL_BEGIN
API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_NAME(PKShareablePassMetadata.Preview)
-@interface PKShareablePassMetadataPreview : NSObject
+@interface PKShareablePassMetadataPreview : PKAddPassMetadataPreview
-- (null_unspecified instancetype)init NS_UNAVAILABLE;
-+ (null_unspecified instancetype)new NS_UNAVAILABLE;
-
-- (instancetype)initWithPassThumbnail:(CGImageRef)passThumbnail localizedDescription:(NSString *)description;
- (instancetype)initWithTemplateIdentifier:(NSString *)templateIdentifier;
-+ (PKShareablePassMetadataPreview *)previewWithPassThumbnail:(CGImageRef)passThumbnail localizedDescription:(NSString *)description;
-+ (PKShareablePassMetadataPreview *)previewWithTemplateIdentifier:(NSString *)templateIdentifier;
++ (instancetype)previewWithTemplateIdentifier:(NSString *)templateIdentifier;
-@property (nonatomic, assign, readonly, nullable) CGImageRef passThumbnailImage CF_RETURNS_NOT_RETAINED;
-@property (nonatomic, strong, readonly, nullable) NSString *localizedDescription;
@property (nonatomic, strong, nullable) NSString *ownerDisplayName;
-
@property (nonatomic, strong, readonly, nullable) NSString *provisioningTemplateIdentifier;
@end
+
API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKShareablePassMetadata : NSObject
+@interface PKShareablePassMetadata : PKPushablePassMetadata
- (nullable instancetype)initWithProvisioningCredentialIdentifier:(NSString *)credentialIdentifier
cardConfigurationIdentifier:(NSString *)cardConfigurationIdentifier
@@ -71,23 +64,12 @@
// Pass Configuration Properties
-// A unique identifier for provisioning credential data.
-@property (nonatomic, strong, readonly) NSString *credentialIdentifier;
-// A unique identifier that refers to an instance of sharing of credentials to a user's device initiated from another user, device, or web.
-@property (nonatomic, strong, readonly) NSString *sharingInstanceIdentifier;
// Identifier referencing a card template registered in portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName.
@property (nonatomic, strong, readonly) NSString *templateIdentifier API_DEPRECATED_WITH_REPLACEMENT("cardTemplateIdentifier", ios(15.0, 16.0));
-// Identifier referencing a card template registered in portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName.
-@property (nonatomic, strong, readonly) NSString *cardTemplateIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos);
-@property (nonatomic, strong, readonly) NSString *cardConfigurationIdentifier;
// Specify that the passes to provision require a unified access capable device.
// This is primarily used when provisioning a pass that uses an ISO18013-5 payload.
@property (nonatomic, assign) BOOL requiresUnifiedAccessCapableDevice API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos, tvos);
-// Identifer referencing the target server environment Apple Pay servers should reach
-// out to to provision this pass.
-@property (nonatomic, strong) NSString *serverEnvironmentIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos);
-
// Display Properties
@property (nonatomic, strong, readonly) PKShareablePassMetadataPreview *preview API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(watchos, tvos);
@@ -105,13 +87,14 @@
@end
+
typedef NS_ENUM(NSUInteger, PKAddShareablePassConfigurationPrimaryAction) {
PKAddShareablePassConfigurationPrimaryActionAdd,
PKAddShareablePassConfigurationPrimaryActionShare
} API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, tvos);
API_AVAILABLE(ios(14.0)) API_UNAVAILABLE(watchos, tvos)
-@interface PKAddShareablePassConfiguration : PKAddSecureElementPassConfiguration
+@interface PKAddShareablePassConfiguration : PKAddPushablePassConfiguration
+ (void)configurationForPassMetadata:(NSArray<PKShareablePassMetadata *> *)passMetadata
provisioningPolicyIdentifier:(NSString *)provisioningPolicyIdentifier
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h 2024-05-02 05:24:47
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h 2024-05-31 07:31:37
@@ -5,7 +5,6 @@
// Copyright © 2021 Apple, Inc. All rights reserved.
//
-
#ifndef PKAutomaticReloadPaymentRequest_h
#define PKAutomaticReloadPaymentRequest_h
@@ -49,7 +48,6 @@
NS_ASSUME_NONNULL_END
#endif /* PKAutomaticReloadPaymentRequest_h */
-
#else
#import <TargetConditionals.h>
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h 2024-05-02 05:24:48
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentSummaryItem.h 2024-05-31 07:31:38
@@ -8,7 +8,6 @@
#import <PassKit/PKPaymentSummaryItem.h>
-
#ifndef PKAutomaticReloadPaymentSummaryItem_h
#define PKAutomaticReloadPaymentSummaryItem_h
@@ -25,7 +24,6 @@
NS_ASSUME_NONNULL_END
#endif // PKAutomaticReloadPaymentSummaryItem_h
-
#else
#import <TargetConditionals.h>
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h 2024-05-02 05:24:48
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h 2024-05-31 07:31:38
@@ -12,7 +12,7 @@
@class PKPaymentSummaryItem;
-API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, tvos, watchos)
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(tvos, watchos)
@interface PKDisbursementRequest : NSObject
// Identifies the merchant, as previously agreed with Apple. Must match one of the merchant
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h 2024-05-02 05:24:48
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementSummaryItem.h 2024-05-31 07:31:39
@@ -9,7 +9,7 @@
NS_ASSUME_NONNULL_BEGIN
-API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, tvos, watchos)
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(tvos, watchos)
@interface PKDisbursementSummaryItem : PKPaymentSummaryItem
@end
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2024-04-27 03:25:50
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2024-05-31 06:48:55
@@ -46,16 +46,16 @@
// PKDisbursementErrorDomain is used for errors with in-app disbursements.
// You create your own PKDisbursementErrors and return them to indicate problems with a transfer.
-extern NSString * const PKDisbursementErrorDomain API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+extern NSString * const PKDisbursementErrorDomain API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, tvos);
typedef NS_ERROR_ENUM(PKDisbursementErrorDomain, PKDisbursementErrorCode) {
PKDisbursementUnknownError = -1, // there was an unknown error processing the disbursement. The user should try again.
PKDisbursementUnsupportedCardError = 1, // the selected card does not support receiving funds in.
PKDisbursementRecipientContactInvalidError, // the recipient contact information has an error. Use the PKDisbursementErrorKeys in the userInfo to detail the problem.
-} API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+} API_AVAILABLE(macos(15.0),ios(17.0)) API_UNAVAILABLE(watchos, tvos);
typedef NSString * PKDisbursementErrorKey NS_STRING_ENUM;
-extern PKDisbursementErrorKey const PKDisbursementErrorContactFieldUserInfoKey API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos); // a PKContactField the error relates to. Use with PKDisbursementRecipientContactInvalidError
+extern PKDisbursementErrorKey const PKDisbursementErrorContactFieldUserInfoKey API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, tvos); // a PKContactField the error relates to. Use with PKDisbursementRecipientContactInvalidError
typedef NS_ENUM(NSInteger, PKAddPaymentPassError) {
PKAddPaymentPassErrorUnsupported,
@@ -66,7 +66,8 @@
extern NSString * const PKAddSecureElementPassErrorDomain API_AVAILABLE(ios(13.4));
typedef NS_ERROR_ENUM(PKAddSecureElementPassErrorDomain, PKAddSecureElementPassErrorCode) {
- PKAddSecureElementPassUnknownError,
+ PKAddSecureElementPassGenericError API_AVAILABLE(ios(18.0)) = 0,
+ PKAddSecureElementPassUnknownError API_DEPRECATED("Use PKAddSecureElementPassGeneralError instead.", ios(13.4, 18.0)) = PKAddSecureElementPassGenericError,
PKAddSecureElementPassUserCanceledError,
PKAddSecureElementPassUnavailableError,
PKAddSecureElementPassInvalidConfigurationError,
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h 2024-05-02 05:24:47
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h 2024-05-31 07:31:37
@@ -39,6 +39,15 @@
@end
+/// Used to request information from a user's national id card (or equivalent document).
+API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(macos, watchos, tvos)
+@interface PKIdentityNationalIDCardDescriptor: NSObject <PKIdentityDocumentDescriptor>
+
+/// Alpha-2 country code, as defined in ISO 3166-1, of the issuing authority’s country or territory
+@property (nonatomic, copy, nullable) NSString *regionCode NS_REFINED_FOR_SWIFT;
+
+@end
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h 2024-05-02 05:24:48
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityError.h 2024-05-31 07:31:38
@@ -12,7 +12,7 @@
NS_ASSUME_NONNULL_BEGIN
/// Error domain for identity errors.
-extern NSErrorDomain const PKIdentityErrorDomain API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, tvos);
+extern NSErrorDomain const PKIdentityErrorDomain API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos);
/// Identity error codes.
typedef NS_ERROR_ENUM(PKIdentityErrorDomain, PKIdentityError) {
@@ -40,8 +40,11 @@
PKIdentityErrorInvalidNonce = 6,
/// Returned if an element requested by the caller is invalid.
- PKIdentityErrorInvalidElement = 7
-} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, watchos, tvos);
+ PKIdentityErrorInvalidElement = 7,
+
+ /// Returned if the document descriptor region is not supported.
+ PKIdentityErrorRegionNotSupported API_AVAILABLE(ios(18.0)) = 8,
+} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos);
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h 2024-05-02 05:24:47
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKInstantFundsOutFeeSummaryItem.h 2024-05-31 07:31:37
@@ -13,7 +13,7 @@
NS_ASSUME_NONNULL_BEGIN
// A summary item representing a fee for an Instant Funds Out transfer.
-API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos)
+API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos, tvos)
@interface PKInstantFundsOutFeeSummaryItem : PKPaymentSummaryItem
@end
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h 2024-05-02 05:24:47
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPass.h 2024-05-31 07:31:38
@@ -14,7 +14,7 @@
@class PKPaymentPass;
@class PKSecureElementPass;
-@class PKPassRelevancyDates;
+@class PKPassRelevantDate;
#if TARGET_OS_IPHONE
@class UIImage;
@@ -41,7 +41,8 @@
@property (nonatomic, copy, readonly) NSString *localizedName; // e.g. "Boarding Pass"
@property (nonatomic, copy, readonly) NSString *localizedDescription; // e.g. "SFO -> LHR"
@property (nonatomic, copy, readonly) NSString *organizationName; // e.g. "Great Airways"
-@property (nonatomic, copy, readonly, nullable) NSDate *relevantDate; // may be useful for sorting
+@property (nonatomic, copy, readonly, nullable) NSDate *relevantDate API_DEPRECATED("Use relevantDates", macos(11.0, 15.0), ios(6.0, 18.0), watchos(2.0, 11.0));
+@property (nonatomic, copy, readonly) NSArray<PKPassRelevantDate *> *relevantDates API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0));
@property (nonatomic, copy, readonly, nullable) NSDictionary *userInfo API_AVAILABLE(macos(11.0), ios(7.0), watchos(3.0));
@property (nonatomic, copy, readonly, nullable) NSURL *passURL; // open to view pass in Wallet app
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2024-04-19 07:35:15
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2024-05-30 10:50:00
@@ -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(ios(9.0));
+} API_AVAILABLE(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));
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassRelevantDate.h 2024-05-31 07:31:35
@@ -0,0 +1,31 @@
+#if !__has_include(<PassKitCore/PKPassRelevantDate.h>) || PK_USE_PUBLIC_PASSKIT
+//
+// PKPassRelevantDate.h
+// PassKit
+//
+// Created by Russell Fenenga on 9/25/23.
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+@interface PKPassRelevantDate : NSObject
+
+@property (nonatomic, nullable, copy, readonly) NSDateInterval *interval;
+@property (nonatomic, nullable, copy, readonly) NSDate *date;
+
+@end
+
+@interface PKPassRelevantDate ()
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+NS_ASSUME_NONNULL_END
+
+#else
+#import <TargetConditionals.h>
+#import <PassKitCore/PKPassRelevantDate.h>
+#endif
\ No newline at end of file
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2024-04-19 07:35:15
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2024-05-30 10:50:00
@@ -188,7 +188,7 @@
capabilities:(PKMerchantCapability)capabilties NS_SWIFT_NAME(supportsDisbursements(using:capabilities:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
// Initialize the controller with a request to send money to a user.
-- (instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)request API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+- (instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)request API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(watchos, tvos);
@end
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2024-05-02 05:24:48
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2024-05-30 10:50:01
@@ -11,7 +11,7 @@
#import <TargetConditionals.h>
-#if !TARGET_OS_WATCH && !TARGET_OS_TV
+#if !TARGET_OS_WATCH
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
@@ -79,17 +79,17 @@
- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest *)request NS_DESIGNATED_INITIALIZER;
// Determine whether this device can process disbursement requests.
-+ (BOOL)supportsDisbursements API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
++ (BOOL)supportsDisbursements API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(watchos, tvos);
// Determine whether this device can process disbursement requests using specific payment network brands.
-+ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks NS_SWIFT_NAME(supportsDisbursements(using:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
++ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks NS_SWIFT_NAME(supportsDisbursements(using:)) API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(watchos, tvos);
// Determine whether this device can process disbursements to cards using the specified networks and capabilities bitmask.
+ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks
- capabilities:(PKMerchantCapability)capabilities NS_SWIFT_NAME(supportsDisbursements(using:capabilities:)) API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+ capabilities:(PKMerchantCapability)capabilities NS_SWIFT_NAME(supportsDisbursements(using:capabilities:)) API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(watchos, tvos);
// Initialize the controller with a request to send money to a user.
-- (instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)request API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(macos, watchos, tvos);
+- (instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)request API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(watchos, tvos);
@end
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2024-04-27 03:25:51
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2024-05-31 06:16:45
@@ -11,8 +11,7 @@
#import <TargetConditionals.h>
-#if !TARGET_OS_WATCH && !TARGET_OS_TV
-
+#if !TARGET_OS_WATCH
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
#import <AddressBook/ABRecord.h>
#endif
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2024-04-19 07:51:27
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2024-05-31 07:31:38
@@ -37,6 +37,9 @@
// There are more PKMerchantCapability constants defined in PKPaymentRequest_Private.h; beware of conflicting values when adding new public cases
} API_AVAILABLE(macos(11.0), ios(8.0), watchos(3.0));
+typedef SInt16 PKMerchantCategoryCode NS_TYPED_EXTENSIBLE_ENUM NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0));
+extern PKMerchantCategoryCode const PKMerchantCategoryCodeNone API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0));
+
typedef NS_OPTIONS(NSUInteger, PKAddressField) {
PKAddressFieldNone = 0UL, // No address fields required.
PKAddressFieldPostalAddress = 1UL << 0, // Full street address including name, street, city, state/province, postal code, country.
@@ -116,6 +119,11 @@
// An optional coupon code that is valid and has been applied to the payment request already.
@property (nonatomic, copy, nullable) NSString *couponCode API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(watchos);
+
+// The ISO 18245 Merchant Category Code for the payment.
+// Some payment methods may not support specific merchant category codes.
+// By setting the merchant category code, these payment methods can be excluded.
+@property (nonatomic, assign) PKMerchantCategoryCode merchantCategoryCode API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0)) NS_REFINED_FOR_SWIFT;
// Array of PKPaymentSummaryItem objects which should be presented to the user.
// The last item should be the total you wish to charge, and should not be pending
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h 2024-05-02 05:24:48
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h 2024-05-31 07:31:38
@@ -6,7 +6,6 @@
// Copyright © 2021 Apple, Inc. All rights reserved.
//
-
#ifndef PKRecurringPaymentRequest_h
#define PKRecurringPaymentRequest_h
@@ -52,7 +51,6 @@
NS_ASSUME_NONNULL_END
#endif /* PKRecurringPaymentRequest_h */
-
#else
#import <TargetConditionals.h>
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2024-04-19 07:51:24
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2024-05-31 06:37:28
@@ -120,8 +120,14 @@
#if __has_include(<PassKit/PKPaymentMerchantSession.h>)
#import <PassKit/PKPaymentMerchantSession.h>
#endif
+#if __has_include(<PassKit/PKAddPushablePassConfiguration.h>)
+#import <PassKit/PKAddPushablePassConfiguration.h>
+#endif
#if __has_include(<PassKit/PKAddShareablePassConfiguration.h>)
#import <PassKit/PKAddShareablePassConfiguration.h>
+#endif
+#if __has_include(<PassKit/PKAddIdentityDocumentConfiguration.h>)
+#import <PassKit/PKAddIdentityDocumentConfiguration.h>
#endif
#if __has_include(<PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.h>)
#import <PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status