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…mehr
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 tasksHinweis: Dieser Artikel kann nur an eine deutsche Lieferadresse ausgeliefert werden.
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.
Inhaltsangabe
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
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
Rezensionen
"Entwickler, die sich mit JavaScript beschäftigen, kennen Danny Goodman: Als Autor der ersten Stunde hat er viel zur Verbreitung und zum Verständnis von JavaScript beigetragen. Die Kunst, komplexe Themen verständlich zu vermitteln, beherrscht er auch in seinem neuen Werk, das sich dem iOS 4 SDK widmet. [...] Goodman ermöglicht [...] dem versierten JavaScript-Entwickler einen schmerzfreien Einstieg mit Objective-C, denn eine durchdachte Struktur sorgt für schnelle Erfolge." -- c't 2011, Heft 10
Es gelten unsere Allgemeinen Geschäftsbedingungen: www.buecher.de/agb
Impressum
www.buecher.de ist ein Internetauftritt der buecher.de internetstores GmbH
Geschäftsführung: Monica Sawhney | Roland Kölbl | Günter Hilger
Sitz der Gesellschaft: Batheyer Straße 115 - 117, 58099 Hagen
Postanschrift: Bürgermeister-Wegele-Str. 12, 86167 Augsburg
Amtsgericht Hagen HRB 13257
Steuernummer: 321/5800/1497