Sample Code of the book Crazy IOS Book