StoreKit 2 vs StoreKit 1 in Swift files
Public GitHub Swift files were counted for 24 StoreKit words on 1 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
StoreKit 2
Transaction.updates is the most common StoreKit 2 word.
Each number is the count of Swift files with the word. A file counts once however many times the word appears.
| Word | Files |
|---|---|
| Transaction.updates | 4,212 |
| Product.products | 4,008 |
| Transaction.currentEntitlements | 3,260 |
| AppStore.sync | 2,492 |
| AppTransaction | 1,390 |
| Product.SubscriptionInfo | 709 |
| isEligibleForIntroOffer | 608 |
| manageSubscriptionsSheet | 371 |
| SubscriptionStoreView | 321 |
| Transaction.latest | 308 |
| offerCodeRedemption | 265 |
| ProductView(id | 133 |
| StoreView(ids | 59 |
StoreKit 1
SKPayment is the most common StoreKit 1 word.
| Word | Files |
|---|---|
| SKPayment | 3,112 |
| SKPaymentQueue | 2,428 |
| appStoreReceiptURL | 2,380 |
| SKProductsRequest | 1,856 |
| SKPaymentTransactionObserver | 1,816 |
| restoreCompletedTransactions | 1,312 |
| SKStoreProductViewController | 394 |
| SKReceiptRefreshRequest | 338 |
New against old
Product.products is in 4,008 files against 1,856 for SKProductsRequest, 2.2 to 1. Transaction.updates is in 4,212 against 1,816 for SKPaymentTransactionObserver, 2.3 to 1.
Three StoreKit 2 calls lead their StoreKit 1 pair.
AppStore.sync is in 2,492 against 1,312 for restoreCompletedTransactions, 1.9 to 1.
| Pair | StoreKit 2 per 1 |
|---|---|
| Products | 2.2 |
| Updates | 2.3 |
| Restore | 1.9 |
| Receipt | 0.6 |
Transaction words
Transaction.updates is in 13.7 times the files of Transaction.latest.
Updates listens for purchases as they happen, and currentEntitlements lists what the person owns now.
| Word | Files |
|---|---|
| Transaction.updates | 4,212 |
| Transaction.currentEntitlements | 3,260 |
| Transaction.latest | 308 |
Ready made screens
SubscriptionStoreView is in 321 files, ProductView(id in 133 and StoreView(ids in 59.
The ready made store screens are rare.
Product.products is in 12.5 times the files of SubscriptionStoreView.
| Ready made screen | Files |
|---|---|
| SubscriptionStoreView | 321 |
| ProductView(id | 133 |
| StoreView(ids | 59 |
Test files
Files with the .storekit extension number 3,792, and two common names, Configuration.storekit and Products.storekit, are 739 and 674.
StoreKit configuration files number 3,792.
These count files by extension and name, not Swift files.
| Word | Files |
|---|---|
| StoreKit configuration files | 3,792 |
| Configuration.storekit | 739 |
| Products.storekit | 674 |
Subscriptions
Product.SubscriptionInfo is in 709 files, 17.7 for every 100 files of Product.products.
About one in six product files names subscription info.
isEligibleForIntroOffer is in 608 files, manageSubscriptionsSheet in 371 and offerCodeRedemption in 265.
| Subscription word | Files |
|---|---|
| Product.SubscriptionInfo | 709 |
| isEligibleForIntroOffer | 608 |
| manageSubscriptionsSheet | 371 |
| SubscriptionStoreView | 321 |
| offerCodeRedemption | 265 |
Around Product.products
Transaction.updates is in 105.1 files for every 100 of Product.products, and Transaction.currentEntitlements in 81.3.
Transaction.updates is in 105 files per 100 product files.
AppStore.sync is in 62.2 and AppTransaction in 34.7. These compare two counts and do not say the same files hold both words.
| Word | Per 100 |
|---|---|
| Transaction.updates | 105.1 |
| Transaction.currentEntitlements | 81.3 |
| AppStore.sync | 62.2 |
| AppTransaction | 34.7 |
| Product.SubscriptionInfo | 17.7 |
| isEligibleForIntroOffer | 15.2 |
Around SKPayment
SKPaymentQueue is in 78.0 files for every 100 of SKPayment, and appStoreReceiptURL in 76.5.
SKPaymentQueue is in 78 files per 100 SKPayment files.
SKProductsRequest is in 59.6 and the transaction observer in 58.4. restoreCompletedTransactions is in 42.2.
| Word | Per 100 |
|---|---|
| SKPaymentQueue | 78.0 |
| appStoreReceiptURL | 76.5 |
| SKProductsRequest | 59.6 |
| SKPaymentTransactionObs. | 58.4 |
| restoreCompletedTransactions | 42.2 |
| SKStoreProductViewController | 12.7 |
| SKReceiptRefreshRequest | 10.9 |
Rarest
The five rarest are StoreView(ids, ProductView(id, offerCodeRedemption, Transaction.latest and SubscriptionStoreView.
StoreView(ids is the rarest word, in 59 files.
Transaction.updates is in 71 times as many files as StoreView(ids.
| Word | Files |
|---|---|
| StoreView(ids | 59 |
| ProductView(id | 133 |
| offerCodeRedemption | 265 |
| Transaction.latest | 308 |
| SubscriptionStoreView | 321 |
Top ten
Transaction.updates and Product.products lead the ten, and the configuration files are third.
Nine of the ten most common words are StoreKit calls.
Four of the ten are StoreKit 2 words and five are StoreKit 1 words.
| Word | Files |
|---|---|
| Transaction.updates | 4,212 |
| Product.products | 4,008 |
| StoreKit configuration files | 3,792 |
| Transaction.currentEntitlements | 3,260 |
| SKPayment | 3,112 |
| AppStore.sync | 2,492 |
| SKPaymentQueue | 2,428 |
| appStoreReceiptURL | 2,380 |
| SKProductsRequest | 1,856 |
| SKPaymentTransactionObserver | 1,816 |
What is in the file
A number for each pair
Product.products against SKProductsRequest, and three more pairs.
Every row in one file
24 rows, each with its group, its count and the search used.
No code and no names
The file holds counts only, with no repository and no developer.
How the files were counted
One search per word, counts only.
Write one search per word
Each search is an exact word, restricted to Swift, or a file extension or file name.
Ask the code search
One request per search, at least seven seconds apart.
Ask again on a partial answer
A search flagged incomplete by the service was repeated, at most three times.
Keep the count
The CSV keeps the count and the search behind it, and nothing else.
What a paid plan needs from StoreKit
The newer StoreKit is no longer the exception: 4,008 files call Product.products where 1,856 still use SKProductsRequest, and 4,212 watch Transaction.updates where 1,816 keep a SKPaymentTransactionObserver.
Restoring purchases follows the same split, with AppStore.sync in 2,492 files and restoreCompletedTransactions in 1,312. An app that gives paying voters more weight reads the plan from one of these two and can test it with a StoreKit configuration file, which exists in 3,792 files.
What these numbers leave out
- These are files, not apps, revenue or downloads.
- The search rounds a large count, so numbers within about 10 percent of each other are level.
- The older words have had years more to collect files, and there is no date filter.
- An app can use both StoreKit 1 and StoreKit 2, so the counts overlap.
- A copied sample counts each time it was copied.
- The search leaves out most forks, and no code was read.
What people ask about StoreKit use
Is StoreKit 2 more common than StoreKit 1?
In three of four pairs, yes. Product.products is in 4,008 files against 1,856 for SKProductsRequest.
Which StoreKit 2 word is most common?
Transaction.updates, in 4,212 files, then Product.products in 4,008.
Is the old receipt still in use?
Yes. appStoreReceiptURL is in 2,380 files, 1.7 times the 1,390 of AppTransaction.
How common is SubscriptionStoreView?
It is in 321 files, and Product.products is in 12.5 times as many.
How many StoreKit configuration files are there?
3,792 files with the .storekit extension, as read on 1 November 2026.
Does the file include code?
No. It holds the word, the group, the file count and the search.
May a site quote these figures?
Yes. Link this page with the read date, 1 November 2026, and quote any word row from the CSV.
More Swift code, counted
More counts for Swift and iOS developers.
NavigationStack, Observable and Swift Testing in GitHub
56 SwiftUI and Swift APIs counted in public files.
Xcode release history: dates, Swift and macOS needed
144 final releases from 2003 to 2026.
Apple privacy manifest reason codes counted on GitHub
47 keys, codes and data types in 96,256 manifests.
iOS permission keys and entitlements counted on GitHub
71 keys, from location to app groups.
How Swift apps ask for feedback and reviews, counted
32 prompts, links and screens counted.
Collect feature requests in an iOS app
Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.