a demo of iOS programming