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

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

Common terms and phrases

About the author (2010)

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. His expertise in implementing sensible cross-browser client-side scripting solutions is in high demand and allows him to, in his words, "get code under my fingernails while solving real-world problems."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.

Bibliographic information