CoreServicesLayer
Gain access to fundamental iOS services with the frameworks in the Core Services layer. With these services, access files, low-level data types, Bonjour services, network sockets, and more. Use the frameworks in this layer if those in the Cocoa Touch and Media layers aren't sufficient for your needs. When you use the technologies at the Core Services layer, you'll automatically take advantage of the Core OS layer without getting into its details.
使用CoreServicesLayer下的frameworks可以帮你使用比较底层的基础iOS服务. 这些服务让你可以访问文件,低层次的数据类型,WTF? Bonjour services,网络接口等.并且能满足一些你所需要但CocoaTouchLayer和MediaLayer无法满足的需求.当你使用CoreServicesLayer中的技术时可以让你在不了解CoreOSLayer的情况下使用它们.
⚠️Bonjour services是什么鬼?
1Accounts
Manage the user's external accounts using the Accounts framework. You can also use this framework to simplify the authorization process when using external APIs, such as the Twitter API.
Accounts用于管理用户的外部账户.你还可以使用这个框架简化一些外部API使用时的授权过程,比如Twitter的API.
2AdSupport
Access the advertising identifier and a flag indicating whether the user has chosen to limit ad tracking.
AdSupport用于获取广告标识符,以及用于表明用户是否选择了限制广告追踪的标识.
3AddressBook
Use the Address Book framework to gain access to the centralized database for storing a user's contacts. The database, known as Address Book, is used by applications such as Mail and Messages to present information about known and unknown persons.
AddressBook用于获取对于保存了用户联系人的集中数据库的访问. 这个数据库(也就是AddressBook)被其他应用使用.例如邮件和信息应用根据这个数据库来显示已知或未知的联系人信息.
4CFNetwork
Gain access to network services and handle changes in network configurations. The CFNetwork framework provides a library of abstractions for network protocols that make it easy to perform a variety of network tasks, such as working with BSD sockets, working with HTTP and FTP servers, and managing Bonjour services.
CFNetwork用于获取对网络服务的访问以及处理网络配置的改变.该库提供了一个网络协议的抽象库,从而使得操作多样的网络任务(例如使用BSD socket, 使用HTTP和FTP服务,以及管理Bonjour服务)变得简单.
5CloudKit
Manage the transfer of data to and from iCloud using CloudKit.
CloudKit在使用iCloud时的数据传输和使用.
6CloudKit JS
Access your CloudKit app’s containers and databases from your web app.
CloudKit JS可以让你的webApp访问你的CloudKit类应用的容器和数据库.
7Contacts
Gain access to the centralized database for storing a user's contacts. The database is used by apps such as Mail and Messages to present information about known and unknown persons.
Contacts用于获取对于保存了用户联系人的集中数据库的访问. 这个数据库被其他应用使用.例如邮件和信息应用根据这个数据库来显示已知或未知的联系人信息.
8CoreData
Create generalized and automated solutions to common tasks associated with object life-cycle and object graph management, including persistence.
CoreData用于创建并自动解决一些通用任务,通过关联对象的生命周期以及对象的状态管理,包括持久化.
9CoreFoundation
Use the Core Foundation framework for system services fundamental to all iOS applications. Core Foundation provides abstractions for common data types, it facilitates internationalization with Unicode string storage, and it offers a suite of utilities such as plug-in support, XML property lists, URL resource access, and preferences.
CoreFoundation时所有app使用的系统服务的基础框架.它提供了常见的抽象数据类型,通过Unicode字符串存储促进了国际化,并且它提供了一套实用功能,如插件支持,XML属性列表,URL资源访问和偏好。
10CoreLocation
Determine the current latitude and longitude of a device and configure and schedule the delivery of location-related events with the Core Location framework. Core Location uses the available hardware to triangulate the user's position based on nearby signal information.
CoreLocation用于确定设备的纬度和经度,以及配置和调度一些与位置相关的事件.它使用一些可用的硬件并基于附近的信号信息来三角定位用户的位置.
11CoreMedia
Represent time-based audio-visual assets with the essential data types in the Core Media framework.
???
12CoreMotion
Receive and handle accelerometer and other motion events with the Core Motion framework.
CoreMotion用于接收和处理加速器及其他移动移动事件.
13CoreSpotlight
Index the content in your app and enable users to deep-link to that content from Spotlight and Safari search results with the Core Spotlight framework. Core Spotlight is designed for apps that handle persistent user data, such as documents, photos, and other types of content created by or on behalf of users. Use Core Spotlight APIs to add, retrieve, update, and delete items that represent searchable app content.
???
14CoreTelephony
Gain access to cellular telephone call status and cellular service provider information with the Core Telephony framework.
CoreTelephony用于获得对电话拨打状态以及运营商信息的访问.
15EventKit
Read and write calendar data with the EventKit framework.
EventKit用于读写日历数据.
16Foundation
Use the Foundation framework for the "nuts and bolts" classes for Objective-C programming. This framework provides essential Objective-C classes, most importantly the root class, NSObject, which defines basic object behavior. It includes classes for objects representing basic data types, collections, and operating-system services. Foundation also introduces several design patterns and mechanisms that contribute to the robustness and efficiency of Objective-C programs. Along with UIKit, the Foundation framework provides the basic tools and infrastructure you need to implement graphical, event-driven iOS applications.
Foundation用于类似于"螺母与螺栓"的OC类编程.它提供了一些必不可少的OC类,最重要的是根类-NSObject. NSObject定义了基本的对象行为. 它包括表示基本数据类型的类对象,集合,和操作系统服务。它也包含了一些设计模式和机制,用于提高OC程序的健壮性和效率.Foundation和UIKit一起提供了用于实现一个图形化,事件驱动的iOS应用程序所需要的基本的工具和基础资源.
17GameCenter
Create social game experiences with the GameCenter framework. Add leaderboards, achievements, matchmaking, challenges and more, so that players keep coming back to your game.
GameCenter用于创建一个社交化的游戏体验.通过游戏排行榜,成就,安排比赛,挑战以及更多的方式来增加用户的粘性。
18GameplayKit
Implement common game play behaviors using the GameplayKit framework. GameplayKit provides random number generation with characteristics that are appropriate for games and provides infrastructure for implementing behavior for entities within your game.
GameplayKit用于实现一些通用的游戏行为.提供适用于游戏特性的随机数生成以及实现实体行为的基础资源.
Tips: OC框架 前缀GK 提供能够进行点对点的网络通信的API
19HealthKit
Record and track important health information from multiple sources with the HealthKit framework.
HealthKit用于记录及追踪从多种数据源获取到的总要健康信息.
20HomeKit
Communicate with and control connected devices in a user’s home with the HomeKit framework. HomeKit provides seamless integration between accessories that support Apple's Home Automation Protocol and iOS devices, allowing for new advances in home automation.
HomeKit用于实现与用户家中的设备的互通及控制.提供与支持苹果家庭自动化协议设备的无缝连接,从而使更好的家庭自动化成为可能.
21JavaScriptCore
Evaluate JavaScript programs from within a Swift or Objective-C app and provide support for JavaScript scripting of your app with the JavaScriptCore framework.
JavaScriptCore用于执行你的应用中的JS程序,提供了对js脚本的支持.
22MobileCoreServices
Gain access to standard types and constants with the Mobile Core Services framework. Use it in conjunction with other frameworks that rely on UTI type information.
MobileCoreServices用于获取对标准类型和常量的访问.用于与其他应用使用UTI类型信息结合时.
23MultipeerConnectivity
Support peer-to-peer connectivity and the discovery of nearby devices using the Multipeer Connectivity framework.
MultipeerConnectivity用于对点对点连接和发现附近设备提供支持.
24NewsstandKit
Download and process magazine issues or other Newsstand content using the NewsstandKit framework. You can also use this framework to manage downloaded issues.
NewsstandKit用于下载和处理杂志问题以及其他报刊内容.也可以用于管理下载问题.
25PassKit
Create, distribute, and update passes with the PassKit framework. You can also use this framework to interact with the user's pass library.
PassKit用于创建,发布和更新passes. 也可以用于与用户的pass库交互. ???
26PushKit
Reduce battery impact and deliver a better experience by using PushKit to register for and receive notifications for VoIP apps.
PushKit用于在注册和接收VoIP信息时,减低电量消耗及提高用户体验.
27QuickLook
Display view-based previews of items with the Quick Look framework.
QuickLook提供基于界面的预览功能.
28SafariServices
Integrate Safari behaviors into your iOS app using the Safari Services framework.
SafariServices用于集成Safari行为到你的app中.
29Social
Send requests to a supported social networking service to perform operations on behalf of your users, integrating their social networking accounts with your app.
Social用于向支持社交网络的服务器发送用户的操作的请求,集成他们的网络账户到你的app中.
30StoreKit
Embed a store in your app using the StoreKit framework. Use it to process the financial transactions associated with the purchase of content and services from your application.
StoreKit用于在你的应用中嵌入商店.用它来处理一些与你应用的内容及服务相关的金融交易.
31SystemConfiguration
Determine network availability and state on a device using the System Configuration framework, which declares the functions, types, and constants related to network reachability.
SystemConfiguration用于确定设备的网络是否可用及状态.它声明了一些函数,类型,以及与网络连通性相关的常量.
32UIAutomation
Automate integration tests that drive your app's UI with the UI Automation framework.
UIAutomation用于自动集成用于应用UI测试的资源.
33WatchConnectivity
Coordinate activities between your iOS app and your corresponding Watch app using the Watch Connectivity framework.
WatchConnectivity用于协调你的iOS应用与Watch应用之间的活动及交互.
34WebKit
Display web content in windows and implement browser features such as following links when clicked by the user, managing a back-forward list, and managing a history of pages recently visited.
WebKit用于在窗口中显示web内容,以及实现一些类似于浏览器特性的功能,例如当用户点击时回到前面列表,管理一个前进后退列表,以及最近的访问历史.