Fix on crashes due to Apple Template


I had a few problems with crashes because of the Apple template for the TahDoodle Mac OSX app.

In case it helps anyone else, the Apple template has incomplete implementations of the “dataOfType…” and “readFromData…” methods. Once I implemented the code from the book (with the errata as listed on this board) the app worked fine.