CocoaTouchLayer

CocoaTouchLayer

Implement a graphical, event-driven application in iOS with the frameworks in the Cocoa Touch Layer. In addition, use the frameworks in this layer to access key device features, such as user contacts. Start your iOS programming at this highest layer, and you'll automatically take advantage of lower-level layers without getting into their details.
CocoaTouchLayer中的frameworks可以幫你實現(xiàn)一個基于事件驅(qū)動的圖形化iOS應用.另外,使用這些framework是還可以獲取一些關鍵設備特性,例如用戶的通訊錄.在這個最高層次中開始你的iOS編程,可以讓你在不了解底層實現(xiàn)的情況下仍能自動使用這些底層內(nèi)容.

1AddressBookUI

Use the Address Book UI framework to display the contact data contained in the Address Book database. This C-based framework provides a graphical interface to gain access to users' contacts.
AddressBookUI框架用于顯示通訊錄數(shù)據(jù)庫中的通訊數(shù)據(jù). 這個基于C語言的框架提供了一個圖形化的接口用來獲取和訪問用戶的通訊錄數(shù)據(jù).
Tips: OC框架 前綴AB 訪問聯(lián)系人信息

2ContactsUI

Use the Contacts UI framework to display the data contained in the Contacts database. This framework provides a graphical interface to gain access to users' contacts.
ContactsUI框架用于顯示通訊錄數(shù)據(jù)庫中的通訊數(shù)據(jù). 提供了一個圖形化的接口用來獲取和訪問用戶的通訊錄數(shù)據(jù).
Tips: OC框架 前綴CN iOS9+

3EventKitUI

Create the user interface for viewing and editing calendar data with the EventKit UI framework.
EventKitUI用于創(chuàng)建一個用于查看和編輯日歷數(shù)據(jù)的用戶界面.
Tips: OC框架 前綴EK 訪問日歷事件數(shù)據(jù)

4HealthKitUI

Construct and manage HealthKit-specific views and controls with the HealthKitUI framework.
HealthKitUI用于構建并管理特殊的HealthKit界面和控制器.
Tips: OC框架 前綴HK

5MapKit

Display map or satellite imagery from the windows and views of your custom applications with the MapKit framework. You can also use the framework to annotate your maps with points of interest and other custom information.
MapKit用于根據(jù)你應用的設定,在窗口或者視圖中顯示普通地圖或者衛(wèi)星地圖. 也可以用于在地圖上標注興趣點或其他自定義信息.
Tips: OC框架 前綴MK 應用中嵌入(高德)地圖和地理信息編碼等

6MessageUI

Create a view-controller-based user interface for composing email messages. Use it in cases where you want the user to be able to create email messages without leaving your application.
MessageUI用于創(chuàng)建一個基于視圖和控制的用戶界面來編輯郵件信息.當你想讓用戶在不離開你的應用的情況下發(fā)送郵件,那就用這個框架吧.
Tips: OC框架 前綴MF 提供與發(fā)送E-mail相關的API

7NotificationCenter

Display information and enable brief tasks in a Today widget with the Notification Center framework.
NotificationCenter用于在今天小部件中顯示信息和完成一些簡單的任務.
Tips: OC框架 前綴NC

8PhotosUI

Provide extensions for editing photos and videos with the Photos UI framework. A custom photo editing extension can be used from any app on a user's device.
PhotosUI提供了一些用于編輯Photos應用中的照片和視頻的擴展功能. 可以為用戶設備上的任意一款應用添加自定義的圖片編輯擴展功能.
Tips: OC框架 前綴PH 照片UI相關的API

9ReplayKit

ReplayKit provides developers with the ability to record audio and video directly from their apps. Users can then share these recordings with others through email, text messages, and social websites.
ReplayKit讓開發(fā)者的應用可以直接記錄音頻或者視頻.用戶這時候可以和其他用戶通過郵件,短信,或者社交網(wǎng)站來分享這些音頻或者視頻.
Tips: OC框架 前綴RP

10UIKit(Very Important)

