注冊 | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計算機/網(wǎng)絡(luò)軟件與程序設(shè)計JAVA及其相關(guān)iOS 4 SDK入門:給JavaScript程序員(影印版)

iOS 4 SDK入門:給JavaScript程序員(影印版)

iOS 4 SDK入門:給JavaScript程序員(影印版)

定 價:¥68.00

作 者: (美)古德曼 著
出版社: 東南大學(xué)出版社
叢編項:
標(biāo) 簽: J2EE

ISBN: 9787564127107 出版時間: 2011-05-01 包裝: 平裝
開本: 16開 頁數(shù): 297 字?jǐn)?shù):  

內(nèi)容簡介

  JavaScript程序員有沒有可能學(xué)習(xí)Apple的iOS 4SDK編程并且堅持到成功一刻呢?技術(shù)大師DannyGoodman做到了這一點,而且留下了這本有著清晰足跡可以讓你跟隨的《iOS4SDK入門:給JavaScript程序員(影印版)》(作者DannyGoodman)。作為自JavaScript誕生之日起就是權(quán)威專家的Goodman清楚你在使用SDK創(chuàng)建本地iOS應(yīng)用時會遇到的挑戰(zhàn),他使用一種你容易理解的上下文來介紹Xcode、Objective-C和CocoaTouch。當(dāng)你能夠簡單地為Apple的iOS設(shè)備創(chuàng)建Web應(yīng)用時,你為什么還需要顧慮SDK呢?這是因為Web應(yīng)用無法訪IhqiPhone的音樂庫、相機,或者為地圖、音頻以及其他東西設(shè)計的iOS系統(tǒng)軟件。你也無法在應(yīng)用商店里銷售Web應(yīng)用。如果你希望發(fā)揮iPhone~liPad的全部優(yōu)勢,iOS4 SDK就是你所需要的工具——而《iOS4SDK入門:給JavaScript程序員(影印版)》就是你所需要的參考書。

作者簡介

  DannyGoodman寫了將近40本書和數(shù)以百計的在個人電腦以及消費性電子雜志上的文章。最近,他正在從事iPhone和iPodtouch應(yīng)用的開發(fā)工作,包括iFeltThat Earthquake、PhotoSize和BeaconAid-HF。

圖書目錄

Preface1. Why Go Native? Using an App Offline More Access to the Hardware More Access to the Software What You Lose Distribution Apple iOS Developer Program Content Authoring Platform Choices Taking the Plunge2. Welcome to the iOS SDK 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 a Test Workbench Creating the Project in Xcode Selecting a Project Type Naming and Saving the New Project Welcome to Your Project Editing Your First Files What the runMyCode: Method Does Building the User Interface Adding a Button to the View Connecting the Button Going for a Test Ride Congratulations4. Structural Overview of an iOS App Where It All Begins: APIs APIs You 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 Way The Objective-C Way 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 Object Instances NSLog0 and String Formats Running the Code What About Accessing Instance Variables? Recap5. App Execution Flow Some C Language Roots in an iOS 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 Window--UIWindow Adding Another View to Workbench Recap 6. Central Objective-C Concepts: Pointers, Data Types, and MemoryManagement 107 Pointers Pointers and Memory Pointers and Objective-C Variables Pointer Notation Determining Pointer Usage Data Typing Objective-C Data Types Cocoa Touch Data Types Objective-C Variable Declarations Objective-C Method Declarations The id Data Type Converting Objective-C Data Types Memory Management Cleaning Up After Yourself The Retain Count Autorelease Pools Observing Memory Usage Recap7. C Language Fundamentals Variable Names Variable Scope Instance Variables Local Variables Local Variables in Control Structure Blocks Static Local Variables Global Variables Constant Values Functions C Structures C Arrays Enumerated Types Operators Program Flow Constructions Boolean Values Math Object Equivalents in C Inserting Comments Recap8. Objective-C/Cocoa Touch Fundamentals More About Classes Temporary Objects Subclassing Framework Classes Defining Your Own Custom Subclasses Adding to a Class Without Subclassing--Categories Real Classes in Real Action TheElements Overview TheElements Class File Structure Class Properties Specifying Properties in the Header File Synthesizing Properties in the Implementation File Using Properties Properties in Framework Classes About NSString Creating an NSString JavaScript String Method Equivalents in Objective-C NSMutableString About NSArray Creating an NSArray Retrieving Array Elements JavaScript Array Method Equivalents in Objective-C NSMutableArray About NSDictionary Creating an NSDictionary Retrieving Dictionary Entries NSMutableDictionary Arrays and Dictionaries in Action Recap9. Common JavaScript Tasks in Cocoa Touch Formatting Numbers for Display Preformatted Number Styles Rounding Numbers for Display Creating a Date Object Adding a UIDatePicker to Workbench Understanding NSDate Creating a Date Object for a Specific Date Extracting Components from an NSDate Object Creating NSDate Objects from Strings Converting an NSDate to a String Calculating Dates 10 Days in the Future Days Between Dates Comparing Dates Downloading Remote Files Asynchronously Example Project Creating the Request Initializing the NSMutableData Object Delegate Methods Downloading Only When Needed Accounting for Fast App Switching Reading and Writing Local Files lOS App Directories Obtaining Directory Paths Obtaining Paths to Files Delivered with Your App Writing Files to Disk Reading Files from Disk Writing and Reading Property List Files Performing File Management Tasks Sorting Arrays Sorting with a Selector Sorting with a Function Sorting Arrays of Dictionaries with NSSortDescriptor Capturing User-Entered Text The Code Portion The Interface Builder Portion Validating Text Entry with Regular Expressions Modifying the Code Modifying the User Interface Using Regular Expressions for Text Search and Replace Dragging a View Around the Screen The Code Portion The Interface Builder Portion RecapA. Getting the Most from Xcode DocumentationB. Common Beginner Xcode Compiler ErrorsGlossaryIndex

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) m.ranfinancial.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號 鄂公網(wǎng)安備 42010302001612號