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可以幫你使用比較底層的基礎(chǔ)iOS服務(wù). 這些服務(wù)讓你可以訪問(wèn)文件,低層次的數(shù)據(jù)類型,WTF? Bonjour services,網(wǎng)絡(luò)接口等.并且能滿足一些你所需要但CocoaTouchLayer和MediaLayer無(wú)法滿足的需求.當(dāng)你使用CoreServicesLayer中的技術(shù)時(shí)可以讓你在不了解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用于管理用戶的外部賬戶.你還可以使用這個(gè)框架簡(jiǎn)化一些外部API使用時(shí)的授權(quán)過(guò)程,比如Twitter的API.

2AdSupport

Access the advertising identifier and a flag indicating whether the user has chosen to limit ad tracking.
AdSupport用于獲取廣告標(biāo)識(shí)符,以及用于表明用戶是否選擇了限制廣告追蹤的標(biāo)識(shí).

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用于獲取對(duì)于保存了用戶聯(lián)系人的集中數(shù)據(jù)庫(kù)的訪問(wèn). 這個(gè)數(shù)據(jù)庫(kù)(也就是AddressBook)被其他應(yīng)用使用.例如郵件和信息應(yīng)用根據(jù)這個(gè)數(shù)據(jù)庫(kù)來(lái)顯示已知或未知的聯(lián)系人信息.

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用于獲取對(duì)網(wǎng)絡(luò)服務(wù)的訪問(wèn)以及處理網(wǎng)絡(luò)配置的改變.該庫(kù)提供了一個(gè)網(wǎng)絡(luò)協(xié)議的抽象庫(kù),從而使得操作多樣的網(wǎng)絡(luò)任務(wù)(例如使用BSD socket, 使用HTTP和FTP服務(wù),以及管理Bonjour服務(wù))變得簡(jiǎn)單.

5CloudKit

Manage the transfer of data to and from iCloud using CloudKit.
CloudKit在使用iCloud時(shí)的數(shù)據(jù)傳輸和使用.

6CloudKit JS

Access your CloudKit app’s containers and databases from your web app.
CloudKit JS可以讓你的webApp訪問(wèn)你的CloudKit類應(yīng)用的容器和數(shù)據(jù)庫(kù).

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用于獲取對(duì)于保存了用戶聯(lián)系人的集中數(shù)據(jù)庫(kù)的訪問(wèn). 這個(gè)數(shù)據(jù)庫(kù)被其他應(yīng)用使用.例如郵件和信息應(yīng)用根據(jù)這個(gè)數(shù)據(jù)庫(kù)來(lái)顯示已知或未知的聯(lián)系人信息.

8CoreData

Create generalized and automated solutions to common tasks associated with object life-cycle and object graph management, including persistence.
CoreData用于創(chuàng)建并自動(dòng)解決一些通用任務(wù),通過(guò)關(guān)聯(lián)對(duì)象的生命周期以及對(duì)象的狀態(tài)管理,包括持久化.

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時(shí)所有app使用的系統(tǒng)服務(wù)的基礎(chǔ)框架.它提供了常見(jiàn)的抽象數(shù)據(jù)類型,通過(guò)Unicode字符串存儲(chǔ)促進(jìn)了國(guó)際化,并且它提供了一套實(shí)用功能,如插件支持,XML屬性列表,URL資源訪問(wèn)和偏好须眷。

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用于確定設(shè)備的緯度和經(jīng)度,以及配置和調(diào)度一些與位置相關(guān)的事件.它使用一些可用的硬件并基于附近的信號(hào)信息來(lái)三角定位用戶的位置.

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用于接收和處理加速器及其他移動(dòng)移動(dòng)事件.

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用于獲得對(duì)電話撥打狀態(tài)以及運(yùn)營(yíng)商信息的訪問(wèn).

15EventKit

Read and write calendar data with the EventKit framework.
EventKit用于讀寫日歷數(shù)據(jù).

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定義了基本的對(duì)象行為. 它包括表示基本數(shù)據(jù)類型的類對(duì)象,集合,和操作系統(tǒng)服務(wù)。它也包含了一些設(shè)計(jì)模式和機(jī)制,用于提高OC程序的健壯性和效率.Foundation和UIKit一起提供了用于實(shí)現(xiàn)一個(gè)圖形化,事件驅(qū)動(dòng)的iOS應(yīng)用程序所需要的基本的工具和基礎(chǔ)資源.

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用于創(chuàng)建一個(gè)社交化的游戲體驗(yàn).通過(guò)游戲排行榜,成就,安排比賽,挑戰(zhàn)以及更多的方式來(lái)增加用戶的粘性。

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用于實(shí)現(xiàn)一些通用的游戲行為.提供適用于游戲特性的隨機(jī)數(shù)生成以及實(shí)現(xiàn)實(shí)體行為的基礎(chǔ)資源.
Tips: OC框架 前綴GK 提供能夠進(jìn)行點(diǎn)對(duì)點(diǎn)的網(wǎng)絡(luò)通信的API

19HealthKit

Record and track important health information from multiple sources with the HealthKit framework.
HealthKit用于記錄及追蹤從多種數(shù)據(jù)源獲取到的總要健康信息.

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用于實(shí)現(xiàn)與用戶家中的設(shè)備的互通及控制.提供與支持蘋果家庭自動(dòng)化協(xié)議設(shè)備的無(wú)縫連接,從而使更好的家庭自動(dòng)化成為可能.

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用于執(zhí)行你的應(yīng)用中的JS程序,提供了對(duì)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用于獲取對(duì)標(biāo)準(zhǔn)類型和常量的訪問(wèn).用于與其他應(yīng)用使用UTI類型信息結(jié)合時(shí).

