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

Get Building iPhone OS Accessories: Use the iPhone Accessories API to Control and Monitor Devices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.