Learning the iOS 4 SDK for JavaScript Programmers: Create Native Apps with Objective-C and Xcode

Front Cover
"O'Reilly Media, Inc.", Dec 2, 2010 - Computers - 320 pages
1 Review

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

What people are saying - Write a review

We haven't found any reviews in the usual places.


Chapter 1 Why Go Native?
Chapter 2 Welcome to the iOS SDK
Chapter 3 Creating a Test Workbench
Chapter 4 Structural Overview of an iOS App
Chapter 5 App Execution Flow
Pointers Data Types and Memory Management
Chapter 7 C Language Fundamentals
Chapter 8 ObjectiveCCocoa Touch Fundamentals
Chapter 9 Common JavaScript Tasks in Cocoa Touch
Appendix A Getting the Most from Xcode Documentation
Appendix B Common Beginner Xcode Compiler Errors

Other editions - View all

Common terms and phrases

Bibliographic information