Learning the iOS 4 SDK for JavaScript Programmers (häftad)
Fler böcker inom
Häftad (Paperback)
Antal sidor
234 x 177 x 19 mm
498 g
Antal komponenter
Learning the iOS 4 SDK for JavaScript Programmers (häftad)

Learning the iOS 4 SDK for JavaScript Programmers

Create Native Apps with Objective-C and Xcode

Häftad Engelska, 2011-01-31
Skickas inom 7-10 vardagar.
Fri frakt inom Sverige för privatpersoner.
Finns även som
Visa alla 2 format & utgåvor
Is it possible for JavaScript programmers to learn Apple's iOS 4 SDK and live to tell the tale? Technology guru Danny Goodman did, and with this book he leaves a well-marked trail for you to follow. An authority on JavaScript since its inception, Goodman understands the challenges you might face in creating native iOS apps with this SDK, and introduces Xcode, Objective-C, and Cocoa Touch in a context you'll readily understand.

Why bother with the SDK when you can simply build web apps for Apple's iOS devices? Web apps can't access an iPhone's music library, camera, or iOS system software for maps, audio, and more. Nor can you sell web apps in the App Store. If you want to take full advantage of the iPhone and iPad, iOS 4 SDK is your tool -- and this is your book. Includes full coverage of iOS SDK 4.2.

  • Learn the distinction between web app and iOS native app programming
  • Create a workbench app to test code snippets throughout the learning process
  • Get a structural view of an iOS app, and compare the process of building objects in Objective-C versus JavaScipt
  • Discover how your code launches iOS apps and makes them user-ready
  • Learn about iOS memory management details that are different from JavaScript, including pointers and data types
  • Use Objective-C and Cocoa Touch to implement common JavaScript tasks
Visa hela texten

Passar bra ihop

  1. Learning the iOS 4 SDK for JavaScript Programmers
  2. +
  3. iOS 7 Programming Fundamentals: Objective-C, Xcode, and Cocoa Basics

De som köpt den här boken har ofta också köpt iOS 7 Programming Fundamentals: Objective-C, Xc... av Matt Neuburg (häftad).

Köp båda 2 för 618 kr


Har du läst boken? Sätt ditt betyg »

Bloggat om Learning the iOS 4 SDK for JavaScript Pro...

Övrig information

Danny Goodman has been writing about personal computers and consumer electronics since the late 1970s. In 2006, he celebrated 25 years as a freelance writer and programmer, having published hundreds of magazine articles, several commercial software products, and three dozen computer books. Through the years, his most popular book titles - on HyperCard, AppleScript, JavaScript, and Dynamic HTML - have covered programming environments that are both accessible to non-professionals, yet powerful enough to engage experts. His Dynamic HTML: The Definitive Reference, now in its third edition, is an O'Reilly bestseller. To keep up to date on the needs of web developers for his recent books, Danny is also a programming consultant to some of the industry's top intranet development groups and corporations. Most recently, Danny has been programming applications for Apple's iPhone and iPod touch platform. As of March 2010, three of his apps, iFeltThat Earthquake, PhotoSize, and BeaconAid- HF, are available on Apple's App Store. Danny was born in Chicago, Illinois during the Truman Administration. He earned a B.A. and M.A. in Classical Antiquity from the University of Wisconsin, Madison. He moved to California in 1983 and lives in a small San Francisco area coastal community, where he alternates views between computer screens and the Pacific Ocean.


Preface; What You Need to Start; Whats in This Book; Conventions Used in This Book; Using Code Examples; How to Contact Us; Safari Books Online; Acknowledgments; Chapter 1: Why Go Native?; 1.1 Using an App Offline; 1.2 More Access to the Hardware; 1.3 More Access to the Software; 1.4 What You Lose; 1.5 Taking the Plunge; Chapter 2: Welcome to the iOS SDK; 2.1 Hardware and OS Requirements; 2.2 Installing the SDK; 2.3 About iOS Developer Programs; 2.4 Inside the SDK; 2.5 Viewing Developer Documentation; 2.6 Loading Code Samples; 2.7 Setting the Projects Base SDK; 2.8 Trying the iOS Simulator; 2.9 Coming Up...; Chapter 3: Creating a Test Workbench; 3.1 Creating the Project in Xcode; 3.2 Building the User Interface; Chapter 4: Structural Overview of an iOS App; 4.1 Where It All Begins: APIs; 4.2 Frameworks; 4.3 Welcome to Class Files; 4.4 Using Xcode to Create DGCar Class Files; 4.5 Integrating the DGCar Class into Workbench; 4.6 Recap; Chapter 5: App Execution Flow; 5.1 Some C Language Roots in an iOS App; 5.2 An Introduction to Delegates; 5.3 iPhone App Development Design Patterns; 5.4 The Importance of Views; 5.5 Recap; Chapter 6: Central Objective-C Concepts: Pointers, Data Types, and Memory Management; 6.1 Pointers; 6.2 Data Typing; 6.3 Memory Management; 6.4 Recap; Chapter 7: C Language Fundamentals; 7.1 Variable Names; 7.2 Variable Scope; 7.3 Constant Values; 7.4 Functions; 7.5 C Structures; 7.6 C Arrays; 7.7 Enumerated Types; 7.8 Operators; 7.9 Program Flow Constructions; 7.10 Boolean Values; 7.11 Math Object Equivalents in C; 7.12 Inserting Comments; 7.13 Recap; Chapter 8: Objective-C/Cocoa Touch Fundamentals; 8.1 More About Classes; 8.2 Real Classes in Real Action; 8.3 Class Properties; 8.4 About NSString; 8.5 About NSArray; 8.6 About NSDictionary; 8.7 Arrays and Dictionaries in Action; 8.8 Recap; Chapter 9: Common JavaScript Tasks in Cocoa Touch; 9.1 Formatting Numbers for Display; 9.2 Creating a Date Object; 9.3 Calculating Dates; 9.4 Downloading Remote Files Asynchronously; 9.5 Reading and Writing Local Files; 9.6 Sorting Arrays; 9.7 Capturing User-Entered Text; 9.8 Validating Text Entry with Regular Expressions; 9.9 Using Regular Expressions for Text Search and Replace; 9.10 Dragging a View Around the Screen; 9.11 Recap; Getting the Most from Xcode Documentation; Common Beginner Xcode Compiler Errors; Error Messages; Warning Messages; Glossary; Colophon;