Completed totorial from https://developer.apple.com/library/ios/referencelibrary/GettingStarted/RoadMapiOS/iOSTechnologies.html#//apple_ref/doc/uid/TP40011343-CH11-SW1