Codes from the book iOS Programming The Big Nerd Ranch Guide