圖書信息
出版社: 東南大學出版社; 第1版 (2011年5月1日)
外文書名: iOS 4 SDK for JavaScript Programmers
平裝: 297頁
正文語種: 英語
開本: 16
ISBN: 9787564127107, 7564127104
條形碼: 9787564127107
尺寸: 23.2 x 17.8 x 1.6 cm
重量: 481 g
作者簡介
作者:(美國)古德曼 (Danny Goodman)
古德曼,Danny Goodman,寫了將近40本書和數以百計的在個人電腦以及消費性電子雜誌上的文章。最近,他正在從事iPhone和IPODTOUCH套用的開發工作,包括iFeltThat Earthquake、Phot0Sizee和BeaconAid-HF。
內容簡介
《iOS 4 SDK入門:給JavaScript程式設計師(影印版)》主要內容簡介:JavaScript程式設計師有沒有可能學習Apple的iOs4sDK編程並且堅持到成功一刻呢?技術大師DannyGoodman做劍了這一點,而且留下了這本有著清晰足跡可以讓你跟隨的書。作為自JavaScript誕生之日起就是權威專家的Goodman清楚你在使用sDK創建本地ios套用時會遇列的挑戰,他使用?種你容易理解的上下文來介紹xcode、ObictiVe-C和CocoaTouch。當你能夠簡單地為Apple的iOS設備創建Web套用時,你為什麼還需要顧慮SDK呢?這是因為Web套用無法訪問iPhone音樂庫、相機,或者為地圖、音頻以及其他東西設計的ios系統軟體。你也無法在套用商店裡銷售Web套用。如果你希望發揮iPhone和iPad的全部優勢,ios4sDK就是你所需要的工具——而《iOS 4 SDK入門:給JavaScript程式設計師(影印版)》就是你所需要的參考書。
媒體評論
每一個有Web開發背景並且希望進入到本地套用編程的人都應該跟隨Danny調查好的方法來學習這個平台。這是任何一個有經驗的期待展開AppStfore之旅的JavaScript程式設計師的最佳指南。”
——FoddMoore.whiteNoise套用的創建者
目錄
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
6.Central Objective-C Concepts: Pointers, Data Types, and Memory Management.
7.C Language Fundamentals
8.Objective-C/Cocoa Touch Fundamentals ..
9.Common JavaScript Tasks in Cocoa Touch
A.Getting the Mostfrom Xcode Documentation
B.Common BeginnerXcodeCompiler Errors
Glossary
Index