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

Overview

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 ...

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

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price

Overview

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
Read More Show Less

Product Details

  • ISBN-13: 9781449302801
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 12/2/2010
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 320
  • Sales rank: 1,251,157
  • File size: 10 MB

Meet the Author

Danny Goodman has been writing about personal computers and consumer electronics since the late 1970s. He has written hundreds of magazine articles, several commercial software products, and three dozen computer books. Most recently, Danny has been programming applications for Apple's iPhone and iPod touch platform, including iFeltThat Earthquake, PhotoSize, and BeaconAid-HF, all available on Apple's App Store.

Read More Show Less

Table of Contents

Preface;
What You Need to Start;
What’s 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 Project’s 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;

Read More Show Less

Customer Reviews

Average Rating 5
( 2 )
Rating Distribution

5 Star

(2)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted July 10, 2014

    Savos Aren

    Summons a spectral knight and and fights him. I severely wound him by slashing his thighs and cutting off his arms. I ultimately decapitate him. He disolves into thin air.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 8, 2014

    Jedi training room

    Here

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)