Swift platform feature statistics: 40 numbers
Forty Swift platform statistics on privacy manifests, purchases, widgets and device intents in public Swift files.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
Privacy manifests
Eight numbers on privacy manifest keys, required reason codes and declared data types.
One reason, CA92.1, covers 97.2 in 100 of the manifests that name UserDefaults.
One code carries each category, and no data type tops 5.8 in 100 files.
| Statistic | Number |
|---|---|
| Manifest files | 96,256 |
| UserDefaults named | 80.1 in 100 |
| File timestamp files | 72,832 |
| CA92.1 share | 97.2 in 100 |
| C617.1 share | 98.2 in 100 |
| Manifests with data types | 80.3 in 100 |
| Domains per 100 tracking | 41.8 in 100 |
| Device ID files | 4,480 |
Purchases
Eight numbers on StoreKit 2 and StoreKit 1 words, test files and ready made store screens.
Product.products is in 4,008 Swift files, 2.2 times the 1,856 of SKProductsRequest.
The new calls lead the old ones, and the ready made screens are rare.
| Statistic | Number |
|---|---|
| Product.products files | 4,008 |
| Old request files | 1,856 |
| New to old product call | 2.2 to 1 |
| Transaction.updates files | 4,212 |
| Entitlement files | 3,260 |
| Updates to latest | 13.7 to 1 |
| Test configuration files | 3,792 |
| Subscription screen files | 321 |
Widgets and intents
Eight numbers on widgets, Live Activities, Control Center controls and app intents.
AppIntent is in 29,792 Swift files, 11.1 times the older INIntent.
Intents are common, and Control Center widgets are rare.
| Statistic | Number |
|---|---|
| AppIntent files | 29,792 |
| TimelineProvider files | 18,160 |
| Live Activity type files | 14,608 |
| Live Activity start files | 3,892 |
| Control widget files | 2,640 |
| New to old intents | 11.1 to 1 |
| AppEntity files | 5,080 |
| Widget families per 100 | 87.4 in 100 |
On device models
Eight numbers on vision, speech, machine learning and language model imports.
import Vision is in 34,176 Swift files, and import FoundationModels in 12,320.
Vision and speech lead, and the language model is already fourth.
| Statistic | Number |
|---|---|
| Vision import files | 34,176 |
| Speech import files | 22,720 |
| CoreML import files | 19,520 |
| FoundationModels files | 12,320 |
| Language session files | 8,656 |
| Generable files | 5,088 |
| Session per 100 imports | 70.3 in 100 |
| CreateML import files | 561 |
Platforms and builds
Eight numbers on platform checks, UIKit, package version pins and the Xcode beta cycle.
os(iOS) is in 155,648 Swift files, level with os(macOS), and exact in 15,168 Package.swift files.
iOS and macOS checks are level, and a beta cycle runs about 98 days.
| Statistic | Number |
|---|---|
| os(iOS) files | 155,648 |
| iOS to visionOS checks | 9.9 to 1 |
| UIKit import files | 2,879,488 |
| Package exact files | 15,168 |
| unsafeFlags files | 7,712 |
| Exact to branch pins | 2.1 to 1 |
| Median days to final | 98.5 days |
| Median days between betas | 14 days |
What is in the file
Forty numbers in one file
One row per figure, with its unit and the guide to open for the method.
Five groups
Privacy manifests, purchases, widgets and intents, on device models, and platforms with builds.
No names of people
The file holds counts of files and words, so it names no author or company.
A way to cite it
Take one figure or all forty, and name this page and the read date.
Where the numbers come from
Four steps.
Search public code
Swift files, Package.swift files and privacy manifests were searched for each word named in a guide.
Read the release feed
Every Xcode beta and final build was listed from the public release feed, with its date.
Count in the guides
Each guide counted one group of words, with its own sample and read date.
Lift the headline numbers
Forty figures were taken from seven guides and checked against each page.
What a platform package can adopt first
Privacy manifests are widespread, with 96,256 manifest files counted and 80.1 in 100 naming UserDefaults among the interfaces they declare. A package that ships its own manifest joins a practice that is common in the files counted.
Intents are the newer way into an app, with AppIntent in 29,792 files, TimelineProvider in 18,160 and new intents ahead of the old form 11.1 to 1. A package that offers an App Intent to open its board uses the form that leads.
What these numbers leave out
- Counts are files and not apps, so one app can be many files and one copied sample counts each time.
- A search count is rounded, so a gap under about 10 percent between two words is level.
- A word can sit in a comment or a string, so a count does not prove that code calls it.
- Only public code is searched, which leaves out closed source apps and most forks.
- The Xcode dates come from the public release feed and hold no beta that was never listed.
- Each figure holds only as firmly as the guide it came from, and every guide gives its read date.
- The page names no author or company, so each figure is tied to a group of files.
Swift platform feature questions
How many privacy manifests are public?
The count holds 96,256 public manifest files.
Which UserDefaults reason code is most common?
CA92.1, given by 97.2 in 100 of the manifests that name UserDefaults.
How many files use StoreKit 2?
Product.products is in 4,008 Swift files and Transaction.updates in 4,212.
Is StoreKit 1 still in use?
Yes. SKProductsRequest is in 1,856 files, against 4,008 for the new product call.
How many files define a widget?
TimelineProvider is in 18,160 Swift files.
How common are app intents?
AppIntent is in 29,792 files, 11.1 times the older INIntent.
How many files use Live Activities?
ActivityAttributes is in 14,608 files, and the start call in 3,892.
How many files use the on device language model?
import FoundationModels is in 12,320 files, and import Vision in 34,176.
Which platform check is most common?
os(iOS) is in 155,648 files and os(macOS) in 154,880, so they are level.
How long does an Xcode beta cycle run?
A median of 98.5 days from the first beta to the final build.
May a page quote these figures?
Yes, with this page named and the read date. Every figure is one of the 40 rows in swift-platform-feature-statistics-2026-11.csv, so a reader can check it.
Read the guides
Each number links back to its source.
What public privacy manifests declare, counted
Keys, reason codes and data types.
How much purchase code uses StoreKit 2
StoreKit 2 and StoreKit 1 words.
Widget and intent words in public Swift code
Widgets, Live Activities and intents.
On device model frameworks counted in Swift files
Vision, speech and language models.
Which platforms Swift code checks for
Platform checks and watch code.
What Package.swift files pin and set
Pins, flags and target settings.
How the Xcode beta cycle runs each year
Betas, candidates and release days.
Swift code numbers on frameworks and packages
Forty numbers for Swift code.
Swift developers who ask for features
Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.