pyobjc-framework-StoreKit 12.2__cp315-cp315t-macosx_10_15_universal2.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
StoreKit/__init__.py ADDED
@@ -0,0 +1,60 @@
1
+ """
2
+ Python mapping for the StoreKit framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import objc
14
+ from . import _metadata, _StoreKit
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="StoreKit",
18
+ frameworkIdentifier="com.apple.StoreKit",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/StoreKit.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _StoreKit,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ for cls, sel in (
35
+ ("SKOverlayConfiguration", b"init"),
36
+ ("SKOverlayConfiguration", b"new"),
37
+ ("SKOverlayAppConfiguration", b"init"),
38
+ ("SKOverlayAppConfiguration", b"new"),
39
+ ("SKOverlayAppClipConfiguration", b"init"),
40
+ ("SKOverlayAppClipConfiguration", b"new"),
41
+ ("SKOverlayTransitionContext", b"init"),
42
+ ("SKOverlayTransitionContext", b"new"),
43
+ ("SKOverlay", b"init"),
44
+ ("SKOverlay", b"new"),
45
+ ):
46
+ objc.registerUnavailableMethod(cls, sel)
47
+
48
+ del sys.modules["StoreKit._metadata"]
49
+
50
+
51
+ globals().pop("_setup")()
52
+
53
+ from Foundation import NSLocalizedStringFromTableInBundle # isort:skip # noqa: E402
54
+
55
+
56
+ from . import StoreKitBundle # isort:skip # noqa: E402
57
+
58
+
59
+ def SKLocalizedString(x):
60
+ return NSLocalizedStringFromTableInBundle(x, None, StoreKitBundle, "")
StoreKit/_metadata.py ADDED
@@ -0,0 +1,612 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sun May 24 11:59:30 2026
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$SKANErrorDomain$SKAdNetworkCoarseConversionValueHigh$SKAdNetworkCoarseConversionValueLow$SKAdNetworkCoarseConversionValueMedium$SKCloudServiceCapabilitiesDidChangeNotification$SKCloudServiceSetupActionSubscribe$SKCloudServiceSetupMessageIdentifierAddMusic$SKCloudServiceSetupMessageIdentifierConnect$SKCloudServiceSetupMessageIdentifierJoin$SKCloudServiceSetupMessageIdentifierPlayMusic$SKCloudServiceSetupOptionsActionKey$SKCloudServiceSetupOptionsAffiliateTokenKey$SKCloudServiceSetupOptionsCampaignTokenKey$SKCloudServiceSetupOptionsITunesItemIdentifierKey$SKCloudServiceSetupOptionsMessageIdentifierKey$SKDownloadTimeRemainingUnknown@d$SKErrorDomain$SKReceiptPropertyIsExpired$SKReceiptPropertyIsRevoked$SKReceiptPropertyIsVolumePurchase$SKStoreProductParameterAdNetworkAttributionSignature$SKStoreProductParameterAdNetworkCampaignIdentifier$SKStoreProductParameterAdNetworkIdentifier$SKStoreProductParameterAdNetworkNonce$SKStoreProductParameterAdNetworkSourceAppStoreIdentifier$SKStoreProductParameterAdNetworkSourceIdentifier$SKStoreProductParameterAdNetworkTimestamp$SKStoreProductParameterAdNetworkVersion$SKStoreProductParameterAdvertisingPartnerToken$SKStoreProductParameterAffiliateToken$SKStoreProductParameterCampaignToken$SKStoreProductParameterCustomProductPageIdentifier$SKStoreProductParameterITunesItemIdentifier$SKStoreProductParameterProductIdentifier$SKStoreProductParameterProviderToken$SKStorefrontCountryCodeDidChangeNotification$SKStorefrontIdentifierDidChangeNotification$"""
34
+ enums = """$SKANErrorAdNetworkIdMissing@2$SKANErrorImpressionMissingRequiredValue@0$SKANErrorImpressionNotFound@4$SKANErrorImpressionTooShort@11$SKANErrorInvalidAdvertisedAppId@8$SKANErrorInvalidCampaignId@5$SKANErrorInvalidConversionValue@6$SKANErrorInvalidSourceAppId@7$SKANErrorInvalidVersion@9$SKANErrorMismatchedSourceAppId@3$SKANErrorUnknown@10$SKANErrorUnsupported@1$SKCloudServiceAuthorizationStatusAuthorized@3$SKCloudServiceAuthorizationStatusDenied@1$SKCloudServiceAuthorizationStatusNotDetermined@0$SKCloudServiceAuthorizationStatusRestricted@2$SKCloudServiceCapabilityAddToCloudMusicLibrary@256$SKCloudServiceCapabilityMusicCatalogPlayback@1$SKCloudServiceCapabilityMusicCatalogSubscriptionEligible@2$SKCloudServiceCapabilityNone@0$SKDownloadStateActive@1$SKDownloadStateCancelled@5$SKDownloadStateFailed@4$SKDownloadStateFinished@3$SKDownloadStatePaused@2$SKDownloadStateWaiting@0$SKErrorClientInvalid@1$SKErrorCloudServiceNetworkConnectionFailed@7$SKErrorCloudServicePermissionDenied@6$SKErrorCloudServiceRevoked@8$SKErrorIneligibleForOffer@18$SKErrorInvalidOfferIdentifier@11$SKErrorInvalidOfferPrice@14$SKErrorInvalidSignature@12$SKErrorMissingOfferParams@13$SKErrorOverlayCancelled@15$SKErrorOverlayInvalidConfiguration@16$SKErrorOverlayPresentedInBackgroundScene@20$SKErrorOverlayTimeout@17$SKErrorPaymentCancelled@2$SKErrorPaymentInvalid@3$SKErrorPaymentMethodBindingConfigurationRequired@21$SKErrorPaymentNotAllowed@4$SKErrorPrivacyAcknowledgementRequired@9$SKErrorStoreProductNotAvailable@5$SKErrorUnauthorizedRequestData@10$SKErrorUnknown@0$SKErrorUnsupportedPlatform@19$SKOverlayPositionBottom@0$SKOverlayPositionBottomRaised@1$SKPaymentTransactionStateDeferred@4$SKPaymentTransactionStateFailed@2$SKPaymentTransactionStatePurchased@1$SKPaymentTransactionStatePurchasing@0$SKPaymentTransactionStateRestored@3$SKProductDiscountPaymentModeFreeTrial@2$SKProductDiscountPaymentModePayAsYouGo@0$SKProductDiscountPaymentModePayUpFront@1$SKProductDiscountTypeIntroductory@0$SKProductDiscountTypeSubscription@1$SKProductPeriodUnitDay@0$SKProductPeriodUnitMonth@2$SKProductPeriodUnitWeek@1$SKProductPeriodUnitYear@3$SKProductStorePromotionVisibilityDefault@0$SKProductStorePromotionVisibilityHide@2$SKProductStorePromotionVisibilityShow@1$"""
35
+ misc.update(
36
+ {
37
+ "SKProductDiscountPaymentMode": NewType("SKProductDiscountPaymentMode", int),
38
+ "SKOverlayPosition": NewType("SKOverlayPosition", int),
39
+ "SKProductDiscountType": NewType("SKProductDiscountType", int),
40
+ "SKCloudServiceCapability": NewType("SKCloudServiceCapability", int),
41
+ "SKPaymentTransactionState": NewType("SKPaymentTransactionState", int),
42
+ "SKANError": NewType("SKANError", int),
43
+ "SKProductStorePromotionVisibility": NewType(
44
+ "SKProductStorePromotionVisibility", int
45
+ ),
46
+ "SKCloudServiceAuthorizationStatus": NewType(
47
+ "SKCloudServiceAuthorizationStatus", int
48
+ ),
49
+ "SKErrorCode": NewType("SKErrorCode", int),
50
+ "SKDownloadState": NewType("SKDownloadState", int),
51
+ "SKProductPeriodUnit": NewType("SKProductPeriodUnit", int),
52
+ }
53
+ )
54
+ misc.update({})
55
+ misc.update({})
56
+ functions = {"SKTerminateForInvalidReceipt": (b"v",)}
57
+ r = objc.registerMetaDataForSelector
58
+ objc._updatingMetadata(True)
59
+ try:
60
+ r(
61
+ b"NSObject",
62
+ b"cloudServiceSetupViewControllerDidDismiss:",
63
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
64
+ )
65
+ r(
66
+ b"NSObject",
67
+ b"paymentQueue:didRevokeEntitlementsForProductIdentifiers:",
68
+ {
69
+ "required": False,
70
+ "retval": {"type": b"v"},
71
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
72
+ },
73
+ )
74
+ r(
75
+ b"NSObject",
76
+ b"paymentQueue:removedTransactions:",
77
+ {
78
+ "required": False,
79
+ "retval": {"type": b"v"},
80
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
81
+ },
82
+ )
83
+ r(
84
+ b"NSObject",
85
+ b"paymentQueue:restoreCompletedTransactionsFailedWithError:",
86
+ {
87
+ "required": False,
88
+ "retval": {"type": b"v"},
89
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
90
+ },
91
+ )
92
+ r(
93
+ b"NSObject",
94
+ b"paymentQueue:shouldAddStorePayment:forProduct:",
95
+ {
96
+ "required": False,
97
+ "retval": {"type": b"Z"},
98
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
99
+ },
100
+ )
101
+ r(
102
+ b"NSObject",
103
+ b"paymentQueue:shouldContinueTransaction:inStorefront:",
104
+ {
105
+ "required": False,
106
+ "retval": {"type": b"Z"},
107
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
108
+ },
109
+ )
110
+ r(
111
+ b"NSObject",
112
+ b"paymentQueue:updatedDownloads:",
113
+ {
114
+ "required": False,
115
+ "retval": {"type": b"v"},
116
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
117
+ },
118
+ )
119
+ r(
120
+ b"NSObject",
121
+ b"paymentQueue:updatedTransactions:",
122
+ {
123
+ "required": True,
124
+ "retval": {"type": b"v"},
125
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
126
+ },
127
+ )
128
+ r(
129
+ b"NSObject",
130
+ b"paymentQueueDidChangeStorefront:",
131
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
132
+ )
133
+ r(
134
+ b"NSObject",
135
+ b"paymentQueueRestoreCompletedTransactionsFinished:",
136
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
137
+ )
138
+ r(
139
+ b"NSObject",
140
+ b"paymentQueueShouldShowPriceConsent:",
141
+ {"required": False, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
142
+ )
143
+ r(
144
+ b"NSObject",
145
+ b"productViewControllerDidFinish:",
146
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
147
+ )
148
+ r(
149
+ b"NSObject",
150
+ b"productsRequest:didReceiveResponse:",
151
+ {
152
+ "required": True,
153
+ "retval": {"type": b"v"},
154
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
155
+ },
156
+ )
157
+ r(
158
+ b"NSObject",
159
+ b"request:didFailWithError:",
160
+ {
161
+ "required": False,
162
+ "retval": {"type": b"v"},
163
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
164
+ },
165
+ )
166
+ r(
167
+ b"NSObject",
168
+ b"requestDidFinish:",
169
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
170
+ )
171
+ r(
172
+ b"NSObject",
173
+ b"storeOverlay:didFailToLoadWithError:",
174
+ {
175
+ "required": False,
176
+ "retval": {"type": b"v"},
177
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
178
+ },
179
+ )
180
+ r(
181
+ b"NSObject",
182
+ b"storeOverlay:didFinishDismissal:",
183
+ {
184
+ "required": False,
185
+ "retval": {"type": b"v"},
186
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
187
+ },
188
+ )
189
+ r(
190
+ b"NSObject",
191
+ b"storeOverlay:didFinishPresentation:",
192
+ {
193
+ "required": False,
194
+ "retval": {"type": b"v"},
195
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
196
+ },
197
+ )
198
+ r(
199
+ b"NSObject",
200
+ b"storeOverlay:willStartDismissal:",
201
+ {
202
+ "required": False,
203
+ "retval": {"type": b"v"},
204
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
205
+ },
206
+ )
207
+ r(
208
+ b"NSObject",
209
+ b"storeOverlay:willStartPresentation:",
210
+ {
211
+ "required": False,
212
+ "retval": {"type": b"v"},
213
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
214
+ },
215
+ )
216
+ r(
217
+ b"SKAdNetwork",
218
+ b"endImpression:completionHandler:",
219
+ {
220
+ "arguments": {
221
+ 3: {
222
+ "callable": {
223
+ "retval": {"type": b"v"},
224
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
225
+ }
226
+ }
227
+ }
228
+ },
229
+ )
230
+ r(
231
+ b"SKAdNetwork",
232
+ b"startImpression:completionHandler:",
233
+ {
234
+ "arguments": {
235
+ 3: {
236
+ "callable": {
237
+ "retval": {"type": b"v"},
238
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
239
+ }
240
+ }
241
+ }
242
+ },
243
+ )
244
+ r(
245
+ b"SKAdNetwork",
246
+ b"updatePostbackConversionValue:coarseValue:completionHandler:",
247
+ {
248
+ "arguments": {
249
+ 4: {
250
+ "callable": {
251
+ "retval": {"type": b"v"},
252
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
253
+ }
254
+ }
255
+ }
256
+ },
257
+ )
258
+ r(
259
+ b"SKAdNetwork",
260
+ b"updatePostbackConversionValue:coarseValue:lockWindow:completionHandler:",
261
+ {
262
+ "arguments": {
263
+ 4: {"type": b"Z"},
264
+ 5: {
265
+ "callable": {
266
+ "retval": {"type": b"v"},
267
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
268
+ }
269
+ },
270
+ }
271
+ },
272
+ )
273
+ r(
274
+ b"SKAdNetwork",
275
+ b"updatePostbackConversionValue:completionHandler:",
276
+ {
277
+ "arguments": {
278
+ 3: {
279
+ "callable": {
280
+ "retval": {"type": b"v"},
281
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
282
+ }
283
+ }
284
+ }
285
+ },
286
+ )
287
+ r(
288
+ b"SKArcadeService",
289
+ b"arcadeSubscriptionStatusWithNonce:resultHandler:",
290
+ {
291
+ "arguments": {
292
+ 3: {
293
+ "callable": {
294
+ "retval": {"type": b"@"},
295
+ "arguments": {
296
+ 0: {"type": b"^v"},
297
+ 1: {"type": b"@"},
298
+ 2: {"type": b"I"},
299
+ 3: {"type": b"@"},
300
+ 4: {"type": b"I"},
301
+ 5: {"type": b"@"},
302
+ },
303
+ }
304
+ }
305
+ }
306
+ },
307
+ )
308
+ r(
309
+ b"SKArcadeService",
310
+ b"registerArcadeAppWithRandomFromLib:randomFromLibLength:resultHandler:",
311
+ {
312
+ "arguments": {
313
+ 4: {
314
+ "callable": {
315
+ "retval": {"type": b"v"},
316
+ "arguments": {
317
+ 0: {"type": b"^v"},
318
+ 1: {"type": b"@"},
319
+ 2: {"type": b"I"},
320
+ 3: {"type": b"@"},
321
+ 4: {"type": b"I"},
322
+ 5: {"type": b"@"},
323
+ },
324
+ }
325
+ }
326
+ }
327
+ },
328
+ )
329
+ r(
330
+ b"SKCloudServiceController",
331
+ b"requestAuthorization:",
332
+ {
333
+ "arguments": {
334
+ 2: {
335
+ "callable": {
336
+ "retval": {"type": b"v"},
337
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"q"}},
338
+ }
339
+ }
340
+ }
341
+ },
342
+ )
343
+ r(
344
+ b"SKCloudServiceController",
345
+ b"requestCapabilitiesWithCompletionHandler:",
346
+ {
347
+ "arguments": {
348
+ 2: {
349
+ "callable": {
350
+ "retval": {"type": b"v"},
351
+ "arguments": {
352
+ 0: {"type": b"^v"},
353
+ 1: {"type": b"Q"},
354
+ 2: {"type": b"@"},
355
+ },
356
+ }
357
+ }
358
+ }
359
+ },
360
+ )
361
+ r(
362
+ b"SKCloudServiceController",
363
+ b"requestPersonalizationTokenForClientToken:withCompletionHandler:",
364
+ {
365
+ "arguments": {
366
+ 3: {
367
+ "callable": {
368
+ "retval": {"type": b"v"},
369
+ "arguments": {
370
+ 0: {"type": b"^v"},
371
+ 1: {"type": b"@"},
372
+ 2: {"type": b"@"},
373
+ },
374
+ }
375
+ }
376
+ }
377
+ },
378
+ )
379
+ r(
380
+ b"SKCloudServiceController",
381
+ b"requestStorefrontCountryCodeWithCompletionHandler:",
382
+ {
383
+ "arguments": {
384
+ 2: {
385
+ "callable": {
386
+ "retval": {"type": b"v"},
387
+ "arguments": {
388
+ 0: {"type": b"^v"},
389
+ 1: {"type": b"@"},
390
+ 2: {"type": b"@"},
391
+ },
392
+ }
393
+ }
394
+ }
395
+ },
396
+ )
397
+ r(
398
+ b"SKCloudServiceController",
399
+ b"requestStorefrontIdentifierWithCompletionHandler:",
400
+ {
401
+ "arguments": {
402
+ 2: {
403
+ "callable": {
404
+ "retval": {"type": b"v"},
405
+ "arguments": {
406
+ 0: {"type": b"^v"},
407
+ 1: {"type": b"@"},
408
+ 2: {"type": b"@"},
409
+ },
410
+ }
411
+ }
412
+ }
413
+ },
414
+ )
415
+ r(
416
+ b"SKCloudServiceController",
417
+ b"requestUserTokenForDeveloperToken:completionHandler:",
418
+ {
419
+ "arguments": {
420
+ 3: {
421
+ "callable": {
422
+ "retval": {"type": b"v"},
423
+ "arguments": {
424
+ 0: {"type": b"^v"},
425
+ 1: {"type": b"@"},
426
+ 2: {"type": b"@"},
427
+ },
428
+ }
429
+ }
430
+ }
431
+ },
432
+ )
433
+ r(
434
+ b"SKCloudServiceSetupViewController",
435
+ b"loadWithOptions:completionHandler:",
436
+ {
437
+ "arguments": {
438
+ 3: {
439
+ "callable": {
440
+ "retval": {"type": b"v"},
441
+ "arguments": {
442
+ 0: {"type": b"^v"},
443
+ 1: {"type": b"Z"},
444
+ 2: {"type": b"@"},
445
+ },
446
+ }
447
+ }
448
+ }
449
+ },
450
+ )
451
+ r(
452
+ b"SKMutablePayment",
453
+ b"setSimulatesAskToBuyInSandbox:",
454
+ {"arguments": {2: {"type": b"Z"}}},
455
+ )
456
+ r(b"SKMutablePayment", b"simulatesAskToBuyInSandbox", {"retval": {"type": b"Z"}})
457
+ r(
458
+ b"SKOverlayAppConfiguration",
459
+ b"setUserDismissible:",
460
+ {"arguments": {2: {"type": b"Z"}}},
461
+ )
462
+ r(b"SKOverlayAppConfiguration", b"userDismissible", {"retval": {"type": b"Z"}})
463
+ r(
464
+ b"SKOverlayTransitionContext",
465
+ b"addAnimationBlock:",
466
+ {
467
+ "arguments": {
468
+ 2: {
469
+ "callable": {
470
+ "retval": {"type": b"v"},
471
+ "arguments": {0: {"type": b"^v"}},
472
+ }
473
+ }
474
+ }
475
+ },
476
+ )
477
+ r(b"SKPayment", b"simulatesAskToBuyInSandbox", {"retval": {"type": b"Z"}})
478
+ r(b"SKPaymentQueue", b"canMakePayments", {"retval": {"type": b"Z"}})
479
+ r(b"SKProduct", b"downloadable", {"retval": {"type": b"Z"}})
480
+ r(b"SKProduct", b"isDownloadable", {"retval": {"type": b"Z"}})
481
+ r(b"SKProduct", b"isFamilyShareable", {"retval": {"type": b"Z"}})
482
+ r(
483
+ b"SKProductStorePromotionController",
484
+ b"fetchStorePromotionOrderWithCompletionHandler:",
485
+ {
486
+ "arguments": {
487
+ 2: {
488
+ "callable": {
489
+ "retval": {"type": b"v"},
490
+ "arguments": {
491
+ 0: {"type": b"^v"},
492
+ 1: {"type": b"@"},
493
+ 2: {"type": b"@"},
494
+ },
495
+ }
496
+ }
497
+ }
498
+ },
499
+ )
500
+ r(
501
+ b"SKProductStorePromotionController",
502
+ b"fetchStorePromotionVisibilityForProduct:completionHandler:",
503
+ {
504
+ "arguments": {
505
+ 3: {
506
+ "callable": {
507
+ "retval": {"type": b"v"},
508
+ "arguments": {
509
+ 0: {"type": b"^v"},
510
+ 1: {"type": b"q"},
511
+ 2: {"type": b"@"},
512
+ },
513
+ }
514
+ }
515
+ }
516
+ },
517
+ )
518
+ r(
519
+ b"SKProductStorePromotionController",
520
+ b"updateStorePromotionOrder:completionHandler:",
521
+ {
522
+ "arguments": {
523
+ 3: {
524
+ "callable": {
525
+ "retval": {"type": b"v"},
526
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
527
+ }
528
+ }
529
+ }
530
+ },
531
+ )
532
+ r(
533
+ b"SKProductStorePromotionController",
534
+ b"updateStorePromotionVisibility:forProduct:completionHandler:",
535
+ {
536
+ "arguments": {
537
+ 4: {
538
+ "callable": {
539
+ "retval": {"type": b"v"},
540
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
541
+ }
542
+ }
543
+ }
544
+ },
545
+ )
546
+ r(
547
+ b"SKStoreProductViewController",
548
+ b"loadProductWithParameters:completionBlock:",
549
+ {
550
+ "arguments": {
551
+ 3: {
552
+ "callable": {
553
+ "retval": {"type": b"v"},
554
+ "arguments": {
555
+ 0: {"type": b"^v"},
556
+ 1: {"type": b"Z"},
557
+ 2: {"type": b"@"},
558
+ },
559
+ }
560
+ }
561
+ }
562
+ },
563
+ )
564
+ r(
565
+ b"SKStoreProductViewController",
566
+ b"loadProductWithParameters:impression:completionBlock:",
567
+ {
568
+ "arguments": {
569
+ 4: {
570
+ "callable": {
571
+ "retval": {"type": b"v"},
572
+ "arguments": {
573
+ 0: {"type": b"^v"},
574
+ 1: {"type": b"Z"},
575
+ 2: {"type": b"@"},
576
+ },
577
+ }
578
+ }
579
+ }
580
+ },
581
+ )
582
+ finally:
583
+ objc._updatingMetadata(False)
584
+
585
+ objc.registerNewKeywordsFromSelector("SKOverlay", b"init")
586
+ objc.registerNewKeywordsFromSelector("SKOverlay", b"initWithConfiguration:")
587
+ objc.registerNewKeywordsFromSelector("SKOverlayAppClipConfiguration", b"init")
588
+ objc.registerNewKeywordsFromSelector(
589
+ "SKOverlayAppClipConfiguration", b"initWithPosition:"
590
+ )
591
+ objc.registerNewKeywordsFromSelector("SKOverlayAppConfiguration", b"init")
592
+ objc.registerNewKeywordsFromSelector(
593
+ "SKOverlayAppConfiguration", b"initWithAppIdentifier:position:"
594
+ )
595
+ objc.registerNewKeywordsFromSelector("SKOverlayConfiguration", b"init")
596
+ objc.registerNewKeywordsFromSelector("SKOverlayTransitionContext", b"init")
597
+ objc.registerNewKeywordsFromSelector(
598
+ "SKPaymentDiscount", b"initWithIdentifier:keyIdentifier:nonce:signature:timestamp:"
599
+ )
600
+ objc.registerNewKeywordsFromSelector(
601
+ "SKProductsRequest", b"initWithProductIdentifiers:"
602
+ )
603
+ objc.registerNewKeywordsFromSelector(
604
+ "SKReceiptRefreshRequest", b"initWithReceiptProperties:"
605
+ )
606
+
607
+ objc.registerNewKeywords("SKPayment", ("product",), "paymentWithProduct_")
608
+ expressions = {
609
+ "StoreKitBundle": "NSBundle.bundleWithPath_('/System/Library/Frameworks/StoreKit.framework')"
610
+ }
611
+
612
+ # END OF FILE
@@ -0,0 +1,68 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-StoreKit
3
+ Version: 12.2
4
+ Summary: Wrappers for the framework StoreKit on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT
9
+ Keywords: PyObjC,StoreKit
10
+ Platform: MacOS X (>=10.7)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: MacOS :: MacOS X
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.10
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: description-content-type
40
+ Dynamic: home-page
41
+ Dynamic: keywords
42
+ Dynamic: license
43
+ Dynamic: platform
44
+ Dynamic: requires-dist
45
+ Dynamic: requires-python
46
+ Dynamic: summary
47
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
48
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
49
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
50
+
51
+
52
+ Wrappers for the "StoreKit" framework on macOS 10.7 or later.
53
+
54
+ These wrappers don't include documentation, please check Apple's documentation
55
+ for information on how to use this framework and PyObjC's documentation
56
+ for general tips and tricks regarding the translation between Python
57
+ and (Objective-)C frameworks
58
+
59
+
60
+ Project links
61
+ -------------
62
+
63
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
64
+
65
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
66
+
67
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
68
+
@@ -0,0 +1,8 @@
1
+ StoreKit/_StoreKit.cpython-315t-darwin.so,sha256=kxGAiGkTggVb1VhNy0v5OH8ujiXTRAosECETgitcuLo,87520
2
+ StoreKit/__init__.py,sha256=mOtZrbXbQ8IfmSMrjMyhgg4Oc52_ma44B2-xgszm8Fk,1666
3
+ StoreKit/_metadata.py,sha256=GH_bWaL_38dB4KKh0esl0rwh844b8PaK0cQMzbkw3U0,21758
4
+ pyobjc_framework_storekit-12.2.dist-info/METADATA,sha256=_c1UKqTlXzcUjie0joUdzVw96igAKqXVImRXst_3NZ4,2514
5
+ pyobjc_framework_storekit-12.2.dist-info/WHEEL,sha256=_nP7yfUfwxmGX9RTJbiMJrobK8htS_8OhvZ4aYaIBs4,116
6
+ pyobjc_framework_storekit-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
7
+ pyobjc_framework_storekit-12.2.dist-info/top_level.txt,sha256=4smnkO902dwBWt35yDEWhiG0tVsZ-Eot9sm1iF4znlI,9
8
+ pyobjc_framework_storekit-12.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp315-cp315t-macosx_10_15_universal2
5
+
@@ -0,0 +1,3 @@
1
+ macOS 26.5 (25F71)
2
+ Apple clang version 21.0.0 (clang-2100.1.1.101)
3
+ SDK: macOS 26.5
@@ -0,0 +1 @@
1
+ StoreKit