Construct and manage your application's user interface with the UIKit framework. This Objective-C framework provides an application object, event handling support, drawing support, windows, views, and controls designed specifically for the Multi-Touch interface.
UIKit用于構建和管理應用的用戶界面.這個OC庫提供一個應用對象,事件處理的支持,繪圖支持,窗口,視圖,以及特意設計用于多點觸控界面的多種控制器.
Tips: OC框架 前綴UI 提供一些常用的UI類

11WatchKit

Implement the interface for your Watch app using the WatchKit framework.
WatchKit用于實現(xiàn)AppleWatch應用的接口.
Tips: OC框架 前綴WK

12iAd

Place full-screen advertisements or banner advertisements in your application with the iAd framework.
iAd用于在你的應用中顯示全屏或者條狀廣告.
Tips: OC框架 前綴AD 在應用中嵌入廣告

最后編輯于
?著作權歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市姆钉,隨后出現(xiàn)的幾起案子栏赴,更是在濱河造成了極大的恐慌牡属,老刑警劉巖险领,帶你破解...
    沈念sama閱讀 218,941評論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異,居然都是意外死亡累魔,警方通過查閱死者的電腦和手機走诞,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,397評論 3 395
  • 文/潘曉璐 我一進店門副女,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人蚣旱,你說我怎么就攤上這事碑幅。” “怎么了塞绿?”我有些...
    開封第一講書人閱讀 165,345評論 0 356
  • 文/不壞的土叔 我叫張陵沟涨,是天一觀的道長。 經(jīng)常有香客問我异吻,道長裹赴,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,851評論 1 295
  • 正文 為了忘掉前任诀浪,我火速辦了婚禮棋返,結果婚禮上,老公的妹妹穿的比我還像新娘雷猪。我一直安慰自己睛竣,他們只是感情好,可當我...
    茶點故事閱讀 67,868評論 6 392
  • 文/花漫 我一把揭開白布求摇。 她就那樣靜靜地躺著射沟,像睡著了一般。 火紅的嫁衣襯著肌膚如雪与境。 梳的紋絲不亂的頭發(fā)上验夯,一...
    開封第一講書人閱讀 51,688評論 1 305
  • 那天,我揣著相機與錄音嚷辅,去河邊找鬼簿姨。 笑死,一個胖子當著我的面吹牛簸搞,可吹牛的內(nèi)容都是我干的扁位。 我是一名探鬼主播,決...
    沈念sama閱讀 40,414評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼趁俊,長吁一口氣:“原來是場噩夢啊……” “哼域仇!你這毒婦竟也來了?” 一聲冷哼從身側響起寺擂,我...
    開封第一講書人閱讀 39,319評論 0 276
  • 序言:老撾萬榮一對情侶失蹤暇务,失蹤者是張志新(化名)和其女友劉穎泼掠,沒想到半個月后,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體垦细,經(jīng)...
    沈念sama閱讀 45,775評論 1 315
  • 正文 獨居荒郊野嶺守林人離奇死亡择镇,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,945評論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了括改。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片腻豌。...
    茶點故事閱讀 40,096評論 1 350
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖嘱能,靈堂內(nèi)的尸體忽然破棺而出吝梅,到底是詐尸還是另有隱情,我是刑警寧澤惹骂,帶...
    沈念sama閱讀 35,789評論 5 346
  • 正文 年R本政府宣布苏携,位于F島的核電站,受9級特大地震影響对粪,放射性物質(zhì)發(fā)生泄漏右冻。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,437評論 3 331
  • 文/蒙蒙 一衩侥、第九天 我趴在偏房一處隱蔽的房頂上張望国旷。 院中可真熱鬧,春花似錦茫死、人聲如沸跪但。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,993評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽屡久。三九已至,卻和暖如春爱榔,著一層夾襖步出監(jiān)牢的瞬間被环,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,107評論 1 271
  • 我被黑心中介騙來泰國打工详幽, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留筛欢,地道東北人。 一個月前我還...
    沈念sama閱讀 48,308評論 3 372
  • 正文 我出身青樓唇聘,卻偏偏與公主長得像版姑,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子迟郎,可洞房花燭夜當晚...
    茶點故事閱讀 45,037評論 2 355

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