Annotation View: Yay or nay?

iOS Simulator Screen shot Apr 16, 2013 4.03.59 PM


In order to build figures for the iOS Drawing book, I’ve found myself developing a class that I call an AnnotationView. It’s a non-interactive view that you stretch over your main view controller, and you can add point markers, arrows, text labels, lines, and Bezier paths to it.

So now, I’m wondering this: is the class that I developed for creating illustrations in and of itself worth some discussion in the book? I find it really handy, especially for debugging geometric functions like point to line, segment intersection, and so forth. But would others?

I keep swaying between yes and no. It’s a pretty didactic class — I pre-determined the arrow lengths, the text fonts, etc. So there’s more paperwork in the class than any concepts. On the other hand, it’s far more useful than I first thought it would be.

What do you think?



  • I’d vote Yay on this – more interesting examples are always, always appreciated.

  • Yay!

  • I’d be interested to see it. “I find it really handy” sufficed for me to answer “yay”, and the fact that it was used in the making of the book itself only enhances my interest.

  • If it is a handy debugging tool, then it isn’t application specific, so would be useful in the book, I think.

Leave a Reply