├── Icon@2x.png ├── mozart@2x.png ├── .gitignore ├── WCPE_Prefix.pch ├── main.m ├── Classes ├── WCPEViewController.h ├── WCPEAppDelegate.h ├── WCPEViewController.m └── WCPEAppDelegate.m ├── WCPE-Info.plist ├── WCPE.xcodeproj └── project.pbxproj ├── WCPEViewController.xib └── MainWindow.xib /Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhall/WCPE/master/Icon@2x.png -------------------------------------------------------------------------------- /mozart@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhall/WCPE/master/mozart@2x.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.swp 3 | *~.nib 4 | 5 | build 6 | 7 | *.pbxuser 8 | *.perspective 9 | *.perspectivev3 10 | 11 | *.mode1v3 12 | *.mode2v3 13 | 14 | -------------------------------------------------------------------------------- /WCPE_Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'WCPE' target in the 'WCPE' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #import 8 | #endif 9 | -------------------------------------------------------------------------------- /main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // WCPE 4 | // 5 | // Created by Tyler Hall on 1/14/11. 6 | // Copyright 2011 Click On Tyler, LLC. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char *argv[]) { 12 | 13 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 14 | int retVal = UIApplicationMain(argc, argv, nil, nil); 15 | [pool release]; 16 | return retVal; 17 | } 18 | -------------------------------------------------------------------------------- /Classes/WCPEViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // WCPEViewController.h 3 | // WCPE 4 | // 5 | // Created by Tyler Hall on 1/14/11. 6 | // Copyright 2011 Click On Tyler, LLC. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | #import 13 | 14 | @interface WCPEViewController : UIViewController { 15 | MPMoviePlayerController *player; 16 | } 17 | 18 | @property (nonatomic, retain) MPMoviePlayerController *player; 19 | 20 | @end 21 | 22 | -------------------------------------------------------------------------------- /Classes/WCPEAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // WCPEAppDelegate.h 3 | // WCPE 4 | // 5 | // Created by Tyler Hall on 1/14/11. 6 | // Copyright 2011 Click On Tyler, LLC. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class WCPEViewController; 12 | 13 | @interface WCPEAppDelegate : NSObject { 14 | UIWindow *window; 15 | WCPEViewController *viewController; 16 | } 17 | 18 | @property (nonatomic, retain) IBOutlet UIWindow *window; 19 | @property (nonatomic, retain) IBOutlet WCPEViewController *viewController; 20 | 21 | @end 22 | 23 | -------------------------------------------------------------------------------- /WCPE-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UILaunchImageFile~iphone 6 | mozart.png 7 | UIBackgroundModes 8 | 9 | audio 10 | 11 | CFBundleDevelopmentRegion 12 | English 13 | CFBundleDisplayName 14 | ${PRODUCT_NAME} 15 | CFBundleExecutable 16 | ${EXECUTABLE_NAME} 17 | CFBundleIconFile 18 | Icon 19 | CFBundleIdentifier 20 | com.yourcompany.${PRODUCT_NAME:rfc1034identifier} 21 | CFBundleInfoDictionaryVersion 22 | 6.0 23 | CFBundleName 24 | ${PRODUCT_NAME} 25 | CFBundlePackageType 26 | APPL 27 | CFBundleSignature 28 | ???? 29 | CFBundleVersion 30 | 1.0 31 | LSRequiresIPhoneOS 32 | 33 | NSMainNibFile 34 | MainWindow 35 | 36 | 37 | -------------------------------------------------------------------------------- /Classes/WCPEViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // WCPEViewController.m 3 | // WCPE 4 | // 5 | // Created by Tyler Hall on 1/14/11. 6 | // Copyright 2011 Click On Tyler, LLC. All rights reserved. 7 | // 8 | 9 | #import "WCPEViewController.h" 10 | 11 | @implementation WCPEViewController 12 | 13 | @synthesize player; 14 | 15 | - (void)viewDidLoad { 16 | [super viewDidLoad]; 17 | 18 | [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; 19 | 20 | AVAudioSession *audioSession = [AVAudioSession sharedInstance]; 21 | 22 | NSError *setCategoryError = nil; 23 | [audioSession setCategory:AVAudioSessionCategoryPlayback error:&setCategoryError]; 24 | if (setCategoryError) { /* handle the error condition */ } 25 | 26 | NSError *activationError = nil; 27 | [audioSession setActive:YES error:&activationError]; 28 | if (activationError) { /* handle the error condition */ } 29 | 30 | NSURL *myURL = [NSURL URLWithString:@"http://www.ibiblio.org/wcpe/wcpe.pls"]; 31 | self.player = [[MPMoviePlayerController alloc] initWithContentURL:myURL]; 32 | [self.player.view setFrame:[self.view bounds]]; 33 | [self.view addSubview:self.player.view]; 34 | [self.player play]; 35 | } 36 | 37 | - (void)dealloc { 38 | [player release]; 39 | [super dealloc]; 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Classes/WCPEAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // WCPEAppDelegate.m 3 | // WCPE 4 | // 5 | // Created by Tyler Hall on 1/14/11. 6 | // Copyright 2011 Click On Tyler, LLC. All rights reserved. 7 | // 8 | 9 | #import "WCPEAppDelegate.h" 10 | #import "WCPEViewController.h" 11 | 12 | @implementation WCPEAppDelegate 13 | 14 | @synthesize window; 15 | @synthesize viewController; 16 | 17 | #pragma mark - 18 | #pragma mark Application lifecycle 19 | 20 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 21 | 22 | // Override point for customization after application launch. 23 | 24 | // Add the view controller's view to the window and display. 25 | [self.window addSubview:viewController.view]; 26 | [self.window makeKeyAndVisible]; 27 | 28 | return YES; 29 | } 30 | 31 | 32 | - (void)applicationWillResignActive:(UIApplication *)application { 33 | /* 34 | Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 35 | Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 36 | */ 37 | } 38 | 39 | 40 | - (void)applicationDidEnterBackground:(UIApplication *)application { 41 | /* 42 | Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 43 | If your application supports background execution, called instead of applicationWillTerminate: when the user quits. 44 | */ 45 | NSLog(@"background"); 46 | } 47 | 48 | 49 | - (void)applicationWillEnterForeground:(UIApplication *)application { 50 | /* 51 | Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background. 52 | */ 53 | } 54 | 55 | 56 | - (void)applicationDidBecomeActive:(UIApplication *)application { 57 | /* 58 | Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 59 | */ 60 | } 61 | 62 | 63 | - (void)applicationWillTerminate:(UIApplication *)application { 64 | /* 65 | Called when the application is about to terminate. 66 | See also applicationDidEnterBackground:. 67 | */ 68 | } 69 | 70 | 71 | #pragma mark - 72 | #pragma mark Memory management 73 | 74 | - (void)applicationDidReceiveMemoryWarning:(UIApplication *)application { 75 | /* 76 | Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later. 77 | */ 78 | } 79 | 80 | 81 | - (void)dealloc { 82 | [viewController release]; 83 | [window release]; 84 | [super dealloc]; 85 | } 86 | 87 | 88 | @end 89 | -------------------------------------------------------------------------------- /WCPE.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 45; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1D3623260D0F684500981E51 /* WCPEAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D3623250D0F684500981E51 /* WCPEAppDelegate.m */; }; 11 | 1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; }; 12 | 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; 13 | 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; 14 | 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; }; 15 | 2899E5220DE3E06400AC0155 /* WCPEViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2899E5210DE3E06400AC0155 /* WCPEViewController.xib */; }; 16 | 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; }; 17 | 28D7ACF80DDB3853001CB0EB /* WCPEViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* WCPEViewController.m */; }; 18 | C67FF84712E01E2200CBF649 /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C67FF84612E01E2200CBF649 /* MediaPlayer.framework */; }; 19 | C67FF84E12E01FEA00CBF649 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C67FF84D12E01FEA00CBF649 /* AudioToolbox.framework */; }; 20 | C67FF85012E01FEA00CBF649 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C67FF84F12E01FEA00CBF649 /* AVFoundation.framework */; }; 21 | C67FF8DF12E02A6E00CBF649 /* Icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C67FF8DE12E02A6E00CBF649 /* Icon@2x.png */; }; 22 | C67FF8E512E02B4600CBF649 /* mozart@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = C67FF8E412E02B4600CBF649 /* mozart@2x.png */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 27 | 1D3623240D0F684500981E51 /* WCPEAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WCPEAppDelegate.h; sourceTree = ""; }; 28 | 1D3623250D0F684500981E51 /* WCPEAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WCPEAppDelegate.m; sourceTree = ""; }; 29 | 1D6058910D05DD3D006BFB54 /* WCPE.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = WCPE.app; sourceTree = BUILT_PRODUCTS_DIR; }; 30 | 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 31 | 288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 32 | 2899E5210DE3E06400AC0155 /* WCPEViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WCPEViewController.xib; sourceTree = ""; }; 33 | 28AD733E0D9D9553002E5188 /* MainWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow.xib; sourceTree = ""; }; 34 | 28D7ACF60DDB3853001CB0EB /* WCPEViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WCPEViewController.h; sourceTree = ""; }; 35 | 28D7ACF70DDB3853001CB0EB /* WCPEViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WCPEViewController.m; sourceTree = ""; }; 36 | 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 37 | 32CA4F630368D1EE00C91783 /* WCPE_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WCPE_Prefix.pch; sourceTree = ""; }; 38 | 8D1107310486CEB800E47090 /* WCPE-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "WCPE-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; 39 | C67FF84612E01E2200CBF649 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; }; 40 | C67FF84D12E01FEA00CBF649 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 41 | C67FF84F12E01FEA00CBF649 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 42 | C67FF8DE12E02A6E00CBF649 /* Icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon@2x.png"; sourceTree = ""; }; 43 | C67FF8E412E02B4600CBF649 /* mozart@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "mozart@2x.png"; sourceTree = ""; }; 44 | /* End PBXFileReference section */ 45 | 46 | /* Begin PBXFrameworksBuildPhase section */ 47 | 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { 48 | isa = PBXFrameworksBuildPhase; 49 | buildActionMask = 2147483647; 50 | files = ( 51 | 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, 52 | 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, 53 | 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */, 54 | C67FF84712E01E2200CBF649 /* MediaPlayer.framework in Frameworks */, 55 | C67FF84E12E01FEA00CBF649 /* AudioToolbox.framework in Frameworks */, 56 | C67FF85012E01FEA00CBF649 /* AVFoundation.framework in Frameworks */, 57 | ); 58 | runOnlyForDeploymentPostprocessing = 0; 59 | }; 60 | /* End PBXFrameworksBuildPhase section */ 61 | 62 | /* Begin PBXGroup section */ 63 | 080E96DDFE201D6D7F000001 /* Classes */ = { 64 | isa = PBXGroup; 65 | children = ( 66 | 1D3623240D0F684500981E51 /* WCPEAppDelegate.h */, 67 | 1D3623250D0F684500981E51 /* WCPEAppDelegate.m */, 68 | 28D7ACF60DDB3853001CB0EB /* WCPEViewController.h */, 69 | 28D7ACF70DDB3853001CB0EB /* WCPEViewController.m */, 70 | ); 71 | path = Classes; 72 | sourceTree = ""; 73 | }; 74 | 19C28FACFE9D520D11CA2CBB /* Products */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | 1D6058910D05DD3D006BFB54 /* WCPE.app */, 78 | ); 79 | name = Products; 80 | sourceTree = ""; 81 | }; 82 | 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 080E96DDFE201D6D7F000001 /* Classes */, 86 | 29B97315FDCFA39411CA2CEA /* Other Sources */, 87 | 29B97317FDCFA39411CA2CEA /* Resources */, 88 | 29B97323FDCFA39411CA2CEA /* Frameworks */, 89 | 19C28FACFE9D520D11CA2CBB /* Products */, 90 | ); 91 | name = CustomTemplate; 92 | sourceTree = ""; 93 | }; 94 | 29B97315FDCFA39411CA2CEA /* Other Sources */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 32CA4F630368D1EE00C91783 /* WCPE_Prefix.pch */, 98 | 29B97316FDCFA39411CA2CEA /* main.m */, 99 | ); 100 | name = "Other Sources"; 101 | sourceTree = ""; 102 | }; 103 | 29B97317FDCFA39411CA2CEA /* Resources */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | C67FF8E412E02B4600CBF649 /* mozart@2x.png */, 107 | C67FF8DE12E02A6E00CBF649 /* Icon@2x.png */, 108 | 2899E5210DE3E06400AC0155 /* WCPEViewController.xib */, 109 | 28AD733E0D9D9553002E5188 /* MainWindow.xib */, 110 | 8D1107310486CEB800E47090 /* WCPE-Info.plist */, 111 | ); 112 | name = Resources; 113 | sourceTree = ""; 114 | }; 115 | 29B97323FDCFA39411CA2CEA /* Frameworks */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, 119 | 1D30AB110D05D00D00671497 /* Foundation.framework */, 120 | 288765A40DF7441C002DB57D /* CoreGraphics.framework */, 121 | C67FF84612E01E2200CBF649 /* MediaPlayer.framework */, 122 | C67FF84D12E01FEA00CBF649 /* AudioToolbox.framework */, 123 | C67FF84F12E01FEA00CBF649 /* AVFoundation.framework */, 124 | ); 125 | name = Frameworks; 126 | sourceTree = ""; 127 | }; 128 | /* End PBXGroup section */ 129 | 130 | /* Begin PBXNativeTarget section */ 131 | 1D6058900D05DD3D006BFB54 /* WCPE */ = { 132 | isa = PBXNativeTarget; 133 | buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "WCPE" */; 134 | buildPhases = ( 135 | 1D60588D0D05DD3D006BFB54 /* Resources */, 136 | 1D60588E0D05DD3D006BFB54 /* Sources */, 137 | 1D60588F0D05DD3D006BFB54 /* Frameworks */, 138 | ); 139 | buildRules = ( 140 | ); 141 | dependencies = ( 142 | ); 143 | name = WCPE; 144 | productName = WCPE; 145 | productReference = 1D6058910D05DD3D006BFB54 /* WCPE.app */; 146 | productType = "com.apple.product-type.application"; 147 | }; 148 | /* End PBXNativeTarget section */ 149 | 150 | /* Begin PBXProject section */ 151 | 29B97313FDCFA39411CA2CEA /* Project object */ = { 152 | isa = PBXProject; 153 | buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "WCPE" */; 154 | compatibilityVersion = "Xcode 3.1"; 155 | developmentRegion = English; 156 | hasScannedForEncodings = 1; 157 | knownRegions = ( 158 | English, 159 | Japanese, 160 | French, 161 | German, 162 | ); 163 | mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; 164 | projectDirPath = ""; 165 | projectRoot = ""; 166 | targets = ( 167 | 1D6058900D05DD3D006BFB54 /* WCPE */, 168 | ); 169 | }; 170 | /* End PBXProject section */ 171 | 172 | /* Begin PBXResourcesBuildPhase section */ 173 | 1D60588D0D05DD3D006BFB54 /* Resources */ = { 174 | isa = PBXResourcesBuildPhase; 175 | buildActionMask = 2147483647; 176 | files = ( 177 | 28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */, 178 | 2899E5220DE3E06400AC0155 /* WCPEViewController.xib in Resources */, 179 | C67FF8DF12E02A6E00CBF649 /* Icon@2x.png in Resources */, 180 | C67FF8E512E02B4600CBF649 /* mozart@2x.png in Resources */, 181 | ); 182 | runOnlyForDeploymentPostprocessing = 0; 183 | }; 184 | /* End PBXResourcesBuildPhase section */ 185 | 186 | /* Begin PBXSourcesBuildPhase section */ 187 | 1D60588E0D05DD3D006BFB54 /* Sources */ = { 188 | isa = PBXSourcesBuildPhase; 189 | buildActionMask = 2147483647; 190 | files = ( 191 | 1D60589B0D05DD56006BFB54 /* main.m in Sources */, 192 | 1D3623260D0F684500981E51 /* WCPEAppDelegate.m in Sources */, 193 | 28D7ACF80DDB3853001CB0EB /* WCPEViewController.m in Sources */, 194 | ); 195 | runOnlyForDeploymentPostprocessing = 0; 196 | }; 197 | /* End PBXSourcesBuildPhase section */ 198 | 199 | /* Begin XCBuildConfiguration section */ 200 | 1D6058940D05DD3E006BFB54 /* Debug */ = { 201 | isa = XCBuildConfiguration; 202 | buildSettings = { 203 | ALWAYS_SEARCH_USER_PATHS = NO; 204 | COPY_PHASE_STRIP = NO; 205 | GCC_DYNAMIC_NO_PIC = NO; 206 | GCC_OPTIMIZATION_LEVEL = 0; 207 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 208 | GCC_PREFIX_HEADER = WCPE_Prefix.pch; 209 | INFOPLIST_FILE = "WCPE-Info.plist"; 210 | PRODUCT_NAME = WCPE; 211 | }; 212 | name = Debug; 213 | }; 214 | 1D6058950D05DD3E006BFB54 /* Release */ = { 215 | isa = XCBuildConfiguration; 216 | buildSettings = { 217 | ALWAYS_SEARCH_USER_PATHS = NO; 218 | COPY_PHASE_STRIP = YES; 219 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 220 | GCC_PREFIX_HEADER = WCPE_Prefix.pch; 221 | INFOPLIST_FILE = "WCPE-Info.plist"; 222 | PRODUCT_NAME = WCPE; 223 | VALIDATE_PRODUCT = YES; 224 | }; 225 | name = Release; 226 | }; 227 | C01FCF4F08A954540054247B /* Debug */ = { 228 | isa = XCBuildConfiguration; 229 | buildSettings = { 230 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 231 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Tyler Hall (V47HZE9646)"; 232 | GCC_C_LANGUAGE_STANDARD = c99; 233 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 234 | GCC_WARN_UNUSED_VARIABLE = YES; 235 | PREBINDING = NO; 236 | "PROVISIONING_PROFILE[sdk=iphoneos*]" = "6151155A-53FA-4F32-A628-42BEB83AA23D"; 237 | SDKROOT = iphoneos; 238 | }; 239 | name = Debug; 240 | }; 241 | C01FCF5008A954540054247B /* Release */ = { 242 | isa = XCBuildConfiguration; 243 | buildSettings = { 244 | ARCHS = "$(ARCHS_STANDARD_32_BIT)"; 245 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 246 | GCC_C_LANGUAGE_STANDARD = c99; 247 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 248 | GCC_WARN_UNUSED_VARIABLE = YES; 249 | OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; 250 | PREBINDING = NO; 251 | SDKROOT = iphoneos; 252 | }; 253 | name = Release; 254 | }; 255 | /* End XCBuildConfiguration section */ 256 | 257 | /* Begin XCConfigurationList section */ 258 | 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "WCPE" */ = { 259 | isa = XCConfigurationList; 260 | buildConfigurations = ( 261 | 1D6058940D05DD3E006BFB54 /* Debug */, 262 | 1D6058950D05DD3E006BFB54 /* Release */, 263 | ); 264 | defaultConfigurationIsVisible = 0; 265 | defaultConfigurationName = Release; 266 | }; 267 | C01FCF4E08A954540054247B /* Build configuration list for PBXProject "WCPE" */ = { 268 | isa = XCConfigurationList; 269 | buildConfigurations = ( 270 | C01FCF4F08A954540054247B /* Debug */, 271 | C01FCF5008A954540054247B /* Release */, 272 | ); 273 | defaultConfigurationIsVisible = 0; 274 | defaultConfigurationName = Release; 275 | }; 276 | /* End XCConfigurationList section */ 277 | }; 278 | rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; 279 | } 280 | -------------------------------------------------------------------------------- /WCPEViewController.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1056 5 | 10J567 6 | 823 7 | 1038.35 8 | 462.00 9 | 10 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 11 | 132 12 | 13 | 14 | YES 15 | 16 | 17 | 18 | YES 19 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 20 | 21 | 22 | YES 23 | 24 | YES 25 | 26 | 27 | YES 28 | 29 | 30 | 31 | YES 32 | 33 | IBFilesOwner 34 | IBCocoaTouchFramework 35 | 36 | 37 | IBFirstResponder 38 | IBCocoaTouchFramework 39 | 40 | 41 | 42 | 274 43 | 44 | YES 45 | 46 | 47 | 274 48 | {320, 460} 49 | 50 | 2 51 | NO 52 | IBCocoaTouchFramework 53 | 54 | NSImage 55 | mozart.png 56 | 57 | 58 | 59 | {320, 460} 60 | 61 | 62 | 3 63 | MC43NQA 64 | 65 | 2 66 | 67 | 68 | NO 69 | 70 | IBCocoaTouchFramework 71 | 72 | 73 | 74 | 75 | YES 76 | 77 | 78 | view 79 | 80 | 81 | 82 | 7 83 | 84 | 85 | 86 | 87 | YES 88 | 89 | 0 90 | 91 | 92 | 93 | 94 | 95 | -1 96 | 97 | 98 | File's Owner 99 | 100 | 101 | -2 102 | 103 | 104 | 105 | 106 | 6 107 | 108 | 109 | YES 110 | 111 | 112 | 113 | 114 | 115 | 8 116 | 117 | 118 | 119 | 120 | 121 | 122 | YES 123 | 124 | YES 125 | -1.CustomClassName 126 | -2.CustomClassName 127 | 6.IBEditorWindowLastContentRect 128 | 6.IBPluginDependency 129 | 8.IBPluginDependency 130 | 131 | 132 | YES 133 | WCPEViewController 134 | UIResponder 135 | {{239, 654}, {320, 480}} 136 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 137 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 138 | 139 | 140 | 141 | YES 142 | 143 | 144 | YES 145 | 146 | 147 | 148 | 149 | YES 150 | 151 | 152 | YES 153 | 154 | 155 | 156 | 8 157 | 158 | 159 | 160 | YES 161 | 162 | WCPEViewController 163 | UIViewController 164 | 165 | IBProjectSource 166 | Classes/WCPEViewController.h 167 | 168 | 169 | 170 | 171 | YES 172 | 173 | NSObject 174 | 175 | IBFrameworkSource 176 | Foundation.framework/Headers/NSError.h 177 | 178 | 179 | 180 | NSObject 181 | 182 | IBFrameworkSource 183 | Foundation.framework/Headers/NSFileManager.h 184 | 185 | 186 | 187 | NSObject 188 | 189 | IBFrameworkSource 190 | Foundation.framework/Headers/NSKeyValueCoding.h 191 | 192 | 193 | 194 | NSObject 195 | 196 | IBFrameworkSource 197 | Foundation.framework/Headers/NSKeyValueObserving.h 198 | 199 | 200 | 201 | NSObject 202 | 203 | IBFrameworkSource 204 | Foundation.framework/Headers/NSKeyedArchiver.h 205 | 206 | 207 | 208 | NSObject 209 | 210 | IBFrameworkSource 211 | Foundation.framework/Headers/NSObject.h 212 | 213 | 214 | 215 | NSObject 216 | 217 | IBFrameworkSource 218 | Foundation.framework/Headers/NSRunLoop.h 219 | 220 | 221 | 222 | NSObject 223 | 224 | IBFrameworkSource 225 | Foundation.framework/Headers/NSThread.h 226 | 227 | 228 | 229 | NSObject 230 | 231 | IBFrameworkSource 232 | Foundation.framework/Headers/NSURL.h 233 | 234 | 235 | 236 | NSObject 237 | 238 | IBFrameworkSource 239 | Foundation.framework/Headers/NSURLConnection.h 240 | 241 | 242 | 243 | NSObject 244 | 245 | IBFrameworkSource 246 | UIKit.framework/Headers/UIAccessibility.h 247 | 248 | 249 | 250 | NSObject 251 | 252 | IBFrameworkSource 253 | UIKit.framework/Headers/UINibLoading.h 254 | 255 | 256 | 257 | NSObject 258 | 259 | IBFrameworkSource 260 | UIKit.framework/Headers/UIResponder.h 261 | 262 | 263 | 264 | UIImageView 265 | UIView 266 | 267 | IBFrameworkSource 268 | UIKit.framework/Headers/UIImageView.h 269 | 270 | 271 | 272 | UIResponder 273 | NSObject 274 | 275 | 276 | 277 | UISearchBar 278 | UIView 279 | 280 | IBFrameworkSource 281 | UIKit.framework/Headers/UISearchBar.h 282 | 283 | 284 | 285 | UISearchDisplayController 286 | NSObject 287 | 288 | IBFrameworkSource 289 | UIKit.framework/Headers/UISearchDisplayController.h 290 | 291 | 292 | 293 | UIView 294 | 295 | IBFrameworkSource 296 | UIKit.framework/Headers/UIPrintFormatter.h 297 | 298 | 299 | 300 | UIView 301 | 302 | IBFrameworkSource 303 | UIKit.framework/Headers/UITextField.h 304 | 305 | 306 | 307 | UIView 308 | UIResponder 309 | 310 | IBFrameworkSource 311 | UIKit.framework/Headers/UIView.h 312 | 313 | 314 | 315 | UIViewController 316 | 317 | IBFrameworkSource 318 | MediaPlayer.framework/Headers/MPMoviePlayerViewController.h 319 | 320 | 321 | 322 | UIViewController 323 | 324 | IBFrameworkSource 325 | UIKit.framework/Headers/UINavigationController.h 326 | 327 | 328 | 329 | UIViewController 330 | 331 | IBFrameworkSource 332 | UIKit.framework/Headers/UIPopoverController.h 333 | 334 | 335 | 336 | UIViewController 337 | 338 | IBFrameworkSource 339 | UIKit.framework/Headers/UISplitViewController.h 340 | 341 | 342 | 343 | UIViewController 344 | 345 | IBFrameworkSource 346 | UIKit.framework/Headers/UITabBarController.h 347 | 348 | 349 | 350 | UIViewController 351 | UIResponder 352 | 353 | IBFrameworkSource 354 | UIKit.framework/Headers/UIViewController.h 355 | 356 | 357 | 358 | 359 | 0 360 | IBCocoaTouchFramework 361 | 362 | com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS 363 | 364 | 365 | 366 | com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 367 | 368 | 369 | YES 370 | WCPE.xcodeproj 371 | 3 372 | 373 | mozart.png 374 | {244.5, 351.5} 375 | 376 | 132 377 | 378 | 379 | -------------------------------------------------------------------------------- /MainWindow.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1024 5 | 10D571 6 | 786 7 | 1038.29 8 | 460.00 9 | 10 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 11 | 112 12 | 13 | 14 | YES 15 | 16 | 17 | 18 | YES 19 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 20 | 21 | 22 | YES 23 | 24 | YES 25 | 26 | 27 | YES 28 | 29 | 30 | 31 | YES 32 | 33 | IBFilesOwner 34 | IBCocoaTouchFramework 35 | 36 | 37 | IBFirstResponder 38 | IBCocoaTouchFramework 39 | 40 | 41 | IBCocoaTouchFramework 42 | 43 | 44 | WCPEViewController 45 | 46 | 47 | 1 48 | 49 | IBCocoaTouchFramework 50 | NO 51 | 52 | 53 | 54 | 292 55 | {320, 480} 56 | 57 | 1 58 | MSAxIDEAA 59 | 60 | NO 61 | NO 62 | 63 | IBCocoaTouchFramework 64 | YES 65 | 66 | 67 | 68 | 69 | YES 70 | 71 | 72 | delegate 73 | 74 | 75 | 76 | 4 77 | 78 | 79 | 80 | viewController 81 | 82 | 83 | 84 | 11 85 | 86 | 87 | 88 | window 89 | 90 | 91 | 92 | 14 93 | 94 | 95 | 96 | 97 | YES 98 | 99 | 0 100 | 101 | 102 | 103 | 104 | 105 | -1 106 | 107 | 108 | File's Owner 109 | 110 | 111 | 3 112 | 113 | 114 | WCPE App Delegate 115 | 116 | 117 | -2 118 | 119 | 120 | 121 | 122 | 10 123 | 124 | 125 | 126 | 127 | 12 128 | 129 | 130 | 131 | 132 | 133 | 134 | YES 135 | 136 | YES 137 | -1.CustomClassName 138 | -2.CustomClassName 139 | 10.CustomClassName 140 | 10.IBEditorWindowLastContentRect 141 | 10.IBPluginDependency 142 | 12.IBEditorWindowLastContentRect 143 | 12.IBPluginDependency 144 | 3.CustomClassName 145 | 3.IBPluginDependency 146 | 147 | 148 | YES 149 | UIApplication 150 | UIResponder 151 | WCPEViewController 152 | {{234, 376}, {320, 480}} 153 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 154 | {{525, 346}, {320, 480}} 155 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 156 | WCPEAppDelegate 157 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin 158 | 159 | 160 | 161 | YES 162 | 163 | 164 | YES 165 | 166 | 167 | 168 | 169 | YES 170 | 171 | 172 | YES 173 | 174 | 175 | 176 | 15 177 | 178 | 179 | 180 | YES 181 | 182 | UIWindow 183 | UIView 184 | 185 | IBUserSource 186 | 187 | 188 | 189 | 190 | WCPEAppDelegate 191 | NSObject 192 | 193 | YES 194 | 195 | YES 196 | viewController 197 | window 198 | 199 | 200 | YES 201 | WCPEViewController 202 | UIWindow 203 | 204 | 205 | 206 | YES 207 | 208 | YES 209 | viewController 210 | window 211 | 212 | 213 | YES 214 | 215 | viewController 216 | WCPEViewController 217 | 218 | 219 | window 220 | UIWindow 221 | 222 | 223 | 224 | 225 | IBProjectSource 226 | Classes/WCPEAppDelegate.h 227 | 228 | 229 | 230 | WCPEAppDelegate 231 | NSObject 232 | 233 | IBUserSource 234 | 235 | 236 | 237 | 238 | WCPEViewController 239 | UIViewController 240 | 241 | IBProjectSource 242 | Classes/WCPEViewController.h 243 | 244 | 245 | 246 | 247 | YES 248 | 249 | NSObject 250 | 251 | IBFrameworkSource 252 | Foundation.framework/Headers/NSError.h 253 | 254 | 255 | 256 | NSObject 257 | 258 | IBFrameworkSource 259 | Foundation.framework/Headers/NSFileManager.h 260 | 261 | 262 | 263 | NSObject 264 | 265 | IBFrameworkSource 266 | Foundation.framework/Headers/NSKeyValueCoding.h 267 | 268 | 269 | 270 | NSObject 271 | 272 | IBFrameworkSource 273 | Foundation.framework/Headers/NSKeyValueObserving.h 274 | 275 | 276 | 277 | NSObject 278 | 279 | IBFrameworkSource 280 | Foundation.framework/Headers/NSKeyedArchiver.h 281 | 282 | 283 | 284 | NSObject 285 | 286 | IBFrameworkSource 287 | Foundation.framework/Headers/NSObject.h 288 | 289 | 290 | 291 | NSObject 292 | 293 | IBFrameworkSource 294 | Foundation.framework/Headers/NSRunLoop.h 295 | 296 | 297 | 298 | NSObject 299 | 300 | IBFrameworkSource 301 | Foundation.framework/Headers/NSThread.h 302 | 303 | 304 | 305 | NSObject 306 | 307 | IBFrameworkSource 308 | Foundation.framework/Headers/NSURL.h 309 | 310 | 311 | 312 | NSObject 313 | 314 | IBFrameworkSource 315 | Foundation.framework/Headers/NSURLConnection.h 316 | 317 | 318 | 319 | NSObject 320 | 321 | IBFrameworkSource 322 | UIKit.framework/Headers/UIAccessibility.h 323 | 324 | 325 | 326 | NSObject 327 | 328 | IBFrameworkSource 329 | UIKit.framework/Headers/UINibLoading.h 330 | 331 | 332 | 333 | NSObject 334 | 335 | IBFrameworkSource 336 | UIKit.framework/Headers/UIResponder.h 337 | 338 | 339 | 340 | UIApplication 341 | UIResponder 342 | 343 | IBFrameworkSource 344 | UIKit.framework/Headers/UIApplication.h 345 | 346 | 347 | 348 | UIResponder 349 | NSObject 350 | 351 | 352 | 353 | UISearchBar 354 | UIView 355 | 356 | IBFrameworkSource 357 | UIKit.framework/Headers/UISearchBar.h 358 | 359 | 360 | 361 | UISearchDisplayController 362 | NSObject 363 | 364 | IBFrameworkSource 365 | UIKit.framework/Headers/UISearchDisplayController.h 366 | 367 | 368 | 369 | UIView 370 | 371 | IBFrameworkSource 372 | UIKit.framework/Headers/UITextField.h 373 | 374 | 375 | 376 | UIView 377 | UIResponder 378 | 379 | IBFrameworkSource 380 | UIKit.framework/Headers/UIView.h 381 | 382 | 383 | 384 | UIViewController 385 | 386 | IBFrameworkSource 387 | UIKit.framework/Headers/UINavigationController.h 388 | 389 | 390 | 391 | UIViewController 392 | 393 | IBFrameworkSource 394 | UIKit.framework/Headers/UIPopoverController.h 395 | 396 | 397 | 398 | UIViewController 399 | 400 | IBFrameworkSource 401 | UIKit.framework/Headers/UISplitViewController.h 402 | 403 | 404 | 405 | UIViewController 406 | 407 | IBFrameworkSource 408 | UIKit.framework/Headers/UITabBarController.h 409 | 410 | 411 | 412 | UIViewController 413 | UIResponder 414 | 415 | IBFrameworkSource 416 | UIKit.framework/Headers/UIViewController.h 417 | 418 | 419 | 420 | UIWindow 421 | UIView 422 | 423 | IBFrameworkSource 424 | UIKit.framework/Headers/UIWindow.h 425 | 426 | 427 | 428 | 429 | 0 430 | IBCocoaTouchFramework 431 | 432 | com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS 433 | 434 | 435 | 436 | com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3 437 | 438 | 439 | YES 440 | WCPE.xcodeproj 441 | 3 442 | 112 443 | 444 | 445 | --------------------------------------------------------------------------------