iOS Technologies<1.About the iOS Technologies>

About the iOS Technologies

譯:關(guān)于iOS技術(shù)

iOS is the operating system that runs on iPad, iPhone, and iPod touch devices. The operating system manages the device hardware and provides the technologies required to implement native apps. The operating system also ships with various system apps, such as Phone, Mail, and Safari , that provide standard system services to the user.

譯:iOS是運(yùn)行在iPad,iPhone和iPod touch觸摸設(shè)備上的操作系統(tǒng)。操作系統(tǒng)管理設(shè)備硬件并提供實(shí)現(xiàn)設(shè)備原生應(yīng)用程序所需的技術(shù)。操作系統(tǒng)還自帶各種系統(tǒng)應(yīng)用,如電話功能、郵件、和Safari瀏覽器,向用戶提供基本的系統(tǒng)服務(wù)。

The iOS Software Development Kit (SDK) contains the tools and interfaces needed to develop , install, run, and test native apps that appear on an iOS device’s Home screen. Native apps are built using the iOS system frameworks and Objective-C language and run directly on iOS. Unlike web apps, native apps are installed physically on a device and are therefore always available to the user , even when the device is in Airplane mode. They reside next to other system apps, and both the app and any user data is synced to the user’s computer through iTunes.

譯:iOS軟件開(kāi)發(fā)工具包(SDK)包含開(kāi)發(fā)、安裝、運(yùn)行和測(cè)試原生應(yīng)用程序所需的工具和接口。原生應(yīng)用程序是使用iOS系統(tǒng)框架和Objective - C語(yǔ)言并且直接在iOS上運(yùn)行的。與web應(yīng)用程序不同的是,原生應(yīng)用程序物理安裝在設(shè)備上,即使處于“飛行模式”,也是可用的。應(yīng)用程序和任何用戶數(shù)據(jù)是可以通過(guò)iTunes同步到用戶的計(jì)算機(jī)上。(這里應(yīng)該是指app在iTunes上顯示出來(lái),并可以運(yùn)行)

Snip20160928_1.png

Note: It is possible to create web apps using a combination of HTML, cascading style sheets(CSS), and JavaScript code. Web apps run inside the Safari web browser and require a network connection to access your web server. This document does not cover the creation of web apps.For more information about creating web apps in Safari, see Safari Web Content Guide.

譯:備注:可以使用HTML、級(jí)聯(lián)樣式表(CSS)、JavaScript代碼創(chuàng)建web應(yīng)用程序。Web應(yīng)用程序運(yùn)行在Safari瀏覽器,需要網(wǎng)絡(luò)連接來(lái)訪問(wèn)您的Web服務(wù)器。本文檔不包含web應(yīng)用程序的創(chuàng)建。更多在Safari創(chuàng)建web應(yīng)用程序的信息,見(jiàn)Safari Web Content Guide。

At a Glance

譯:概覽

The iOS SDK provides the resources you need to develop native iOS apps. Understanding a little about the technologies and tools contained in the SDK can help you make better choices about how to design and implement your apps.

譯:iOS SDK提供的開(kāi)發(fā)原生iOS應(yīng)用程序所需的資源。了解一點(diǎn)關(guān)于SDK中包含的技術(shù)和工具可以幫助你如何設(shè)計(jì)和實(shí)現(xiàn)應(yīng)用程序,并做出更好的選擇。

The iOS Architecture Is Layered

譯:iOS架構(gòu)分層

At the highest level, iOS acts as an intermediary between the underlying hardware and the apps you create. Apps do not talk to the underlying hardware directly. Instead, they communicate with the hardware through a set of well-defined system interfaces. These interfaces make it easy to write apps that work consistently on devices having different hardware capabilities.

譯:在最高層,iOS充當(dāng)您創(chuàng)建的應(yīng)用程序與底層硬件之間的媒介。應(yīng)用程序不會(huì)直接與底層硬件通訊。相反,他們通過(guò)一組自定義好的系統(tǒng)通信接口與硬件通訊。這些接口使應(yīng)用程序編寫(xiě)更加簡(jiǎn)單,且在不同硬件設(shè)備上功能一致地工作。

The implementation of iOS technologies can be viewed as a set of layers, which are shown inFigure I-1. Lower layers contain fundamental services and technologies. Higher-level layers build upon the lower layers and provide more sophisticated services and technologies.

譯:iOS技術(shù)的實(shí)現(xiàn)可以被視為一組圖層,如I-1所示。較低的層包含基本服務(wù)和技術(shù)。高級(jí)層向下層提供更復(fù)雜的服務(wù)和技術(shù)。

