Apple 在 iOS 13.1 中使用 Swift 开发的应用程序

原文连接ios

更多好文,请关注公众号 知识小集 (ID: zsxjtip)macos

Swift 是在 Apple WWDC 2014 上推出的,看看 Apple 本身在 iOS 中 Swift 的使用度是件颇有意思事件。2015 年发布的 iOS 9 仅包含一个用 Swift 编写的应用程序 Calculator。从那时起,iOS 10.1,iOS 11.1 和 iOS 12.0 中使用 Swift 的应用程序数量逐年增长。swift

如今有了 iOS 13.1,让咱们来看看一下今年有多少应用程序在使用 Swift。缓存

检测方法

在先前的文章中已经详细介绍了本文使用的检测方法和工具。若是您有兴趣,请参阅 Apple’s use of Swift in iOS 10.1 and macOS 10.121bash

iOS 13.1 中的 Swift

如下是在 iOS 13.1 中使用 Swift 的全部二进制文件的列表。请注意,这些二进制文件可能只包含一行 Swift 代码,不必定彻底用 Swift 编写。该列表是使用适用于 iPhone 11 Pro Max 的 iOS 13.1(17A844)构建的:app

/Applications/ActivityMessagesApp.app/PlugIns/ActivityMessagesExtension.appex/ActivityMessagesExtension
/Applications/AppStore.app/AppStore
/Applications/AppStore.app/PlugIns/ProductPageExtension.appex/ProductPageExtension
/Applications/AppStore.app/PlugIns/SubscribePageExtension.appex/SubscribePageExtension
/Applications/BusinessExtensionsWrapper.app/PlugIns/Business.appex/Business
/Applications/Diagnostics.app/Diagnostics
/Applications/FTMInternal-4.app/FTMInternal-4
/Applications/FindMy.app/FindMy
/Applications/FindMy.app/PlugIns/FindMyNotificationsContent.appex/FindMyNotificationsContent
/Applications/FindMy.app/PlugIns/FindMyNotificationsService.appex/FindMyNotificationsService
/Applications/FindMy.app/PlugIns/FindMySiriIntents.appex/FindMySiriIntents
/Applications/GameCenterUIService.app/PlugIns/GameCenterMessageExtension.appex/GameCenterMessageExtension
/Applications/Health.app/Health
/Applications/SharingViewService.app/SharingViewService
/Applications/Sidecar.app/PlugIns/ContinuityCamera.appex/ContinuityCamera
/Applications/Sidecar.app/PlugIns/ContinuityDisplay.appex/ContinuityDisplay
/Applications/Sidecar.app/PlugIns/ContinuityMarkup.appex/ContinuityMarkup
/Applications/Sidecar.app/PlugIns/ContinuitySignature.appex/ContinuitySignature
/Applications/Sidecar.app/PlugIns/ContinuitySketch.appex/ContinuitySketch
/Applications/Sidecar.app/Sidecar
/System/Library/Accounts/DataclassOwners/StocksDataclassOwner.bundle/StocksDataclassOwner
/System/Library/DistributedEvaluation/Plugins/StocksDES.desPlugin/StocksDES
/System/Library/Frameworks/FileProvider.framework/PlugIns/LocalStorageFileProvider.appex/LocalStorageFileProvider
/System/Library/Frameworks/FileProvider.framework/Support/fileproviderd
/System/Library/Frameworks/IdentityLookup.framework/XPCServices/com.apple.IdentityLookup.MessageFilter.xpc/com.apple.IdentityLookup.MessageFilter
/System/Library/Frameworks/Security.framework/XPCServices/TrustedPeersHelper.xpc/TrustedPeersHelper
/System/Library/Messages/iMessageBalloons/ASMessagesProvider.bundle/ASMessagesProvider
/System/Library/NanoTimeKit/ComplicationBundles/NanoRemindersComplication.bundle/NanoRemindersComplication
/System/Library/PrivateFrameworks/AssetViewer.framework/PlugIns/ASVAssetThumbnail.appex/ASVAssetThumbnail
/System/Library/PrivateFrameworks/AssetViewer.framework/PlugIns/ASVAssetViewer.appex/ASVAssetViewer
/System/Library/PrivateFrameworks/CloudPhotoLibrary.framework/Support/cloudphotod
/System/Library/PrivateFrameworks/ContactsDonation.framework/Versions/A/Support/contactsdonationagent
/System/Library/PrivateFrameworks/CoreParsec.framework/parsec-fbf
/System/Library/PrivateFrameworks/CoreParsec.framework/parsecd
/System/Library/PrivateFrameworks/DocumentManagerUICore.framework/PlugIns/AddTagsActionExtension.appex/AddTagsActionExtension
/System/Library/PrivateFrameworks/DocumentManagerUICore.framework/PlugIns/RecentsAppPopover.appex/RecentsAppPopover
/System/Library/PrivateFrameworks/DocumentManagerUICore.framework/PlugIns/com.apple.DocumentManager.Service.appex/com.apple.DocumentManager.Service
/System/Library/PrivateFrameworks/FMClient.framework/XPCServices/FMIPClientXPCService.xpc/FMIPClientXPCService
/System/Library/PrivateFrameworks/HealthMenstrualCyclesUI.framework/PlugIns/HealthMenstrualCyclesNotificationContentExtension.appex/HealthMenstrualCyclesNotificationContentExtension
/System/Library/PrivateFrameworks/HealthPluginHost.framework/healthappd
/System/Library/PrivateFrameworks/ReminderKit.framework/PlugIns/RemindersNotificationContentExtension.appex/RemindersNotificationContentExtension
/System/Library/PrivateFrameworks/ReminderKitUI.framework/PlugIns/com.apple.ReminderKitUI.ReminderCreationViewService.appex/com.apple.ReminderKitUI.ReminderCreationViewService
/System/Library/PrivateFrameworks/SecureChannel.framework/securechanneld
/System/Library/PrivateFrameworks/TelephonyUtilities.framework/callservicesd
/System/Library/PrivateFrameworks/UpNextWidget.framework/PlugIns/UpNext.appex/UpNext
/private/var/staged_system_apps/Books.app/Books
/private/var/staged_system_apps/Books.app/Frameworks/BookCore.framework/BookCore
/private/var/staged_system_apps/Books.app/Frameworks/JSApp.framework/JSApp
/private/var/staged_system_apps/Calculator.app/Calculator
/private/var/staged_system_apps/Files.app/Files
/private/var/staged_system_apps/Files.app/PlugIns/RecentsWidget.appex/RecentsWidget
/private/var/staged_system_apps/Fitness.app/Fitness
/private/var/staged_system_apps/Measure.app/Measure
/private/var/staged_system_apps/Music.app/Frameworks/MusicApplication.framework/MusicApplication
/private/var/staged_system_apps/Music.app/Music
/private/var/staged_system_apps/Music.app/PlugIns/MediaPicker.appex/MediaPicker
/private/var/staged_system_apps/Music.app/PlugIns/MusicMessagesApp.appex/MusicMessagesApp
/private/var/staged_system_apps/Music.app/PlugIns/MusicNotificationContentExtension.appex/MusicNotificationContentExtension
/private/var/staged_system_apps/Music.app/PlugIns/PlaybackIntent.appex/PlaybackIntent
/private/var/staged_system_apps/Music.app/PlugIns/RecentlyPlayedTodayExtension.appex/RecentlyPlayedTodayExtension
/private/var/staged_system_apps/Podcasts.app/Frameworks/AppStoreKit.framework/AppStoreKit
/private/var/staged_system_apps/Podcasts.app/Frameworks/NowPlayingUI.framework/NowPlayingUI
/private/var/staged_system_apps/Podcasts.app/Frameworks/PodcastsUI.framework/PodcastsUI
/private/var/staged_system_apps/Podcasts.app/Podcasts
/private/var/staged_system_apps/Reminders.app/PlugIns/RemindersIntentsExtension.appex/RemindersIntentsExtension
/private/var/staged_system_apps/Reminders.app/PlugIns/RemindersIntentsUIExtension.appex/RemindersIntentsUIExtension
/private/var/staged_system_apps/Reminders.app/PlugIns/RemindersSharingExtension.appex/RemindersSharingExtension
/private/var/staged_system_apps/Reminders.app/PlugIns/RemindersSpotlightIndexExtension.appex/RemindersSpotlightIndexExtension
/private/var/staged_system_apps/Reminders.app/PlugIns/RemindersTodayExtension.appex/RemindersTodayExtension
/private/var/staged_system_apps/Reminders.app/Reminders
/private/var/staged_system_apps/Shortcuts.app/Shortcuts
/private/var/staged_system_apps/Stocks.app/PlugIns/StocksToday.appex/StocksToday
/private/var/staged_system_apps/Stocks.app/Stocks
/usr/lib/swift/libswiftDemangle.dylib
/usr/lib/swift/libswiftXCTest.dylib
/usr/libexec/SidecarRelay
/usr/libexec/coreidvd
/usr/libexec/remindd
/usr/libexec/searchpartyd
/usr/libexec/sharingd
/usr/libexec/tzd
/usr/libexec/wifip2pd
复制代码

