Example code for ios development UI basic programming