23MultipeerConnectivity

Support peer-to-peer connectivity and the discovery of nearby devices using the Multipeer Connectivity framework.
MultipeerConnectivity用于對(duì)點(diǎn)對(duì)點(diǎn)連接和發(fā)現(xiàn)附近設(shè)備提供支持.

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用于下載和處理雜志問(wèn)題以及其他報(bào)刊內(nèi)容.也可以用于管理下載問(wèn)題.

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用于創(chuàng)建,發(fā)布和更新passes. 也可以用于與用戶的pass庫(kù)交互. ???

26PushKit

Reduce battery impact and deliver a better experience by using PushKit to register for and receive notifications for VoIP apps.
PushKit用于在注冊(cè)和接收VoIP信息時(shí),減低電量消耗及提高用戶體驗(yàn).

27QuickLook

Display view-based previews of items with the Quick Look framework.
QuickLook提供基于界面的預(yù)覽功能.

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用于向支持社交網(wǎng)絡(luò)的服務(wù)器發(fā)送用戶的操作的請(qǐng)求,集成他們的網(wǎng)絡(luò)賬戶到你的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用于在你的應(yīng)用中嵌入商店.用它來(lái)處理一些與你應(yīng)用的內(nèi)容及服務(wù)相關(guān)的金融交易.

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用于確定設(shè)備的網(wǎng)絡(luò)是否可用及狀態(tài).它聲明了一些函數(shù),類型,以及與網(wǎng)絡(luò)連通性相關(guān)的常量.

32UIAutomation

Automate integration tests that drive your app's UI with the UI Automation framework.
UIAutomation用于自動(dòng)集成用于應(yīng)用UI測(cè)試的資源.

33WatchConnectivity

Coordinate activities between your iOS app and your corresponding Watch app using the Watch Connectivity framework.
WatchConnectivity用于協(xié)調(diào)你的iOS應(yīng)用與Watch應(yīng)用之間的活動(dòng)及交互.

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內(nèi)容,以及實(shí)現(xiàn)一些類似于瀏覽器特性的功能,例如當(dāng)用戶點(diǎn)擊時(shí)回到前面列表,管理一個(gè)前進(jìn)后退列表,以及最近的訪問(wèn)歷史.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末士败,一起剝皮案震驚了整個(gè)濱河市吨铸,隨后出現(xiàn)的幾起案子浇衬,更是在濱河造成了極大的恐慌枫弟,老刑警劉巖阳掐,帶你破解...
    沈念sama閱讀 212,454評(píng)論 6 493
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件糊秆,死亡現(xiàn)場(chǎng)離奇詭異武福,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī)痘番,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 90,553評(píng)論 3 385
  • 文/潘曉璐 我一進(jìn)店門捉片,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)平痰,“玉大人,你說(shuō)我怎么就攤上這事伍纫∽诠停” “怎么了?”我有些...
    開(kāi)封第一講書人閱讀 157,921評(píng)論 0 348
  • 文/不壞的土叔 我叫張陵莹规,是天一觀的道長(zhǎng)赔蒲。 經(jīng)常有香客問(wèn)我,道長(zhǎng)良漱,這世上最難降的妖魔是什么舞虱? 我笑而不...
    開(kāi)封第一講書人閱讀 56,648評(píng)論 1 284
  • 正文 為了忘掉前任,我火速辦了婚禮母市,結(jié)果婚禮上矾兜,老公的妹妹穿的比我還像新娘。我一直安慰自己患久,他們只是感情好椅寺,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,770評(píng)論 6 386
  • 文/花漫 我一把揭開(kāi)白布。 她就那樣靜靜地躺著蒋失,像睡著了一般配并。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上高镐,一...
    開(kāi)封第一講書人閱讀 49,950評(píng)論 1 291
  • 那天溉旋,我揣著相機(jī)與錄音,去河邊找鬼嫉髓。 笑死观腊,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的算行。 我是一名探鬼主播梧油,決...
    沈念sama閱讀 39,090評(píng)論 3 410
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼州邢!你這毒婦竟也來(lái)了儡陨?” 一聲冷哼從身側(cè)響起,我...
    開(kāi)封第一講書人閱讀 37,817評(píng)論 0 268
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤量淌,失蹤者是張志新(化名)和其女友劉穎骗村,沒(méi)想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體呀枢,經(jīng)...
    沈念sama閱讀 44,275評(píng)論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡胚股,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,592評(píng)論 2 327
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了裙秋。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片琅拌。...
    茶點(diǎn)故事閱讀 38,724評(píng)論 1 341
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡缨伊,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出进宝,到底是詐尸還是另有隱情刻坊,我是刑警寧澤,帶...
    沈念sama閱讀 34,409評(píng)論 4 333
  • 正文 年R本政府宣布党晋,位于F島的核電站紧唱,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏隶校。R本人自食惡果不足惜漏益,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 40,052評(píng)論 3 316
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望深胳。 院中可真熱鬧绰疤,春花似錦、人聲如沸舞终。這莊子的主人今日做“春日...
    開(kāi)封第一講書人閱讀 30,815評(píng)論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)敛劝。三九已至余爆,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間夸盟,已是汗流浹背蛾方。 一陣腳步聲響...
    開(kāi)封第一講書人閱讀 32,043評(píng)論 1 266
  • 我被黑心中介騙來(lái)泰國(guó)打工, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留上陕,地道東北人桩砰。 一個(gè)月前我還...
    沈念sama閱讀 46,503評(píng)論 2 361
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像释簿,于是被迫代替她去往敵國(guó)和親亚隅。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,627評(píng)論 2 350

推薦閱讀更多精彩內(nèi)容