Figure I-1 Layers of iOS

譯:iOS架構(gòu)分層

Snip20161008_7.png

As you write your code, it is recommended that you prefer the use of higher-level frameworks over lower-level frameworks whenever possible. The higher-level frameworks are there to provide object-oriented abstractions for lower-level constructs. These abstractions generally make it much easier to write code because they reduce the amount of code you have to write and encapsulate potentially complex features, such as sockets and threads. You may use lower-level frameworks and technologies, too, if they contain features not exposed by the higher-level frameworks.

譯:當(dāng)你編寫(xiě)代碼,建議您盡量使用高級(jí)框架代替底層框架。高級(jí)框架提供底層結(jié)構(gòu)面向?qū)ο蟮某橄蟆_@些抽象通常讓你更容易編寫(xiě)代碼,因?yàn)樗麄儨p少你必須編寫(xiě)的代碼量和潛在復(fù)雜特性的封裝,如sockets和線程等。你可以使用底層框架和技術(shù),如果它們包含高級(jí)框架不公開(kāi)的特性。

Relevant chapters: Cocoa Touch Layer, Media Layer, Core Services Layer, Core OS Layer

譯:相關(guān)章節(jié):Cocoa Touch Layer, Media Layer, Core Services Layer, Core OS Layer

The iOS Technologies Are Packaged as Frameworks

譯:iOS技術(shù)被包裝成framework

Apple delivers most of its system interfaces in special packages called frameworks. A framework is a directory that contains a dynamic shared library and the resources (such as header files, images , and helper apps) needed to support that library. To use frameworks, you add them to your app project from Xcode.

譯:蘋(píng)果提供大部分在特殊包的系統(tǒng)接口被稱為框架。框架是一個(gè)其中包含一個(gè)動(dòng)態(tài)共享庫(kù)和支持庫(kù)所需要的資源(如:頭文件、圖片和應(yīng)用助手)的目錄。使用框架,你從Xcode將它們添加到你的應(yīng)用項(xiàng)目中。

Relevant sections: iOS Frameworks

譯:相關(guān)章節(jié): iOS Frameworks

The Developer Library Is There to Help You

譯:開(kāi)發(fā)者幫助文檔

The iOS Developer Library is an important resource for you to use during development. The library contains API reference, programming guides, release notes, tech notes, sample code, and many other resources offering tips and guidance about the best way to create your apps.

譯:iOS開(kāi)發(fā)者文檔庫(kù)是一個(gè)在開(kāi)發(fā)過(guò)程中供您使用的非常重要資源。文檔庫(kù)包含API參考、編程指南、更新發(fā)布說(shuō)明、技術(shù)筆記、示例代碼和許多其他資源提供給你創(chuàng)建應(yīng)用程序的最佳方法建議和指導(dǎo)。

You can access the iOS Developer Library from the Apple Developer website or from Xcode. In Xcode, choose Help > Documentation and API Reference to display the Xcode documentation window, which is the central resource for accessing information about iOS development. Use the documentation window to browse, search, and bookmark documents.

譯:您可以從蘋(píng)果開(kāi)發(fā)者網(wǎng)站或從Xcode文檔訪問(wèn)(Xcode>Help>Documentation and API Reference 窗口顯示Xcode API參考文檔,使用此窗口去瀏覽、查找、標(biāo)記文檔)。

How to Use This Document

譯:如何使用此文檔

iOS Technology Overview is an introductory guide for anyone who is new to the iOS platform. It provides an overview of the technologies and tools that have an impact on the development process and provides links to relevant documents and other sources of information. You should use this document to:

譯:對(duì)于任何iOS新手來(lái)說(shuō),iOS技術(shù)概述是入門(mén)指南。它提供了iOS技術(shù)概述和影響開(kāi)發(fā)過(guò)程的工具并提供相關(guān)文件和其他的信息源鏈接。你應(yīng)該使用這個(gè)文檔:

  • Orient yourself to the iOS platform

譯:確定你自己的iOS平臺(tái)

  • Learn about iOS software technologies, why you might want to use them, and when

譯:學(xué)習(xí)關(guān)于iOS軟件技術(shù),你將用它們來(lái)開(kāi)發(fā)

  • Learn about development opportunities for the platform

譯:學(xué)習(xí)平臺(tái)發(fā)展的機(jī)會(huì)

  • Get tips and guidelines on how to move to iOS from other platforms

譯:得到從其他平臺(tái)轉(zhuǎn)到iOS的提示和指南

  • Find key documents relating to the technologies you are interested in

譯:找到你感興趣的關(guān)鍵字文檔關(guān)聯(lián)

