This example would eventually turn into the RBComposer example, however, this one includes some extra controls that didn't make it to the RBComposer project, so I'm adding it here for reference.
License
This code is released under the creative commons attribution-share alike license, meaning:
Attribution - You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). In this case, simple credit somewhere in your app or documentation will suffice.
Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license. Simply put, if you improve upon it, share! http://creativecommons.org/licenses/by-sa/3.0
Current Version: 1.0
Version History: 1.0 Initial Github Release