reklama - zainteresowany?

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

Learning the iOS 4 SDK for JavaScript Programmers. Create Native Apps with Objective-C and Xcode
ebook
Autor: Danny Goodman
ISBN: 978-14-493-0280-1
stron: 320, Format: ebook
Data wydania: 2010-12-02
Księgarnia: Helion

Cena książki: 101,15 zł (poprzednio: 117,62 zł)
Oszczędzasz: 14% (-16,47 zł)

Dodaj do koszyka Learning the iOS 4 SDK for JavaScript Programmers. Create Native Apps with Objective-C and Xcode

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

Dodaj do koszyka Learning the iOS 4 SDK for JavaScript Programmers. Create Native Apps with Objective-C and Xcode

 

Osoby które kupowały "Learning the iOS 4 SDK for JavaScript Programmers. Create Native Apps with Objective-C and Xcode", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Ruby on Rails. Ćwiczenia
  • DevOps w praktyce. Kurs video. Jenkins, Ansible, Terraform i Docker
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Scrum. O zwinnym zarzÄ…dzaniu projektami. Wydanie II rozszerzone

Dodaj do koszyka Learning the iOS 4 SDK for JavaScript Programmers. Create Native Apps with Objective-C and Xcode

Spis treści

Learning the iOS 4 SDK for JavaScript Programmers. Create Native Apps with Objective-C and Xcode eBook -- spis treści

  • Learning the iOS 4 SDK for JavaScript Programmers
    • SPECIAL OFFER: Upgrade this ebook with OReilly
    • A Note Regarding Supplemental Files
    • Preface
      • What You Need to Start
      • Whats in This Book
      • Conventions Used in This Book
      • Using Code Examples
      • How to Contact Us
      • Safari Books Online
      • Acknowledgments
    • 1. Why Go Native?
      • Using an App Offline
      • More Access to the Hardware
      • More Access to the Software
      • What You Lose
        • Distribution
        • Apple iOS Developer Program
        • Content
        • Authoring Platform Choices
      • Taking the Plunge
    • 2. Welcome to the iOS SDK
      • Hardware and OS Requirements
      • Installing the SDK
      • About iOS Developer Programs
      • Inside the SDK
      • Viewing Developer Documentation
      • Loading Code Samples
      • Setting the Projects Base SDK
      • Trying the iOS Simulator
      • Coming Up...
    • 3. Creating a Test Workbench
      • Creating the Project in Xcode
        • Selecting a Project Type
        • Naming and Saving the New Project
        • Welcome to Your Project
        • Editing Your First Files
        • What the runMyCode: Method Does
      • Building the User Interface
        • Adding a Button to the View
        • Connecting the Button
        • Going for a Test Ride
        • Congratulations
    • 4. Structural Overview of an iOS App
      • Where It All Begins: APIs
        • APIs You Already Know
        • The Cocoa Touch APIs
      • Frameworks
        • Foundation Framework
        • UIKit Framework
        • CoreGraphics Framework
        • Adding Frameworks
        • Frameworks Set in Stone
      • Welcome to Class Files
        • The JavaScript Way
        • The Objective-C Way
        • Header File Details
          • Importing frameworks
          • Inheritance
          • The @interface compiler directive
      • Using Xcode to Create DGCar Class Files
        • Editing the @interface Section
        • Message Passing
        • Editing the @implementation Section
          • Adding the getFormattedListing method
          • Message syntax
          • Adding the initWithCarMake:model:year: method
      • Integrating the DGCar Class into Workbench
        • Creating Object Instances
        • NSLog() and String Formats
        • Running the Code
        • What About Accessing Instance Variables?
      • Recap
    • 5. App Execution Flow
      • Some C Language Roots in an iOS App
      • An Introduction to Delegates
        • How UIApplication Appoints Its Delegate
        • The Apps Info.plist File
        • Inside MainWindow.xib
      • iPhone App Development Design Patterns
        • The Model-View-Controller Design Pattern
        • Other Design Patterns
      • The Importance of Views
        • The App WindowUIWindow
        • Adding Another View to Workbench
          • Adding the IBAction method
          • Creating the user interface
          • Adding code to display the blue view
      • Recap
    • 6. Central Objective-C Concepts: Pointers, Data Types, and Memory Management
      • Pointers
        • Pointers and Memory
        • Pointers and Objective-C Variables
        • Pointer Notation
        • Determining Pointer Usage
      • Data Typing
        • Objective-C Data Types
        • Cocoa Touch Data Types
        • Objective-C Variable Declarations
        • Objective-C Method Declarations
        • The id Data Type
        • Converting Objective-C Data Types
      • Memory Management
        • Cleaning Up After Yourself
        • The Retain Count
        • Autorelease Pools
        • Observing Memory Usage
      • Recap
    • 7. C Language Fundamentals
      • Variable Names
      • Variable Scope
        • Instance Variables
        • Local Variables
        • Local Variables in Control Structure Blocks
        • Static Local Variables
        • Global Variables
      • Constant Values
      • Functions
      • C Structures
      • C Arrays
      • Enumerated Types
      • Operators
      • Program Flow Constructions
      • Boolean Values
      • Math Object Equivalents in C
      • Inserting Comments
      • Recap
    • 8. Objective-C/Cocoa Touch Fundamentals
      • More About Classes
        • Temporary Objects
        • Subclassing Framework Classes
        • Defining Your Own Custom Subclasses
        • Adding to a Class Without SubclassingCategories
      • Real Classes in Real Action
        • TheElements Overview
        • TheElements Class File Structure
          • Single Element View classes
          • TableView Representations
          • Data Model
          • Application Support
          • Other groups and files
      • Class Properties
        • Specifying Properties in the Header File
        • Synthesizing Properties in the Implementation File
        • Using Properties
        • Properties in Framework Classes
      • About NSString
        • Creating an NSString
        • JavaScript String Method Equivalents in Objective-C
          • Getting single characters and character codes
          • Appending to a string
          • Finding the offset of a matching substring
          • Replacing substrings
          • Dividing a string into an array
          • Extracting a substring
          • Changing case
          • Escaping and unescaping URL strings
        • NSMutableString
      • About NSArray
        • Creating an NSArray
        • Retrieving Array Elements
        • JavaScript Array Method Equivalents in Objective-C
          • Appending items to an array
          • Combining array elements into a delimited string
          • Sorting arrays
        • NSMutableArray
      • About NSDictionary
        • Creating an NSDictionary
        • Retrieving Dictionary Entries
        • NSMutableDictionary
      • Arrays and Dictionaries in Action
      • Recap
    • 9. Common JavaScript Tasks in Cocoa Touch
      • Formatting Numbers for Display
        • Preformatted Number Styles
        • Rounding Numbers for Display
      • Creating a Date Object
        • Adding a UIDatePicker to Workbench
        • Understanding NSDate
        • Creating a Date Object for a Specific Date
        • Extracting Components from an NSDate Object
        • Creating NSDate Objects from Strings
        • Converting an NSDate to a String
      • Calculating Dates
        • 10 Days in the Future
        • Days Between Dates
        • Comparing Dates
      • Downloading Remote Files Asynchronously
        • Example Project
        • Creating the Request
        • Initializing the NSMutableData Object
        • Delegate Methods
          • Handling download errors
          • Receiving a response
          • Accumulating incoming data
          • Processing the completed download
        • Downloading Only When Needed
        • Accounting for Fast App Switching
      • Reading and Writing Local Files
        • iOS App Directories
        • Obtaining Directory Paths
        • Obtaining Paths to Files Delivered with Your App
        • Writing Files to Disk
        • Reading Files from Disk
        • Writing and Reading Property List Files
        • Performing File Management Tasks
      • Sorting Arrays
        • Sorting with a Selector
        • Sorting with a Function
        • Sorting Arrays of Dictionaries with NSSortDescriptor
      • Capturing User-Entered Text
        • The Code Portion
        • The Interface Builder Portion
      • Validating Text Entry with Regular Expressions
        • Modifying the Code
        • Modifying the User Interface
      • Using Regular Expressions for Text Search and Replace
      • Dragging a View Around the Screen
        • The Code Portion
        • The Interface Builder Portion
      • Recap
    • A. Getting the Most from Xcode Documentation
    • B. Common Beginner Xcode Compiler Errors
      • Error Messages
      • Warning Messages
    • Glossary
    • Index
    • About the Author
    • Colophon
    • SPECIAL OFFER: Upgrade this ebook with OReilly

Dodaj do koszyka Learning the iOS 4 SDK for JavaScript Programmers. Create Native Apps with Objective-C and Xcode

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.