Updates chapter 1 end code to Xcode 5 and iOS 7.