Using the Dock connector involved paying Apple a licensing fee. This circumvents that, and it's similar (although more involved) to how Square's card readers work.
There is already an iOS serial cable though, which I would think would be a better option for many projects: