Sample code I am collecting while learning iOS