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)歷史.