CoreServicesLayer

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内容,以及实现一些类似于浏览器特性的功能,例如当用户点击时回到前面列表,管理一个前进后退列表,以及最近的访问历史.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 213,335评论 6 492
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,895评论 3 387
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 158,766评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,918评论 1 285
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,042评论 6 385
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,169评论 1 291
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,219评论 3 412
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,976评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,393评论 1 304
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,711评论 2 328
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,876评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,562评论 4 336
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,193评论 3 317
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,903评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,142评论 1 267
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,699评论 2 362
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,764评论 2 351

推荐阅读更多精彩内容