From 576650659be71819cdf02e1f883b3328b31ca065 Mon Sep 17 00:00:00 2001 From: Dan Ginsburg Date: Tue, 19 Nov 2013 18:27:00 -0500 Subject: [PATCH] Add iOS MRTs project. --- .../iOS/MRTs/MRTs.xcodeproj/project.pbxproj | 534 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../MRTs/MRTs/Base.lproj/Main_iPad.storyboard | 26 + .../MRTs/Base.lproj/Main_iPhone.storyboard | 26 + .../AppIcon.appiconset/Contents.json | 53 ++ .../LaunchImage.launchimage/Contents.json | 51 ++ Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Info.plist | 51 ++ Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Prefix.pch | 16 + .../iOS/MRTs/MRTs/en.lproj/InfoPlist.strings | 2 + .../iOS/MRTs/MRTsTests/MRTsTests-Info.plist | 22 + .../MRTs/iOS/MRTs/MRTsTests/MRTsTests.m | 34 ++ .../MRTs/MRTsTests/en.lproj/InfoPlist.strings | 2 + 12 files changed, 824 insertions(+) create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.pbxproj create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPad.storyboard create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPhone.storyboard create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/LaunchImage.launchimage/Contents.json create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Info.plist create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Prefix.pch create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTs/en.lproj/InfoPlist.strings create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests-Info.plist create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests.m create mode 100644 Chapter_11/MRTs/iOS/MRTs/MRTsTests/en.lproj/InfoPlist.strings diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.pbxproj b/Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c1b1da7 --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.pbxproj @@ -0,0 +1,534 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 76FCCF82183C29A800CB94BE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCF81183C29A800CB94BE /* Foundation.framework */; }; + 76FCCF84183C29A800CB94BE /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCF83183C29A800CB94BE /* CoreGraphics.framework */; }; + 76FCCF86183C29A800CB94BE /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCF85183C29A800CB94BE /* UIKit.framework */; }; + 76FCCF88183C29A800CB94BE /* GLKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCF87183C29A800CB94BE /* GLKit.framework */; }; + 76FCCF8A183C29A800CB94BE /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCF89183C29A800CB94BE /* OpenGLES.framework */; }; + 76FCCF90183C29A800CB94BE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 76FCCF8E183C29A800CB94BE /* InfoPlist.strings */; }; + 76FCCF99183C29A800CB94BE /* Main_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 76FCCF97183C29A800CB94BE /* Main_iPhone.storyboard */; }; + 76FCCF9C183C29A800CB94BE /* Main_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 76FCCF9A183C29A800CB94BE /* Main_iPad.storyboard */; }; + 76FCCFA5183C29A800CB94BE /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 76FCCFA4183C29A800CB94BE /* Images.xcassets */; }; + 76FCCFAC183C29A800CB94BE /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCFAB183C29A800CB94BE /* XCTest.framework */; }; + 76FCCFAD183C29A800CB94BE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCF81183C29A800CB94BE /* Foundation.framework */; }; + 76FCCFAE183C29A800CB94BE /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76FCCF85183C29A800CB94BE /* UIKit.framework */; }; + 76FCCFB6183C29A800CB94BE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 76FCCFB4183C29A800CB94BE /* InfoPlist.strings */; }; + 76FCCFB8183C29A800CB94BE /* MRTsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFB7183C29A800CB94BE /* MRTsTests.m */; }; + 76FCCFCD183C29E600CB94BE /* esShader.c in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFC1183C29E600CB94BE /* esShader.c */; }; + 76FCCFCE183C29E600CB94BE /* esShapes.c in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFC2183C29E600CB94BE /* esShapes.c */; }; + 76FCCFCF183C29E600CB94BE /* esTransform.c in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFC3183C29E600CB94BE /* esTransform.c */; }; + 76FCCFD0183C29E600CB94BE /* esUtil.c in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFC4183C29E600CB94BE /* esUtil.c */; }; + 76FCCFD1183C29E600CB94BE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFC7183C29E600CB94BE /* AppDelegate.m */; }; + 76FCCFD2183C29E600CB94BE /* FileWrapper.m in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFC9183C29E600CB94BE /* FileWrapper.m */; }; + 76FCCFD3183C29E600CB94BE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFCA183C29E600CB94BE /* main.m */; }; + 76FCCFD4183C29E600CB94BE /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFCC183C29E600CB94BE /* ViewController.m */; }; + 76FCCFD6183C2A3100CB94BE /* MRTs.c in Sources */ = {isa = PBXBuildFile; fileRef = 76FCCFD5183C2A3100CB94BE /* MRTs.c */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 76FCCFAF183C29A800CB94BE /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 76FCCF76183C29A800CB94BE /* Project object */; + proxyType = 1; + remoteGlobalIDString = 76FCCF7D183C29A800CB94BE; + remoteInfo = MRTs; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 76FCCF7E183C29A800CB94BE /* MRTs.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MRTs.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 76FCCF81183C29A800CB94BE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 76FCCF83183C29A800CB94BE /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 76FCCF85183C29A800CB94BE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 76FCCF87183C29A800CB94BE /* GLKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLKit.framework; path = System/Library/Frameworks/GLKit.framework; sourceTree = SDKROOT; }; + 76FCCF89183C29A800CB94BE /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; + 76FCCF8D183C29A800CB94BE /* MRTs-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MRTs-Info.plist"; sourceTree = ""; }; + 76FCCF8F183C29A800CB94BE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 76FCCF93183C29A800CB94BE /* MRTs-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MRTs-Prefix.pch"; sourceTree = ""; }; + 76FCCF98183C29A800CB94BE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPhone.storyboard; sourceTree = ""; }; + 76FCCF9B183C29A800CB94BE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPad.storyboard; sourceTree = ""; }; + 76FCCFA4183C29A800CB94BE /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 76FCCFAA183C29A800CB94BE /* MRTsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MRTsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 76FCCFAB183C29A800CB94BE /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 76FCCFB3183C29A800CB94BE /* MRTsTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MRTsTests-Info.plist"; sourceTree = ""; }; + 76FCCFB5183C29A800CB94BE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 76FCCFB7183C29A800CB94BE /* MRTsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MRTsTests.m; sourceTree = ""; }; + 76FCCFC1183C29E600CB94BE /* esShader.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = esShader.c; path = ../../../../../Common/Source/esShader.c; sourceTree = ""; }; + 76FCCFC2183C29E600CB94BE /* esShapes.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = esShapes.c; path = ../../../../../Common/Source/esShapes.c; sourceTree = ""; }; + 76FCCFC3183C29E600CB94BE /* esTransform.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = esTransform.c; path = ../../../../../Common/Source/esTransform.c; sourceTree = ""; }; + 76FCCFC4183C29E600CB94BE /* esUtil.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = esUtil.c; path = ../../../../../Common/Source/esUtil.c; sourceTree = ""; }; + 76FCCFC6183C29E600CB94BE /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 76FCCFC7183C29E600CB94BE /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 76FCCFC8183C29E600CB94BE /* FileWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FileWrapper.h; sourceTree = ""; }; + 76FCCFC9183C29E600CB94BE /* FileWrapper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FileWrapper.m; sourceTree = ""; }; + 76FCCFCA183C29E600CB94BE /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 76FCCFCB183C29E600CB94BE /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 76FCCFCC183C29E600CB94BE /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 76FCCFD5183C2A3100CB94BE /* MRTs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = MRTs.c; path = ../../../MRTs.c; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 76FCCF7B183C29A800CB94BE /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 76FCCF8A183C29A800CB94BE /* OpenGLES.framework in Frameworks */, + 76FCCF84183C29A800CB94BE /* CoreGraphics.framework in Frameworks */, + 76FCCF86183C29A800CB94BE /* UIKit.framework in Frameworks */, + 76FCCF88183C29A800CB94BE /* GLKit.framework in Frameworks */, + 76FCCF82183C29A800CB94BE /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 76FCCFA7183C29A800CB94BE /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 76FCCFAC183C29A800CB94BE /* XCTest.framework in Frameworks */, + 76FCCFAE183C29A800CB94BE /* UIKit.framework in Frameworks */, + 76FCCFAD183C29A800CB94BE /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 76FCCF75183C29A800CB94BE = { + isa = PBXGroup; + children = ( + 76FCCF8B183C29A800CB94BE /* MRTs */, + 76FCCFB1183C29A800CB94BE /* MRTsTests */, + 76FCCF80183C29A800CB94BE /* Frameworks */, + 76FCCF7F183C29A800CB94BE /* Products */, + ); + sourceTree = ""; + }; + 76FCCF7F183C29A800CB94BE /* Products */ = { + isa = PBXGroup; + children = ( + 76FCCF7E183C29A800CB94BE /* MRTs.app */, + 76FCCFAA183C29A800CB94BE /* MRTsTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 76FCCF80183C29A800CB94BE /* Frameworks */ = { + isa = PBXGroup; + children = ( + 76FCCF81183C29A800CB94BE /* Foundation.framework */, + 76FCCF83183C29A800CB94BE /* CoreGraphics.framework */, + 76FCCF85183C29A800CB94BE /* UIKit.framework */, + 76FCCF87183C29A800CB94BE /* GLKit.framework */, + 76FCCF89183C29A800CB94BE /* OpenGLES.framework */, + 76FCCFAB183C29A800CB94BE /* XCTest.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 76FCCF8B183C29A800CB94BE /* MRTs */ = { + isa = PBXGroup; + children = ( + 76FCCFD5183C2A3100CB94BE /* MRTs.c */, + 76FCCFC1183C29E600CB94BE /* esShader.c */, + 76FCCFC2183C29E600CB94BE /* esShapes.c */, + 76FCCFC3183C29E600CB94BE /* esTransform.c */, + 76FCCFC4183C29E600CB94BE /* esUtil.c */, + 76FCCFC5183C29E600CB94BE /* iOS */, + 76FCCF97183C29A800CB94BE /* Main_iPhone.storyboard */, + 76FCCF9A183C29A800CB94BE /* Main_iPad.storyboard */, + 76FCCFA4183C29A800CB94BE /* Images.xcassets */, + 76FCCF8C183C29A800CB94BE /* Supporting Files */, + ); + path = MRTs; + sourceTree = ""; + }; + 76FCCF8C183C29A800CB94BE /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 76FCCF8D183C29A800CB94BE /* MRTs-Info.plist */, + 76FCCF8E183C29A800CB94BE /* InfoPlist.strings */, + 76FCCF93183C29A800CB94BE /* MRTs-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 76FCCFB1183C29A800CB94BE /* MRTsTests */ = { + isa = PBXGroup; + children = ( + 76FCCFB7183C29A800CB94BE /* MRTsTests.m */, + 76FCCFB2183C29A800CB94BE /* Supporting Files */, + ); + path = MRTsTests; + sourceTree = ""; + }; + 76FCCFB2183C29A800CB94BE /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 76FCCFB3183C29A800CB94BE /* MRTsTests-Info.plist */, + 76FCCFB4183C29A800CB94BE /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 76FCCFC5183C29E600CB94BE /* iOS */ = { + isa = PBXGroup; + children = ( + 76FCCFC6183C29E600CB94BE /* AppDelegate.h */, + 76FCCFC7183C29E600CB94BE /* AppDelegate.m */, + 76FCCFC8183C29E600CB94BE /* FileWrapper.h */, + 76FCCFC9183C29E600CB94BE /* FileWrapper.m */, + 76FCCFCA183C29E600CB94BE /* main.m */, + 76FCCFCB183C29E600CB94BE /* ViewController.h */, + 76FCCFCC183C29E600CB94BE /* ViewController.m */, + ); + name = iOS; + path = ../../../../../Common/Source/iOS; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 76FCCF7D183C29A800CB94BE /* MRTs */ = { + isa = PBXNativeTarget; + buildConfigurationList = 76FCCFBB183C29A800CB94BE /* Build configuration list for PBXNativeTarget "MRTs" */; + buildPhases = ( + 76FCCF7A183C29A800CB94BE /* Sources */, + 76FCCF7B183C29A800CB94BE /* Frameworks */, + 76FCCF7C183C29A800CB94BE /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MRTs; + productName = MRTs; + productReference = 76FCCF7E183C29A800CB94BE /* MRTs.app */; + productType = "com.apple.product-type.application"; + }; + 76FCCFA9183C29A800CB94BE /* MRTsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 76FCCFBE183C29A800CB94BE /* Build configuration list for PBXNativeTarget "MRTsTests" */; + buildPhases = ( + 76FCCFA6183C29A800CB94BE /* Sources */, + 76FCCFA7183C29A800CB94BE /* Frameworks */, + 76FCCFA8183C29A800CB94BE /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 76FCCFB0183C29A800CB94BE /* PBXTargetDependency */, + ); + name = MRTsTests; + productName = MRTsTests; + productReference = 76FCCFAA183C29A800CB94BE /* MRTsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 76FCCF76183C29A800CB94BE /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + ORGANIZATIONNAME = "Daniel Ginsburg"; + TargetAttributes = { + 76FCCFA9183C29A800CB94BE = { + TestTargetID = 76FCCF7D183C29A800CB94BE; + }; + }; + }; + buildConfigurationList = 76FCCF79183C29A800CB94BE /* Build configuration list for PBXProject "MRTs" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 76FCCF75183C29A800CB94BE; + productRefGroup = 76FCCF7F183C29A800CB94BE /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 76FCCF7D183C29A800CB94BE /* MRTs */, + 76FCCFA9183C29A800CB94BE /* MRTsTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 76FCCF7C183C29A800CB94BE /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 76FCCF9C183C29A800CB94BE /* Main_iPad.storyboard in Resources */, + 76FCCF99183C29A800CB94BE /* Main_iPhone.storyboard in Resources */, + 76FCCFA5183C29A800CB94BE /* Images.xcassets in Resources */, + 76FCCF90183C29A800CB94BE /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 76FCCFA8183C29A800CB94BE /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 76FCCFB6183C29A800CB94BE /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 76FCCF7A183C29A800CB94BE /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 76FCCFCD183C29E600CB94BE /* esShader.c in Sources */, + 76FCCFCE183C29E600CB94BE /* esShapes.c in Sources */, + 76FCCFD4183C29E600CB94BE /* ViewController.m in Sources */, + 76FCCFCF183C29E600CB94BE /* esTransform.c in Sources */, + 76FCCFD6183C2A3100CB94BE /* MRTs.c in Sources */, + 76FCCFD2183C29E600CB94BE /* FileWrapper.m in Sources */, + 76FCCFD0183C29E600CB94BE /* esUtil.c in Sources */, + 76FCCFD3183C29E600CB94BE /* main.m in Sources */, + 76FCCFD1183C29E600CB94BE /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 76FCCFA6183C29A800CB94BE /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 76FCCFB8183C29A800CB94BE /* MRTsTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 76FCCFB0183C29A800CB94BE /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 76FCCF7D183C29A800CB94BE /* MRTs */; + targetProxy = 76FCCFAF183C29A800CB94BE /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 76FCCF8E183C29A800CB94BE /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 76FCCF8F183C29A800CB94BE /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 76FCCF97183C29A800CB94BE /* Main_iPhone.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 76FCCF98183C29A800CB94BE /* Base */, + ); + name = Main_iPhone.storyboard; + sourceTree = ""; + }; + 76FCCF9A183C29A800CB94BE /* Main_iPad.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 76FCCF9B183C29A800CB94BE /* Base */, + ); + name = Main_iPad.storyboard; + sourceTree = ""; + }; + 76FCCFB4183C29A800CB94BE /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 76FCCFB5183C29A800CB94BE /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 76FCCFB9183C29A800CB94BE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 76FCCFBA183C29A800CB94BE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 76FCCFBC183C29A800CB94BE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MRTs/MRTs-Prefix.pch"; + INFOPLIST_FILE = "MRTs/MRTs-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + USER_HEADER_SEARCH_PATHS = ../../../../Common/Include; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 76FCCFBD183C29A800CB94BE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MRTs/MRTs-Prefix.pch"; + INFOPLIST_FILE = "MRTs/MRTs-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + USER_HEADER_SEARCH_PATHS = ../../../../Common/Include; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 76FCCFBF183C29A800CB94BE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MRTs.app/MRTs"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MRTs/MRTs-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = "MRTsTests/MRTsTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Debug; + }; + 76FCCFC0183C29A800CB94BE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MRTs.app/MRTs"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MRTs/MRTs-Prefix.pch"; + INFOPLIST_FILE = "MRTsTests/MRTsTests-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 76FCCF79183C29A800CB94BE /* Build configuration list for PBXProject "MRTs" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 76FCCFB9183C29A800CB94BE /* Debug */, + 76FCCFBA183C29A800CB94BE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 76FCCFBB183C29A800CB94BE /* Build configuration list for PBXNativeTarget "MRTs" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 76FCCFBC183C29A800CB94BE /* Debug */, + 76FCCFBD183C29A800CB94BE /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 76FCCFBE183C29A800CB94BE /* Build configuration list for PBXNativeTarget "MRTsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 76FCCFBF183C29A800CB94BE /* Debug */, + 76FCCFC0183C29A800CB94BE /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 76FCCF76183C29A800CB94BE /* Project object */; +} diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..fdb1dab --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPad.storyboard b/Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPad.storyboard new file mode 100644 index 0000000..be77021 --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPad.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPhone.storyboard b/Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPhone.storyboard new file mode 100644 index 0000000..5c0d8e3 --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs/Base.lproj/Main_iPhone.storyboard @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/AppIcon.appiconset/Contents.json b/Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..91bf9c1 --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,53 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "60x60", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "29x29", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "40x40", + "scale" : "2x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "1x" + }, + { + "idiom" : "ipad", + "size" : "76x76", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/LaunchImage.launchimage/Contents.json b/Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..6f870a4 --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,51 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "iphone", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "subtype" : "retina4", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "1x" + }, + { + "orientation" : "portrait", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "landscape", + "idiom" : "ipad", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Info.plist b/Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Info.plist new file mode 100644 index 0000000..c84668d --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Info.plist @@ -0,0 +1,51 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ES3Book.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + Main_iPhone + UIMainStoryboardFile~ipad + Main_iPad + UIRequiredDeviceCapabilities + + armv7 + + UIStatusBarHidden + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Prefix.pch b/Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Prefix.pch new file mode 100644 index 0000000..5779b8f --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs/MRTs-Prefix.pch @@ -0,0 +1,16 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#import + +#ifndef __IPHONE_5_0 +#warning "This project uses features only available in iOS SDK 5.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTs/en.lproj/InfoPlist.strings b/Chapter_11/MRTs/iOS/MRTs/MRTs/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTs/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests-Info.plist b/Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests-Info.plist new file mode 100644 index 0000000..8299b13 --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ES3Book.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests.m b/Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests.m new file mode 100644 index 0000000..f74fcf9 --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTsTests/MRTsTests.m @@ -0,0 +1,34 @@ +// +// MRTsTests.m +// MRTsTests +// +// Created by Daniel Ginsburg on 11/19/13. +// Copyright (c) 2013 Daniel Ginsburg. All rights reserved. +// + +#import + +@interface MRTsTests : XCTestCase + +@end + +@implementation MRTsTests + +- (void)setUp +{ + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown +{ + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample +{ + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); +} + +@end diff --git a/Chapter_11/MRTs/iOS/MRTs/MRTsTests/en.lproj/InfoPlist.strings b/Chapter_11/MRTs/iOS/MRTs/MRTsTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/Chapter_11/MRTs/iOS/MRTs/MRTsTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ +