OReilly:iOS 4 SDK入門:給javascript程序員(影印版)
定 價:68 元
- 作者:(美),古德曼 著
- 出版時間:2011/5/1
- ISBN:9787564127107
- 出 版 社:東南大學(xué)出版社
- 中圖法分類:TP312
- 頁碼:297
- 紙張:膠版紙
- 版次:1
- 開本:16開
JavaScript程序員有沒有可能學(xué)習(xí)Apple的iOs4sDK編程并且堅持到成功一刻呢?技術(shù)大師DannyGoodman做劍了這一點,而且留下了這本有著清晰足跡可以讓你跟隨的書。作為自JavaScript誕生之日起就是權(quán)威專家的Goodman清楚你在使用sDK創(chuàng)建本地ios應(yīng)用時會遇列的挑戰(zhàn),他使用·種你容易理解的上下文來介紹xcode、OObictiVe-C和CocoaTouch。當(dāng)你能夠簡單地為Apple的iOS設(shè)備創(chuàng)建Web應(yīng)用時,你為什么還需要顧慮SDK呢?這是因為Web應(yīng)用無法訪問iPhone音樂庫、相機(jī),或者為地圖、音頻以及其他東西設(shè)計的ios系統(tǒng)軟件。你也無法在應(yīng)用商店里銷售Web應(yīng)用。如果你希望發(fā)揮iPhone和iPad的全部優(yōu)勢,ios4sDK就是你所需要的工具一一而《iOS 4 SDK入門:給JavaScript程序員(影印版)》就是你所需要的參考書。
了解Web應(yīng)用和iOS本地應(yīng)用編程的差異 創(chuàng)建一個工作臺應(yīng)用來測試貫穿整個學(xué)習(xí)過程的代碼段 理解iOS應(yīng)用的結(jié)構(gòu),比較通過Objective-C和javascript搭建對象的過程 揭示你的代碼如何啟動iOS應(yīng)用并讓它們準(zhǔn)備就緒 學(xué)習(xí)iOS內(nèi)存管理,以及與javascript編程有所差異的Objective-C指針和數(shù)據(jù)類型 使用Objective-C和Cocoa 10ucrl實現(xiàn)常見的javascript任務(wù) 每一個有Web開發(fā)背景并且希望進(jìn)入到本地應(yīng)用編程的人都應(yīng)該跟隨Danny調(diào)查好的方法來學(xué)習(xí)這個平臺。這是任何一個有經(jīng)驗的期待展開AppStfore之旅的javascript程序員的最佳指南! ——FoddMoore. whiteNoise應(yīng)用的創(chuàng)建者 Danny Goodman寫了將近40本書和數(shù)以百計的在個人電腦以及消費性電子雜志上的文章。最近,他正在從事iPhone和iPodtouch應(yīng)用的開發(fā)工作,包括iFeltThat Earthquake、Phot0Sizee和BeaconAid-HF。
Preface
1.WhVGo Native?
Using an App Offline
More ACCCSS to the Hardware
More Access tO the Software
What Yon Lose
Distribution
Apple iOS Developer Program
Content
Authoring Platform Choices
Taking the Plunge
2.WelcometotheiOSSDK
Hardware and OS Requirements
Installing the SDK
About iOS Developer Programs
Inside the SDK
Viewing Developer Documentation
Loading Code Samples
Setting the Project'S Base SDK
Trying the iOS Simulator
Coming Up
3.Creating aTestWorkbench
Creating the Project in Xcode
Selecting a Proj ect Type
Naming and Saving the New Project
Welcome tO Your Proj ect
Editing Your First Files
What the runMyCode:Method Does
Building the User Interfaca
Adding a Button to the View
Connecting the Button
Going for a Test Ride
Congratulations
4.StructuralOverviewofaniOSApp
Where It A11 Begins:APIs
APIs Yon Already Know
The Cocoa Touch APIs
Frameworks
Foundation Framework
UIKit Framework
CoreGraphics Framework
Adding Frameworks
Frameworks Set in Stone
Welcome to Class Files
The JavaScript Wav
The Obi ective—C Wav
Header File Details
Using Xcode to Create DGCar Class Files
Editing the@interface Section
Message Passing
Editing the@implementation Section
Integrating the DGCar Class into Workbench
Creating Obj ect Instances
NSLog and String Formats
Running the Code
What About Accessing Instance Variables?
Recap
5.App Execution Flow
Some C Language Roots in an lOS App
An Introduction to Delegates
How UIApplication Appoints Its Delegate
The App’S Info.plist File
Inside MainWindow.xib
iPhone App Development Design Patterns
The Model.View-Controller Design Pattern
Other Design Patterns
The Importance of Views
The APP Windo、v—UIWindow
Adding Another View to Workbench
……