Code from iOS lectures in MSU CSCI 494, spring 2013