This document does not provide information about user-level features that have no impact on the software development process, nor does it list the hardware capabilities of specific iOS devices.New developers should find this document useful for getting familiar with iOS. Experienced developers can use it as a road map for exploring specific technologies and development techniques.

譯:本文不提供對(duì)軟件開(kāi)發(fā)過(guò)程沒(méi)有沖突,也不列出iOS設(shè)備特殊硬件性能的用戶級(jí)特性的信息,。新開(kāi)發(fā)人員應(yīng)該找到這個(gè)文檔用于熟悉iOS系統(tǒng)。有經(jīng)驗(yàn)的開(kāi)發(fā)人員可以使用它作為一個(gè)探索特殊的技術(shù)和開(kāi)發(fā)技術(shù)的路線圖。

See Also

譯:另請(qǐng)參閱

If you’re new to iOS development, this book provides only an overview of the system. To learn more about how to develop iOS apps, you should read the following documents:

譯:如果你是iOS開(kāi)發(fā)新手,這文章只是提供系統(tǒng)概述。學(xué)習(xí)更多關(guān)于iOS app開(kāi)發(fā)你需要閱讀以下文檔:

  • Start Developing iOS Apps (Swift) provides a guided tour of the development process, starting with how to set up your system and ending with the process of how to submit apps to the AppStore. If you are new to developing iOS apps, this is another good starting point for exploring iOS app development.

譯:Start Developing iOS Apps (Swift),提供了從如何設(shè)置您的系統(tǒng)到如何提交應(yīng)用程序到應(yīng)用商店開(kāi)發(fā)過(guò)程指導(dǎo)。如果你是iOS應(yīng)用程序開(kāi)發(fā)新手,這是探索iOS app開(kāi)發(fā)另一個(gè)很好的起點(diǎn)。

  • iOS Human Interface Guidelines provides guidance and information about how to design your app’s user interface.

譯:iOS Human Interface Guidelines,提供如何設(shè)計(jì)你的app用戶界面的指南信息。

  • App Distribution Guide describes the iOS development process from the perspective of the tools. This document covers the configuration and provisioning of devices for development and covers the use of Xcode (and other tools) for building, running, and testing your software.

譯:App Distribution Guide,從工具方面描述了iOS開(kāi)發(fā)過(guò)程。這文檔覆蓋了開(kāi)發(fā)配置和設(shè)備資源分配和覆蓋了用來(lái)編譯、運(yùn)行、測(cè)試的Xcode以及其他工具的使用。

To develop on a device, you sign up for Apple’s paid iOS Developer program and then configure a device for development purposes. After you sign up, obtain a copy of Xcode and the iOS SDK at the iOS Dev Center

譯:在一個(gè)設(shè)備上進(jìn)行開(kāi)發(fā),你先登錄Apple’s paid iOS Developer計(jì)劃,然后配置開(kāi)發(fā)目的。你登錄后,在開(kāi)發(fā)中心將獲得Xcode、iOS SDK。

Copyright ? 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-09-17

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 228,505評(píng)論 6 533
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 98,556評(píng)論 3 418
  • 文/潘曉璐 我一進(jìn)店門(mén),熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人,你說(shuō)我怎么就攤上這事。” “怎么了?”我有些...
    開(kāi)封第一講書(shū)人閱讀 176,463評(píng)論 0 376
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)。 經(jīng)常有香客問(wèn)我,道長(zhǎng),這世上最難降的妖魔是什么? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 63,009評(píng)論 1 312
  • 正文 為了忘掉前任,我火速辦了婚禮,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘。我一直安慰自己,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 71,778評(píng)論 6 410
  • 文/花漫 我一把揭開(kāi)白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上,一...
    開(kāi)封第一講書(shū)人閱讀 55,218評(píng)論 1 324
  • 那天,我揣著相機(jī)與錄音,去河邊找鬼。 笑死,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播,決...
    沈念sama閱讀 43,281評(píng)論 3 441
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起,我...
    開(kāi)封第一講書(shū)人閱讀 42,436評(píng)論 0 288
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 48,969評(píng)論 1 335
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 40,795評(píng)論 3 354
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 42,993評(píng)論 1 369
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情,我是刑警寧澤,帶...
    沈念sama閱讀 38,537評(píng)論 5 359
  • 正文 年R本政府宣布,位于F島的核電站,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 44,229評(píng)論 3 347
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 34,659評(píng)論 0 26
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 35,917評(píng)論 1 286
  • 我被黑心中介騙來(lái)泰國(guó)打工, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 51,687評(píng)論 3 392
  • 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 47,990評(píng)論 2 374

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