Learning ios through objective c, following some examples in a book