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.

Contents

Chapter 1 Why Go Native?
1
Chapter 2 Welcome to the iOS SDK
11
Chapter 3 Creating a Test Workbench
25
Chapter 4 Structural Overview of an iOS App
51
Chapter 5 App Execution Flow
83
Pointers Data Types and Memory Management
107
Chapter 7 C Language Fundamentals
133
Chapter 8 ObjectiveCCocoa Touch Fundamentals
159
Chapter 9 Common JavaScript Tasks in Cocoa Touch
203
Appendix A Getting the Most from Xcode Documentation
267
Appendix B Common Beginner Xcode Compiler Errors
277
Glossary
281
Index
285
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information