Some examples of iOS code