共享 dyld 缓存包含如下附加二进制文件-其中许可能是 Swift 库:框架

/usr/lib/swift/libswiftMapKit.dylib
/usr/lib/swift/libswiftPhotos.dylib
/usr/lib/swift/libswiftSceneKit.dylib
/usr/lib/swift/libswiftMetalKit.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftVision.dylib
/usr/lib/swift/libswiftSpeech.dylib
/usr/lib/swift/libswiftCompression.dylib
/usr/lib/swift/libswiftCoreML.dylib
/usr/lib/swift/libswiftWatchKit.dylib
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftUIKit.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftCoreData.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftMediaPlayer.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftCloudKit.dylib
/usr/lib/swift/libswiftCoreMIDI.dylib
/usr/lib/swift/libswiftCallKit.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftContacts.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftIntents.dylib
/usr/lib/swift/libswiftHomeKit.dylib
/usr/lib/swift/libswiftAssetsLibrary.dylib
/usr/lib/swift/libswiftPencilKit.dylib
/usr/lib/swift/libswiftCoreAudio.dylib
/usr/lib/swift/libswiftGameplayKit.dylib
/usr/lib/swift/libswiftCoreNFC.dylib
/usr/lib/swift/libswiftMetricKit.dylib
/usr/lib/swift/libswiftAVFoundation.dylib
/usr/lib/swift/libswiftModelIO.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/swift/libswiftNetwork.dylib
/usr/lib/swift/libswiftFoundation.dylib
/usr/lib/swift/libswiftCoreMedia.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftARKit.dylib
/usr/lib/swift/libswiftSwiftOnoneSupport.dylib
/usr/lib/swift/libswiftNaturalLanguage.dylib
/usr/lib/swift/libswiftGLKit.dylib
/usr/lib/swift/libswiftsimd.dylib
/System/Library/Health/FeedItemPlugins/OrganDonation.healthplugin/OrganDonation
/System/Library/Health/FeedItemPlugins/MenstrualCyclesAppPlugin.healthplugin/MenstrualCyclesAppPlugin
/System/Library/Health/FeedItemPlugins/Heart.healthplugin/Heart
/System/Library/Health/FeedItemPlugins/Education.healthplugin/Education
/System/Library/Health/FeedItemPlugins/AppRecommendations.healthplugin/AppRecommendations
/System/Library/Health/FeedItemPlugins/HighlightsHeavy.healthplugin/HighlightsHeavy
/System/Library/Health/FeedItemPlugins/Snippets.healthplugin/Snippets
/System/Library/Health/FeedItemPlugins/MedicalID.healthplugin/MedicalID
/System/Library/Health/FeedItemPlugins/Highlights.healthplugin/Highlights
/System/Library/Health/FeedItemPlugins/HighlightAlerts.healthplugin/HighlightAlerts
/System/Library/Health/FeedItemPlugins/HealthRecords.healthplugin/HealthRecords
/System/Library/Accounts/Notification/DonationAccountWatcher.bundle/DonationAccountWatcher
/System/Library/Accounts/Notification/CoreIDVAccountNotificationPlugin.bundle/CoreIDVAccountNotificationPlugin
/System/Library/PrivateFrameworks/TeaCharts.framework/TeaCharts
/System/Library/PrivateFrameworks/FMNetworking.framework/FMNetworking
/System/Library/PrivateFrameworks/JetEngine.framework/JetEngine
/System/Library/PrivateFrameworks/Settings/WallpaperSettings.framework/WallpaperSettings
/System/Library/PrivateFrameworks/Settings/LegalAndRegulatorySettingsPrivate.framework/LegalAndRegulatorySettingsPrivate
/System/Library/PrivateFrameworks/Settings/SettingsUIKitPrivate.framework/SettingsUIKitPrivate
/System/Library/PrivateFrameworks/CoreKnowledge.framework/CoreKnowledge
/System/Library/PrivateFrameworks/NewsUI2.framework/NewsUI2
/System/Library/PrivateFrameworks/HealthRecordsUI.framework/HealthRecordsUI
/System/Library/PrivateFrameworks/AppAnalytics.framework/AppAnalytics
/System/Library/PrivateFrameworks/CloudKitCodeProtobuf.framework/CloudKitCodeProtobuf
/System/Library/PrivateFrameworks/HealthVisualization.framework/HealthVisualization
/System/Library/PrivateFrameworks/NewsArticles.framework/NewsArticles
/System/Library/PrivateFrameworks/KnowledgeGraphKit.framework/KnowledgeGraphKit
/System/Library/PrivateFrameworks/FMIPCore.framework/FMIPCore
/System/Library/PrivateFrameworks/CoreUtilsSwift.framework/CoreUtilsSwift
/System/Library/PrivateFrameworks/SPShared.framework/SPShared
/System/Library/PrivateFrameworks/TeaDB.framework/TeaDB
/System/Library/PrivateFrameworks/NewsFeed.framework/NewsFeed
/System/Library/PrivateFrameworks/TeaActivities.framework/TeaActivities
/System/Library/PrivateFrameworks/HealthEducationUI.framework/HealthEducationUI
/System/Library/PrivateFrameworks/TeaUI.framework/TeaUI
/System/Library/PrivateFrameworks/Stocks/StocksAnalytics.framework/StocksAnalytics
/System/Library/PrivateFrameworks/Stocks/StocksCore.framework/StocksCore
/System/Library/PrivateFrameworks/Stocks/StocksUI.framework/StocksUI
/System/Library/PrivateFrameworks/NewsAnalytics.framework/NewsAnalytics
/System/Library/PrivateFrameworks/HealthPluginHost.framework/HealthPluginHost
/System/Library/PrivateFrameworks/AttributeGraph.framework/AttributeGraph
/System/Library/PrivateFrameworks/FMFCore.framework/FMFCore
/System/Library/PrivateFrameworks/AppStoreKit.framework/AppStoreKit
/System/Library/PrivateFrameworks/HealthExperienceUI.framework/HealthExperienceUI
/System/Library/PrivateFrameworks/HealthProfile.framework/HealthProfile
/System/Library/PrivateFrameworks/TeaFoundation.framework/TeaFoundation
/System/Library/PrivateFrameworks/JetUI.framework/JetUI
/System/Library/PrivateFrameworks/TeaSettings.framework/TeaSettings
/System/Library/PrivateFrameworks/CryptoKitPrivate.framework/CryptoKitPrivate
/System/Library/PrivateFrameworks/Coherence.framework/Coherence
/System/Library/PrivateFrameworks/HealthExperience.framework/HealthExperience
/System/Library/PrivateFrameworks/ConversationKit.framework/ConversationKit
/System/Library/PrivateFrameworks/NewsSubscription.framework/NewsSubscription
/System/Library/PrivateFrameworks/DocumentManagerExecutables.framework/DocumentManagerExecutables
/System/Library/PrivateFrameworks/CloudKitCode.framework/CloudKitCode
/System/Library/PrivateFrameworks/FMClient.framework/FMClient
/System/Library/PrivateFrameworks/PodcastsKit.framework/PodcastsKit
/System/Library/Frameworks/CryptoKit.framework/CryptoKit
/System/Library/Frameworks/RealityKit.framework/RealityKit
/System/Library/Frameworks/SwiftUI.framework/SwiftUI
/System/Library/Frameworks/Combine.framework/Combine
复制代码

结论

毫无疑问,iOS 13 的新功能是在其相应的应用程序中使用一些 Swift 代码构建的。FindMy、Reminders 和 Sidecar 应用程序就是这种状况。 一样值得注意的是,在 Health、Book 和 Shortcuts 应用程序中使用了Swift。ide

在苹果公司的 WWDC 2019 上,苹果公司还宣布了一些基于 Swift 的全新框架:SwiftUI,Combine,RealityKit 和不为人知但很赞的 CryptoKit。 正如预期的那样,这些框架出如今使用 Swift 的二进制列表中。工具

若是排除 Swift 库,则 iOS 13.1 包含 141 个使用 Swift 的二进制文件,是 iOS 12 数量的两倍多:ui

参考

[1]https://blog.timac.org/2016/1101-apples-use-of-swift-in-ios-10-1-and-macos-10-12/

相关文章
相关标签/搜索