Book description
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
Publisher resources
Table of contents
-
Learning the iOS 4 SDK for JavaScript Programmers
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- A Note Regarding Supplemental Files
- Preface
- 1. Why Go Native?
- 2. Welcome to the iOS SDK
- 3. Creating a Test Workbench
- 4. Structural Overview of an iOS App
- 5. App Execution Flow
- 6. Central Objective-C Concepts: Pointers, Data Types, and Memory Management
- 7. C Language Fundamentals
- 8. Objective-C/Cocoa Touch Fundamentals
-
9. Common JavaScript Tasks in Cocoa Touch
- Formatting Numbers for Display
- Creating a Date Object
- Calculating Dates
- Downloading Remote Files Asynchronously
- Reading and Writing Local Files
- Sorting Arrays
- Capturing User-Entered Text
- Validating Text Entry with Regular Expressions
- Using Regular Expressions for Text Search and Replace
- Dragging a View Around the Screen
- Recap
- A. Getting the Most from Xcode Documentation
- B. Common Beginner Xcode Compiler Errors
- Glossary
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
Product information
- Title: Learning the iOS 4 SDK for JavaScript Programmers
- Author(s):
- Release date: December 2010
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449302801
You might also like
book
iOS SDK Programming A Beginners Guide
Essential Skills--Made Easy! Develop, test, and debug iPhone, iPad, and iPod touch applications with help from …
book
iOS Programming Cookbook
Over 50 exciting and powerful recipes to help you unearth the promise of iOS programming About …
book
Android How to Program
The Deitels' App-Driven, Live Code Approach is simply the best way to master Android programming! The …
book
iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK
Take Your Next Leap Forward as an iOS App Developer! Covers iOS 7 and Xcode 5 …