Homework of the second class of iOS