Building iPhone OS Accessories -  Ken Maskrey

Building iPhone OS Accessories (eBook)

Use the iPhone Accessories API to Control and Monitor Devices

(Autor)

eBook Download: PDF
2010 | 1st ed.
328 Seiten
Apress (Verlag)
978-1-4302-2932-2 (ISBN)
Systemvoraussetzungen
56,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

This book provides a serious, in-depth look at Apple's External Accessory framework and the iPhone Accessories API. You'll learn how to create new, integrated solutions that combine iPhone apps with dedicated hardware.

The iPhone OS Accessories API expands the opportunities for innovative iPhone developers, allowing you to control and monitor external devices, whether you've built them yourself or obtained them from a third party.



A bio is not available for this author.
This book provides a serious, in-depth look at Apple's External Accessory framework and the iPhone Accessories API. You'll learn how to create new, integrated solutions that combine iPhone apps with dedicated hardware.The iPhone OS Accessories API expands the opportunities for innovative iPhone developers, allowing you to control and monitor external devices, whether you've built them yourself or obtained them from a third party.

A bio is not available for this author.

Title Page 1
Copyright Page 2
Contents at a Glance 4
Table of Contents 5
About the Author 9
About the Technical Reviewer 10
Preface 11
Part I What is an Accessory? 13
Chapter 1 Accessory Overview 14
Being Different 14
Accessories 15
Uses of Accessories 15
Accessories: A View From Above 17
Credit Card Reader 22
But I’m a Programmer 25
The Software Approach 26
The Pong Game 27
Embedded Systems 28
Building an Accessory 30
Summary 30
Chapter 2 EAAccessory Framework 32
Frameworks 32
Streams 33
Protocols 34
More on Protocols 37
The EA Framework 43
EAAccessory Class Properties 43
EAAccessory Class Constants 49
EAAccessoryManager Class 49
Shared Accessory Manager 49
Accessory Manager Notification 50
Available Accessories from Accessory Manager 51
EASession 52
Streams 54
Summary 56
Chapter 3 EA Framework Design Patterns 58
Object-Oriented Programming 58
The Basics of OOP 60
The UIApplication Class 65
Delegation 68
OOP and Delegation 72
Model-View-Controller 75
Notification 77
EA Pattern 83
Summary 84
Part II Project Walkthrough 87
Chapter 4 The Game Controller 88
The Griffin iTrip 88
iTrip Dissected 91
Game Controller Design 93
The Game Controller’s Functions 94
The Potentiometer for Paddle Movement 94
The Pushbutton to Serve 96
Electrical and Physical Design 97
Test Software 99
Summary 110
Chapter 5 Specifying a Pong Game 112
Keeping It Simple 112
Specification 112
Page One—Drawings 113
Developing Your Requirements 121
Summary 125
Chapter 6 Coding a Pong Game 127
Architecture 127
The Application Life Cycle 127
Pong Game Architecture 134
The Application Delegate 136
The View Controller 136
The Nib 138
Summary 146
Chapter 7 Adding the Game Controller 148
The Game Controller Test Program 148
The Game Controller Object 152
The Game Controller Interface 152
The Game Controller Implementation 153
View Controller Modifications 163
Summary 170
Chapter 8 Improving the Design 171
Performance Concerns 171
Security Concerns 174
The Payment Card Industry 175
Code Changes 180
Step 1 181
Step 2 181
Step 3 181
Step 4 181
Step 5 182
Summary 183
Chapter 9 Apple Developer Programs 184
Mac Developer 184
iPhone Developer 185
Apple Developer Connection 187
Made For iPod/Works With iPhone 188
Running a Business 188
Summary 195
Part III Designing an Accessory 196
Chapter 10 Hardware Design 197
Getting Started 197
Design Process 200
Parts (Processor) Selection 201
Prototyping 207
Circuit Design 209
PCB Design 214
Fabrication 217
Integration and Testing 219
Summary 223
Chapter 11 Firmware 224
I’m a PC 224
Compilers 225
Programming 226
Debugging 230
Your PCB 234
Structure 237
Chip Configuration 241
Summary 242
Chapter 12 Everything Else 243
Tools and Test Equipment 243
Tools 244
Test Equipment 249
Mechanical Design 251
The Alternative to Custom Mechanical Design 254
Packaging 255
Business Processes 257
Summary 259
Appendix 260
PongViewController.h interface listing 260
PongViewController.m implementation listing 262
GameController.h 269
GameController.m 270
pongViewController.h 274
pongViewController.m 276
pongAppDelegate.h 286
pongAppDelegate.m 287
GameController.h 287
GameController.m 288
pongViewController.h 292
pongViewController.m 294
Index 305

Erscheint lt. Verlag 28.12.2010
Zusatzinfo 328 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Betriebssysteme / Server iOS
Informatik Betriebssysteme / Server Macintosh / Mac OS X
Informatik Programmiersprachen / -werkzeuge Mac / Cocoa Programmierung
Informatik Software Entwicklung Mobile- / App-Entwicklung
Mathematik / Informatik Informatik Theorie / Studium
Informatik Weitere Themen Smartphones / Tablets
Schlagworte App • Apple iphone • Control • Framework • iPhone
ISBN-10 1-4302-2932-2 / 1430229322
ISBN-13 978-1-4302-2932-2 / 9781430229322
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 5,0 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Für Einsteiger ohne Vorkenntnisse

von Daniela Eichlseder; Anja Schmid

eBook Download (2023)
BILDNER Verlag
9,99
Unlock the world of iOS development with Swift 5.9, Xcode 15, and iOS …

von Ahmad Sahar

eBook Download (2023)
Packt Publishing (Verlag)
32,39