added OS X application demo
using textview