O'Reilly logo

Building iPhone OS Accessories: Use the iPhone Accessories API to Control and Monitor Devices by Ken Maskrey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. EAAccessory Framework

iPhone OS 3.0, released in June 2009, included the External Accessory Framework allowing, for the first time, an iPhone application to communicate with a user defined piece of hardware. The first thing you're likely to notice is that Apple uses EAAccessory, which seems to mean "External Accessory Accessory," and thus double booking the Accessory term, but it's just something we have to live with.

Frameworks

When I first started programming in Mac OS X, for a long time the term framework confused me. Even though it was made clear that a framework was basically a library, I couldn't seem to get around the difference in terminology. Why did they call it framework and not just library?

The main thing to remember is that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required