Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bugfix for Touch with Alpha, courtesy of Dirk

  • Loading branch information...
commit b8ca8905d17015839a0917e1dcd407d055890236 1 parent 0eef808
authored March 15, 2010

Showing 42 changed files with 1,298 additions and 2 deletions. Show diff stats Hide diff stats

  1. 15  C05-ViewControllers/02-SegmentMenu/main.m
  2. 1  C07-Images/09-Multiscroller/HelloWorld.xcodeproj/project.pbxproj
  3. 3  C08-Gestures/04-Testing Touches With Alpha/main.m
  4. BIN  C14-Device/06-Free Movement/ButterflyArt/Default.png
  5. BIN  C14-Device/06-Free Movement/ButterflyArt/Default1.png
  6. BIN  C14-Device/06-Free Movement/ButterflyArt/Default2.png
  7. BIN  C14-Device/06-Free Movement/ButterflyArt/arrow.png
  8. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_1.png
  9. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_10.png
  10. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_11.png
  11. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_12.png
  12. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_13.png
  13. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_14.png
  14. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_15.png
  15. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_16.png
  16. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_17.png
  17. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_2.png
  18. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_3.png
  19. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_4.png
  20. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_5.png
  21. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_6.png
  22. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_7.png
  23. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_8.png
  24. BIN  C14-Device/06-Free Movement/ButterflyArt/bf_9.png
  25. BIN  C14-Device/06-Free Movement/ButterflyArt/net.png
  26. BIN  C16-Push/01-PushClientUniversal/Audio/ping1.caf
  27. BIN  C16-Push/01-PushClientUniversal/Audio/ping2.caf
  28. BIN  C16-Push/01-PushClientUniversal/Audio/ping3.caf
  29. BIN  C16-Push/01-PushClientUniversal/Covers/cover-ipad-landscape.png
  30. BIN  C16-Push/01-PushClientUniversal/Covers/cover-ipad-portrait.png
  31. BIN  C16-Push/01-PushClientUniversal/Covers/cover-iphone-landscape.png
  32. BIN  C16-Push/01-PushClientUniversal/Covers/cover-iphone-portrait.png
  33. BIN  C16-Push/01-PushClientUniversal/Default Images/Default-Landscape.png
  34. BIN  C16-Push/01-PushClientUniversal/Default Images/Default-Portrait.png
  35. BIN  C16-Push/01-PushClientUniversal/Default Images/Default.png
  36. BIN  C16-Push/01-PushClientUniversal/Default Images/icon.png
  37. 35  C16-Push/01-PushClientUniversal/HelloWorld-Info.plist
  38. 305  C16-Push/01-PushClientUniversal/HelloWorld.xcodeproj/project.pbxproj
  39. 8  C16-Push/01-PushClientUniversal/HelloWorld_Prefix.pch
  40. 20  C16-Push/01-PushClientUniversal/TestBed Support/TestBedViewController.h
  41. 706  C16-Push/01-PushClientUniversal/TestBed Support/TestBedViewController.xib
  42. 207  C16-Push/01-PushClientUniversal/main.m
15  C05-ViewControllers/02-SegmentMenu/main.m
@@ -13,6 +13,19 @@ @interface TestBedViewController : UIViewController
13 13
 @end
14 14
 
15 15
 @implementation TestBedViewController
  16
+
  17
+// Return an exhaustive descent of the view's subviews
  18
+NSArray *allSubviews(UIView *aView)
  19
+{
  20
+	NSArray *results = [aView subviews];
  21
+	for (UIView *eachView in [aView subviews])
  22
+	{
  23
+		NSArray *riz = allSubviews(eachView);
  24
+		if (riz) results = [results arrayByAddingObjectsFromArray:riz];
  25
+	}
  26
+	return results;
  27
+}
  28
+
16 29
 -(void) segmentAction: (UISegmentedControl *) sender
17 30
 {
18 31
 	// Update the label with the segment number
@@ -41,6 +54,8 @@ - (void) loadView
41 54
 	segmentedControl.momentary = NO;
42 55
 	segmentedControl.selectedSegmentIndex = 0;
43 56
 #endif
  57
+	
  58
+	CFShow(allSubviews(segmentedControl));
44 59
 
45 60
 
46 61
 	// Add it to the navigation bar
1  C07-Images/09-Multiscroller/HelloWorld.xcodeproj/project.pbxproj
@@ -196,7 +196,6 @@
196 196
 				INFOPLIST_FILE = Info.plist;
197 197
 				PREBINDING = NO;
198 198
 				PRODUCT_NAME = HelloWorld;
199  
-				"PROVISIONING_PROFILE[sdk=iphoneos*]" = "09BC1CCF-453F-409C-B6C0-E6434BABBD03";
200 199
 			};
201 200
 			name = Debug;
202 201
 		};
3  C08-Gestures/04-Testing Touches With Alpha/main.m
@@ -21,7 +21,8 @@
21 21
     }
22 22
 	
23 23
 	CGSize size = image.size;
24  
-    void *bitmapData = malloc(size.width * size.height * 4);
  24
+	// void *bitmapData = malloc(size.width * size.height * 4);
  25
+	unsigned char *bitmapData = calloc(size.width * size.height * 4, 1); // Courtesy of Dirk. Thanks!
25 26
     if (bitmapData == NULL)
26 27
     {
27 28
         fprintf (stderr, "Error: Memory not allocated!");
BIN  C14-Device/06-Free Movement/ButterflyArt/Default.png
BIN  C14-Device/06-Free Movement/ButterflyArt/Default1.png
BIN  C14-Device/06-Free Movement/ButterflyArt/Default2.png
BIN  C14-Device/06-Free Movement/ButterflyArt/arrow.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_1.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_10.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_11.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_12.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_13.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_14.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_15.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_16.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_17.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_2.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_3.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_4.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_5.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_6.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_7.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_8.png
BIN  C14-Device/06-Free Movement/ButterflyArt/bf_9.png
BIN  C14-Device/06-Free Movement/ButterflyArt/net.png
BIN  C16-Push/01-PushClientUniversal/Audio/ping1.caf
Binary file not shown
BIN  C16-Push/01-PushClientUniversal/Audio/ping2.caf
Binary file not shown
BIN  C16-Push/01-PushClientUniversal/Audio/ping3.caf
Binary file not shown
BIN  C16-Push/01-PushClientUniversal/Covers/cover-ipad-landscape.png
BIN  C16-Push/01-PushClientUniversal/Covers/cover-ipad-portrait.png
BIN  C16-Push/01-PushClientUniversal/Covers/cover-iphone-landscape.png
BIN  C16-Push/01-PushClientUniversal/Covers/cover-iphone-portrait.png
BIN  C16-Push/01-PushClientUniversal/Default Images/Default-Landscape.png
BIN  C16-Push/01-PushClientUniversal/Default Images/Default-Portrait.png
BIN  C16-Push/01-PushClientUniversal/Default Images/Default.png
BIN  C16-Push/01-PushClientUniversal/Default Images/icon.png
35  C16-Push/01-PushClientUniversal/HelloWorld-Info.plist
... ...
@@ -0,0 +1,35 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3
+<plist version="1.0">
  4
+<dict>
  5
+	<key>CFBundleDevelopmentRegion</key>
  6
+	<string>English</string>
  7
+	<key>CFBundleDisplayName</key>
  8
+	<string>${PRODUCT_NAME}</string>
  9
+	<key>CFBundleExecutable</key>
  10
+	<string>${EXECUTABLE_NAME}</string>
  11
+	<key>CFBundleIconFile</key>
  12
+	<string>icon.png</string>
  13
+	<key>CFBundleIdentifier</key>
  14
+	<string>com.sadun.${PRODUCT_NAME:rfc1034identifier}</string>
  15
+	<key>CFBundleInfoDictionaryVersion</key>
  16
+	<string>6.0</string>
  17
+	<key>CFBundleName</key>
  18
+	<string>${PRODUCT_NAME}</string>
  19
+	<key>CFBundlePackageType</key>
  20
+	<string>APPL</string>
  21
+	<key>CFBundleSignature</key>
  22
+	<string>????</string>
  23
+	<key>CFBundleVersion</key>
  24
+	<string>1.0</string>
  25
+	<key>LSRequiresIPhoneOS</key>
  26
+	<true/>
  27
+	<key>UISupportedInterfaceOrientations</key>
  28
+	<array>
  29
+		<string>UIInterfaceOrientationPortrait</string>
  30
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
  31
+		<string>UIInterfaceOrientationLandscapeLeft</string>
  32
+		<string>UIInterfaceOrientationLandscapeRight</string>
  33
+	</array>
  34
+</dict>
  35
+</plist>
305  C16-Push/01-PushClientUniversal/HelloWorld.xcodeproj/project.pbxproj
... ...
@@ -0,0 +1,305 @@
  1
+// !$*UTF8*$!
  2
+{
  3
+	archiveVersion = 1;
  4
+	classes = {
  5
+	};
  6
+	objectVersion = 45;
  7
+	objects = {
  8
+
  9
+/* Begin PBXBuildFile section */
  10
+		1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
  11
+		1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
  12
+		1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
  13
+		288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; };
  14
+		8E7D47211128F49D00B184C5 /* cover-ipad-landscape.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D471D1128F49D00B184C5 /* cover-ipad-landscape.png */; };
  15
+		8E7D47221128F49D00B184C5 /* cover-ipad-portrait.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D471E1128F49D00B184C5 /* cover-ipad-portrait.png */; };
  16
+		8E7D47231128F49D00B184C5 /* cover-iphone-landscape.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D471F1128F49D00B184C5 /* cover-iphone-landscape.png */; };
  17
+		8E7D47241128F49D00B184C5 /* cover-iphone-portrait.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D47201128F49D00B184C5 /* cover-iphone-portrait.png */; };
  18
+		8E7D47471128F52000B184C5 /* TestBedViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D47461128F52000B184C5 /* TestBedViewController.xib */; };
  19
+		8E7D474D1128F56600B184C5 /* Default-Landscape.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D47491128F56600B184C5 /* Default-Landscape.png */; };
  20
+		8E7D474E1128F56600B184C5 /* Default-Portrait.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D474A1128F56600B184C5 /* Default-Portrait.png */; };
  21
+		8E7D474F1128F56600B184C5 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D474B1128F56600B184C5 /* Default.png */; };
  22
+		8E7D47501128F56600B184C5 /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 8E7D474C1128F56600B184C5 /* icon.png */; };
  23
+		8ED7057D112B3C3000A24321 /* ping1.caf in Resources */ = {isa = PBXBuildFile; fileRef = 8ED7057A112B3C3000A24321 /* ping1.caf */; };
  24
+		8ED7057E112B3C3000A24321 /* ping2.caf in Resources */ = {isa = PBXBuildFile; fileRef = 8ED7057B112B3C3000A24321 /* ping2.caf */; };
  25
+		8ED7057F112B3C3000A24321 /* ping3.caf in Resources */ = {isa = PBXBuildFile; fileRef = 8ED7057C112B3C3000A24321 /* ping3.caf */; };
  26
+/* End PBXBuildFile section */
  27
+
  28
+/* Begin PBXFileReference section */
  29
+		1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
  30
+		1D6058910D05DD3D006BFB54 /* HelloWorld.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloWorld.app; sourceTree = BUILT_PRODUCTS_DIR; };
  31
+		1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
  32
+		288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
  33
+		29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
  34
+		32CA4F630368D1EE00C91783 /* HelloWorld_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HelloWorld_Prefix.pch; sourceTree = "<group>"; };
  35
+		8D1107310486CEB800E47090 /* HelloWorld-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "HelloWorld-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
  36
+		8E7D471D1128F49D00B184C5 /* cover-ipad-landscape.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "cover-ipad-landscape.png"; sourceTree = "<group>"; };
  37
+		8E7D471E1128F49D00B184C5 /* cover-ipad-portrait.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "cover-ipad-portrait.png"; sourceTree = "<group>"; };
  38
+		8E7D471F1128F49D00B184C5 /* cover-iphone-landscape.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "cover-iphone-landscape.png"; sourceTree = "<group>"; };
  39
+		8E7D47201128F49D00B184C5 /* cover-iphone-portrait.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "cover-iphone-portrait.png"; sourceTree = "<group>"; };
  40
+		8E7D47451128F52000B184C5 /* TestBedViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TestBedViewController.h; sourceTree = "<group>"; };
  41
+		8E7D47461128F52000B184C5 /* TestBedViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = TestBedViewController.xib; sourceTree = "<group>"; };
  42
+		8E7D47491128F56600B184C5 /* Default-Landscape.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Landscape.png"; sourceTree = "<group>"; };
  43
+		8E7D474A1128F56600B184C5 /* Default-Portrait.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-Portrait.png"; sourceTree = "<group>"; };
  44
+		8E7D474B1128F56600B184C5 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
  45
+		8E7D474C1128F56600B184C5 /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon.png; sourceTree = "<group>"; };
  46
+		8ED7057A112B3C3000A24321 /* ping1.caf */ = {isa = PBXFileReference; lastKnownFileType = file; path = ping1.caf; sourceTree = "<group>"; };
  47
+		8ED7057B112B3C3000A24321 /* ping2.caf */ = {isa = PBXFileReference; lastKnownFileType = file; path = ping2.caf; sourceTree = "<group>"; };
  48
+		8ED7057C112B3C3000A24321 /* ping3.caf */ = {isa = PBXFileReference; lastKnownFileType = file; path = ping3.caf; sourceTree = "<group>"; };
  49
+/* End PBXFileReference section */
  50
+
  51
+/* Begin PBXFrameworksBuildPhase section */
  52
+		1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
  53
+			isa = PBXFrameworksBuildPhase;
  54
+			buildActionMask = 2147483647;
  55
+			files = (
  56
+				1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
  57
+				1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
  58
+				288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */,
  59
+			);
  60
+			runOnlyForDeploymentPostprocessing = 0;
  61
+		};
  62
+/* End PBXFrameworksBuildPhase section */
  63
+
  64
+/* Begin PBXGroup section */
  65
+		19C28FACFE9D520D11CA2CBB /* Products */ = {
  66
+			isa = PBXGroup;
  67
+			children = (
  68
+				1D6058910D05DD3D006BFB54 /* HelloWorld.app */,
  69
+			);
  70
+			name = Products;
  71
+			sourceTree = "<group>";
  72
+		};
  73
+		29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
  74
+			isa = PBXGroup;
  75
+			children = (
  76
+				29B97316FDCFA39411CA2CEA /* main.m */,
  77
+				29B97317FDCFA39411CA2CEA /* Resources */,
  78
+				29B97323FDCFA39411CA2CEA /* Frameworks */,
  79
+				19C28FACFE9D520D11CA2CBB /* Products */,
  80
+			);
  81
+			name = CustomTemplate;
  82
+			sourceTree = "<group>";
  83
+		};
  84
+		29B97317FDCFA39411CA2CEA /* Resources */ = {
  85
+			isa = PBXGroup;
  86
+			children = (
  87
+				8ED70579112B3C3000A24321 /* Audio */,
  88
+				8E7D471C1128F49D00B184C5 /* Covers */,
  89
+				8E7D47481128F56600B184C5 /* Default Images */,
  90
+				8E7D47441128F52000B184C5 /* TestBed Support */,
  91
+				32CA4F630368D1EE00C91783 /* HelloWorld_Prefix.pch */,
  92
+				8D1107310486CEB800E47090 /* HelloWorld-Info.plist */,
  93
+			);
  94
+			name = Resources;
  95
+			sourceTree = "<group>";
  96
+		};
  97
+		29B97323FDCFA39411CA2CEA /* Frameworks */ = {
  98
+			isa = PBXGroup;
  99
+			children = (
  100
+				1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
  101
+				1D30AB110D05D00D00671497 /* Foundation.framework */,
  102
+				288765A40DF7441C002DB57D /* CoreGraphics.framework */,
  103
+			);
  104
+			name = Frameworks;
  105
+			sourceTree = "<group>";
  106
+		};
  107
+		8E7D471C1128F49D00B184C5 /* Covers */ = {
  108
+			isa = PBXGroup;
  109
+			children = (
  110
+				8E7D471D1128F49D00B184C5 /* cover-ipad-landscape.png */,
  111
+				8E7D471E1128F49D00B184C5 /* cover-ipad-portrait.png */,
  112
+				8E7D471F1128F49D00B184C5 /* cover-iphone-landscape.png */,
  113
+				8E7D47201128F49D00B184C5 /* cover-iphone-portrait.png */,
  114
+			);
  115
+			path = Covers;
  116
+			sourceTree = "<group>";
  117
+		};
  118
+		8E7D47441128F52000B184C5 /* TestBed Support */ = {
  119
+			isa = PBXGroup;
  120
+			children = (
  121
+				8E7D47451128F52000B184C5 /* TestBedViewController.h */,
  122
+				8E7D47461128F52000B184C5 /* TestBedViewController.xib */,
  123
+			);
  124
+			path = "TestBed Support";
  125
+			sourceTree = "<group>";
  126
+		};
  127
+		8E7D47481128F56600B184C5 /* Default Images */ = {
  128
+			isa = PBXGroup;
  129
+			children = (
  130
+				8E7D47491128F56600B184C5 /* Default-Landscape.png */,
  131
+				8E7D474A1128F56600B184C5 /* Default-Portrait.png */,
  132
+				8E7D474B1128F56600B184C5 /* Default.png */,
  133
+				8E7D474C1128F56600B184C5 /* icon.png */,
  134
+			);
  135
+			path = "Default Images";
  136
+			sourceTree = "<group>";
  137
+		};
  138
+		8ED70579112B3C3000A24321 /* Audio */ = {
  139
+			isa = PBXGroup;
  140
+			children = (
  141
+				8ED7057A112B3C3000A24321 /* ping1.caf */,
  142
+				8ED7057B112B3C3000A24321 /* ping2.caf */,
  143
+				8ED7057C112B3C3000A24321 /* ping3.caf */,
  144
+			);
  145
+			path = Audio;
  146
+			sourceTree = "<group>";
  147
+		};
  148
+/* End PBXGroup section */
  149
+
  150
+/* Begin PBXNativeTarget section */
  151
+		1D6058900D05DD3D006BFB54 /* HelloWorld */ = {
  152
+			isa = PBXNativeTarget;
  153
+			buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "HelloWorld" */;
  154
+			buildPhases = (
  155
+				1D60588D0D05DD3D006BFB54 /* Resources */,
  156
+				1D60588E0D05DD3D006BFB54 /* Sources */,
  157
+				1D60588F0D05DD3D006BFB54 /* Frameworks */,
  158
+			);
  159
+			buildRules = (
  160
+			);
  161
+			dependencies = (
  162
+			);
  163
+			name = HelloWorld;
  164
+			productName = HelloWorld;
  165
+			productReference = 1D6058910D05DD3D006BFB54 /* HelloWorld.app */;
  166
+			productType = "com.apple.product-type.application";
  167
+		};
  168
+/* End PBXNativeTarget section */
  169
+
  170
+/* Begin PBXProject section */
  171
+		29B97313FDCFA39411CA2CEA /* Project object */ = {
  172
+			isa = PBXProject;
  173
+			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "HelloWorld" */;
  174
+			compatibilityVersion = "Xcode 3.1";
  175
+			hasScannedForEncodings = 1;
  176
+			mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
  177
+			projectDirPath = "";
  178
+			projectRoot = "";
  179
+			targets = (
  180
+				1D6058900D05DD3D006BFB54 /* HelloWorld */,
  181
+			);
  182
+		};
  183
+/* End PBXProject section */
  184
+
  185
+/* Begin PBXResourcesBuildPhase section */
  186
+		1D60588D0D05DD3D006BFB54 /* Resources */ = {
  187
+			isa = PBXResourcesBuildPhase;
  188
+			buildActionMask = 2147483647;
  189
+			files = (
  190
+				8E7D47211128F49D00B184C5 /* cover-ipad-landscape.png in Resources */,
  191
+				8E7D47221128F49D00B184C5 /* cover-ipad-portrait.png in Resources */,
  192
+				8E7D47231128F49D00B184C5 /* cover-iphone-landscape.png in Resources */,
  193
+				8E7D47241128F49D00B184C5 /* cover-iphone-portrait.png in Resources */,
  194
+				8E7D47471128F52000B184C5 /* TestBedViewController.xib in Resources */,
  195
+				8E7D474D1128F56600B184C5 /* Default-Landscape.png in Resources */,
  196
+				8E7D474E1128F56600B184C5 /* Default-Portrait.png in Resources */,
  197
+				8E7D474F1128F56600B184C5 /* Default.png in Resources */,
  198
+				8E7D47501128F56600B184C5 /* icon.png in Resources */,
  199
+				8ED7057D112B3C3000A24321 /* ping1.caf in Resources */,
  200
+				8ED7057E112B3C3000A24321 /* ping2.caf in Resources */,
  201
+				8ED7057F112B3C3000A24321 /* ping3.caf in Resources */,
  202
+			);
  203
+			runOnlyForDeploymentPostprocessing = 0;
  204
+		};
  205
+/* End PBXResourcesBuildPhase section */
  206
+
  207
+/* Begin PBXSourcesBuildPhase section */
  208
+		1D60588E0D05DD3D006BFB54 /* Sources */ = {
  209
+			isa = PBXSourcesBuildPhase;
  210
+			buildActionMask = 2147483647;
  211
+			files = (
  212
+				1D60589B0D05DD56006BFB54 /* main.m in Sources */,
  213
+			);
  214
+			runOnlyForDeploymentPostprocessing = 0;
  215
+		};
  216
+/* End PBXSourcesBuildPhase section */
  217
+
  218
+/* Begin XCBuildConfiguration section */
  219
+		1D6058940D05DD3E006BFB54 /* Debug */ = {
  220
+			isa = XCBuildConfiguration;
  221
+			buildSettings = {
  222
+				ALWAYS_SEARCH_USER_PATHS = NO;
  223
+				COPY_PHASE_STRIP = NO;
  224
+				GCC_DYNAMIC_NO_PIC = NO;
  225
+				GCC_OPTIMIZATION_LEVEL = 0;
  226
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  227
+				GCC_PREFIX_HEADER = HelloWorld_Prefix.pch;
  228
+				INFOPLIST_FILE = "HelloWorld-Info.plist";
  229
+				OTHER_CFLAGS = "";
  230
+				OTHER_TEST_FLAGS = "";
  231
+				PRODUCT_NAME = HelloWorld;
  232
+				SDKROOT = iphoneos3.2;
  233
+				TARGETED_DEVICE_FAMILY = "1,2";
  234
+			};
  235
+			name = Debug;
  236
+		};
  237
+		1D6058950D05DD3E006BFB54 /* Release */ = {
  238
+			isa = XCBuildConfiguration;
  239
+			buildSettings = {
  240
+				ALWAYS_SEARCH_USER_PATHS = NO;
  241
+				COPY_PHASE_STRIP = YES;
  242
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  243
+				GCC_PREFIX_HEADER = HelloWorld_Prefix.pch;
  244
+				INFOPLIST_FILE = "HelloWorld-Info.plist";
  245
+				PRODUCT_NAME = HelloWorld;
  246
+				SDKROOT = iphoneos3.2;
  247
+				TARGETED_DEVICE_FAMILY = "1,2";
  248
+				VALIDATE_PRODUCT = YES;
  249
+			};
  250
+			name = Release;
  251
+		};
  252
+		C01FCF4F08A954540054247B /* Debug */ = {
  253
+			isa = XCBuildConfiguration;
  254
+			buildSettings = {
  255
+				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
  256
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  257
+				GCC_C_LANGUAGE_STANDARD = c99;
  258
+				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  259
+				GCC_WARN_UNUSED_VARIABLE = YES;
  260
+				PREBINDING = NO;
  261
+				SDKROOT = iphoneos3.2;
  262
+				TARGETED_DEVICE_FAMILY = 2;
  263
+			};
  264
+			name = Debug;
  265
+		};
  266
+		C01FCF5008A954540054247B /* Release */ = {
  267
+			isa = XCBuildConfiguration;
  268
+			buildSettings = {
  269
+				ARCHS = "$(ARCHS_STANDARD_32_BIT)";
  270
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  271
+				GCC_C_LANGUAGE_STANDARD = c99;
  272
+				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  273
+				GCC_WARN_UNUSED_VARIABLE = YES;
  274
+				OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
  275
+				PREBINDING = NO;
  276
+				SDKROOT = iphoneos3.2;
  277
+				TARGETED_DEVICE_FAMILY = 2;
  278
+			};
  279
+			name = Release;
  280
+		};
  281
+/* End XCBuildConfiguration section */
  282
+
  283
+/* Begin XCConfigurationList section */
  284
+		1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "HelloWorld" */ = {
  285
+			isa = XCConfigurationList;
  286
+			buildConfigurations = (
  287
+				1D6058940D05DD3E006BFB54 /* Debug */,
  288
+				1D6058950D05DD3E006BFB54 /* Release */,
  289
+			);
  290
+			defaultConfigurationIsVisible = 0;
  291
+			defaultConfigurationName = Release;
  292
+		};
  293
+		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "HelloWorld" */ = {
  294
+			isa = XCConfigurationList;
  295
+			buildConfigurations = (
  296
+				C01FCF4F08A954540054247B /* Debug */,
  297
+				C01FCF5008A954540054247B /* Release */,
  298
+			);
  299
+			defaultConfigurationIsVisible = 0;
  300
+			defaultConfigurationName = Release;
  301
+		};
  302
+/* End XCConfigurationList section */
  303
+	};
  304
+	rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
  305
+}
8  C16-Push/01-PushClientUniversal/HelloWorld_Prefix.pch
... ...
@@ -0,0 +1,8 @@
  1
+//
  2
+// Prefix header for all source files of the 'HelloWorld' target in the 'HelloWorld' project
  3
+//
  4
+
  5
+#ifdef __OBJC__
  6
+    #import <Foundation/Foundation.h>
  7
+    #import <UIKit/UIKit.h>
  8
+#endif
20  C16-Push/01-PushClientUniversal/TestBed Support/TestBedViewController.h
... ...
@@ -0,0 +1,20 @@
  1
+//
  2
+//  TestBedViewController.h
  3
+//  HelloWorld
  4
+//
  5
+//  Created by Erica Sadun on 2/14/10.
  6
+//  Copyright 2010 Up To No Good, Inc. All rights reserved.
  7
+//
  8
+
  9
+#import <UIKit/UIKit.h>
  10
+
  11
+@interface TestBedViewController : UIViewController
  12
+{
  13
+	IBOutlet UIImageView *imageView;
  14
+	IBOutlet UITextView *textView;
  15
+	IBOutlet UISwitch *badge;
  16
+	IBOutlet UISwitch *alert;
  17
+	IBOutlet UISwitch *sound;
  18
+}
  19
+- (IBAction) switchValueDidChange: (UISwitch *) aSwitch;
  20
+@end
706  C16-Push/01-PushClientUniversal/TestBed Support/TestBedViewController.xib
... ...
@@ -0,0 +1,706 @@
  1
+<?xml version="1.0" encoding="UTF-8"?>
  2
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
  3
+	<data>
  4
+		<int key="IBDocument.SystemTarget">800</int>
  5
+		<string key="IBDocument.SystemVersion">10C540</string>
  6
+		<string key="IBDocument.InterfaceBuilderVersion">760</string>
  7
+		<string key="IBDocument.AppKitVersion">1038.25</string>
  8
+		<string key="IBDocument.HIToolboxVersion">458.00</string>
  9
+		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
  10
+			<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  11
+			<string key="NS.object.0">82</string>
  12
+		</object>
  13
+		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
  14
+			<bool key="EncodedWithXMLCoder">YES</bool>
  15
+			<integer value="3"/>
  16
+		</object>
  17
+		<object class="NSArray" key="IBDocument.PluginDependencies">
  18
+			<bool key="EncodedWithXMLCoder">YES</bool>
  19
+			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  20
+		</object>
  21
+		<object class="NSMutableDictionary" key="IBDocument.Metadata">
  22
+			<bool key="EncodedWithXMLCoder">YES</bool>
  23
+			<object class="NSArray" key="dict.sortedKeys" id="0">
  24
+				<bool key="EncodedWithXMLCoder">YES</bool>
  25
+			</object>
  26
+			<object class="NSMutableArray" key="dict.values">
  27
+				<bool key="EncodedWithXMLCoder">YES</bool>
  28
+			</object>
  29
+		</object>
  30
+		<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
  31
+			<bool key="EncodedWithXMLCoder">YES</bool>
  32
+			<object class="IBProxyObject" id="372490531">
  33
+				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
  34
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  35
+			</object>
  36
+			<object class="IBProxyObject" id="975951072">
  37
+				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
  38
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  39
+			</object>
  40
+			<object class="IBUIView" id="921748330">
  41
+				<reference key="NSNextResponder"/>
  42
+				<int key="NSvFlags">292</int>
  43
+				<object class="NSMutableArray" key="NSSubviews">
  44
+					<bool key="EncodedWithXMLCoder">YES</bool>
  45
+					<object class="IBUIImageView" id="817257022">
  46
+						<reference key="NSNextResponder" ref="921748330"/>
  47
+						<int key="NSvFlags">274</int>
  48
+						<string key="NSFrameSize">{320, 416}</string>
  49
+						<reference key="NSSuperview" ref="921748330"/>
  50
+						<object class="NSColor" key="IBUIBackgroundColor" id="224277525">
  51
+							<int key="NSColorSpace">3</int>
  52
+							<bytes key="NSWhite">MCAwAA</bytes>
  53
+						</object>
  54
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  55
+					</object>
  56
+					<object class="IBUITextView" id="410919840">
  57
+						<reference key="NSNextResponder" ref="921748330"/>
  58
+						<int key="NSvFlags">306</int>
  59
+						<string key="NSFrame">{{0, 81}, {320, 201}}</string>
  60
+						<reference key="NSSuperview" ref="921748330"/>
  61
+						<reference key="IBUIBackgroundColor" ref="224277525"/>
  62
+						<bool key="IBUIOpaque">NO</bool>
  63
+						<bool key="IBUIClipsSubviews">YES</bool>
  64
+						<bool key="IBUIMultipleTouchEnabled">YES</bool>
  65
+						<int key="IBUITag">11</int>
  66
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  67
+						<bool key="IBUIShowsHorizontalScrollIndicator">NO</bool>
  68
+						<bool key="IBUIDelaysContentTouches">NO</bool>
  69
+						<bool key="IBUICanCancelContentTouches">NO</bool>
  70
+						<bool key="IBUIBouncesZoom">NO</bool>
  71
+						<bool key="IBUIEditable">NO</bool>
  72
+						<string key="IBUIText"/>
  73
+						<object class="NSColor" key="IBUITextColor">
  74
+							<int key="NSColorSpace">1</int>
  75
+							<bytes key="NSRGB">MCAwIDAAA</bytes>
  76
+						</object>
  77
+						<int key="IBUITextAlignment">1</int>
  78
+						<object class="IBUITextInputTraits" key="IBUITextInputTraits">
  79
+							<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  80
+						</object>
  81
+					</object>
  82
+					<object class="IBUISwitch" id="71652634">
  83
+						<reference key="NSNextResponder" ref="921748330"/>
  84
+						<int key="NSvFlags">260</int>
  85
+						<string key="NSFrame">{{11, 36}, {94, 27}}</string>
  86
+						<reference key="NSSuperview" ref="921748330"/>
  87
+						<bool key="IBUIOpaque">NO</bool>
  88
+						<bool key="IBUIClipsSubviews">YES</bool>
  89
+						<bool key="IBUIMultipleTouchEnabled">YES</bool>
  90
+						<int key="IBUITag">101</int>
  91
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  92
+						<int key="IBUIContentHorizontalAlignment">0</int>
  93
+						<int key="IBUIContentVerticalAlignment">0</int>
  94
+						<bool key="IBUIOn">YES</bool>
  95
+					</object>
  96
+					<object class="IBUISwitch" id="288400179">
  97
+						<reference key="NSNextResponder" ref="921748330"/>
  98
+						<int key="NSvFlags">261</int>
  99
+						<string key="NSFrame">{{113, 36}, {94, 27}}</string>
  100
+						<reference key="NSSuperview" ref="921748330"/>
  101
+						<bool key="IBUIOpaque">NO</bool>
  102
+						<bool key="IBUIClipsSubviews">YES</bool>
  103
+						<bool key="IBUIMultipleTouchEnabled">YES</bool>
  104
+						<int key="IBUITag">102</int>
  105
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  106
+						<int key="IBUIContentHorizontalAlignment">0</int>
  107
+						<int key="IBUIContentVerticalAlignment">0</int>
  108
+						<bool key="IBUIOn">YES</bool>
  109
+					</object>
  110
+					<object class="IBUISwitch" id="1049564661">
  111
+						<reference key="NSNextResponder" ref="921748330"/>
  112
+						<int key="NSvFlags">257</int>
  113
+						<string key="NSFrame">{{215, 36}, {94, 27}}</string>
  114
+						<reference key="NSSuperview" ref="921748330"/>
  115
+						<bool key="IBUIOpaque">NO</bool>
  116
+						<bool key="IBUIClipsSubviews">YES</bool>
  117
+						<bool key="IBUIMultipleTouchEnabled">YES</bool>
  118
+						<int key="IBUITag">103</int>
  119
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  120
+						<int key="IBUIContentHorizontalAlignment">0</int>
  121
+						<int key="IBUIContentVerticalAlignment">0</int>
  122
+						<bool key="IBUIOn">YES</bool>
  123
+					</object>
  124
+					<object class="IBUILabel" id="842366241">
  125
+						<reference key="NSNextResponder" ref="921748330"/>
  126
+						<int key="NSvFlags">260</int>
  127
+						<string key="NSFrame">{{33, 10}, {56, 22}}</string>
  128
+						<reference key="NSSuperview" ref="921748330"/>
  129
+						<object class="NSColor" key="IBUIBackgroundColor" id="253874401">
  130
+							<int key="NSColorSpace">2</int>
  131
+							<bytes key="NSRGB">MC4yMTE3NjQ3MjMxIDAgMC41NDUwOTgwNjYzAA</bytes>
  132
+						</object>
  133
+						<bool key="IBUIOpaque">NO</bool>
  134
+						<bool key="IBUIClipsSubviews">YES</bool>
  135
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
  136
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  137
+						<string key="IBUIText">Badge</string>
  138
+						<object class="NSFont" key="IBUIFont" id="1025355288">
  139
+							<string key="NSName">Helvetica-Bold</string>
  140
+							<double key="NSSize">18</double>
  141
+							<int key="NSfFlags">16</int>
  142
+						</object>
  143
+						<object class="NSColor" key="IBUITextColor">
  144
+							<int key="NSColorSpace">1</int>
  145
+							<bytes key="NSRGB">MSAxIDEAA</bytes>
  146
+						</object>
  147
+						<nil key="IBUIHighlightedColor"/>
  148
+						<int key="IBUIBaselineAdjustment">1</int>
  149
+						<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
  150
+						<float key="IBUIMinimumFontSize">9</float>
  151
+						<int key="IBUITextAlignment">1</int>
  152
+					</object>
  153
+					<object class="IBUILabel" id="668101390">
  154
+						<reference key="NSNextResponder" ref="921748330"/>
  155
+						<int key="NSvFlags">261</int>
  156
+						<string key="NSFrame">{{135, 10}, {50, 22}}</string>
  157
+						<reference key="NSSuperview" ref="921748330"/>
  158
+						<reference key="IBUIBackgroundColor" ref="253874401"/>
  159
+						<bool key="IBUIOpaque">NO</bool>
  160
+						<bool key="IBUIClipsSubviews">YES</bool>
  161
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
  162
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  163
+						<string key="IBUIText">Alert</string>
  164
+						<reference key="IBUIFont" ref="1025355288"/>
  165
+						<object class="NSColor" key="IBUITextColor" id="1059477681">
  166
+							<int key="NSColorSpace">3</int>
  167
+							<bytes key="NSWhite">MQA</bytes>
  168
+						</object>
  169
+						<nil key="IBUIHighlightedColor"/>
  170
+						<int key="IBUIBaselineAdjustment">1</int>
  171
+						<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
  172
+						<float key="IBUIMinimumFontSize">9</float>
  173
+						<int key="IBUITextAlignment">1</int>
  174
+					</object>
  175
+					<object class="IBUILabel" id="631683496">
  176
+						<reference key="NSNextResponder" ref="921748330"/>
  177
+						<int key="NSvFlags">257</int>
  178
+						<string key="NSFrame">{{237, 10}, {56, 22}}</string>
  179
+						<reference key="NSSuperview" ref="921748330"/>
  180
+						<reference key="IBUIBackgroundColor" ref="253874401"/>
  181
+						<bool key="IBUIOpaque">NO</bool>
  182
+						<bool key="IBUIClipsSubviews">YES</bool>
  183
+						<bool key="IBUIUserInteractionEnabled">NO</bool>
  184
+						<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  185
+						<string key="IBUIText">Sound</string>
  186
+						<reference key="IBUIFont" ref="1025355288"/>
  187
+						<reference key="IBUITextColor" ref="1059477681"/>
  188
+						<nil key="IBUIHighlightedColor"/>
  189
+						<int key="IBUIBaselineAdjustment">1</int>
  190
+						<bool key="IBUIAdjustsFontSizeToFit">NO</bool>
  191
+						<float key="IBUIMinimumFontSize">9</float>
  192
+						<int key="IBUITextAlignment">1</int>
  193
+					</object>
  194
+				</object>
  195
+				<string key="NSFrameSize">{320, 416}</string>
  196
+				<reference key="NSSuperview"/>
  197
+				<reference key="IBUIBackgroundColor" ref="1059477681"/>
  198
+				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
  199
+				<object class="IBUISimulatedNavigationBarMetrics" key="IBUISimulatedTopBarMetrics">
  200
+					<bool key="IBUIPrompted">NO</bool>
  201
+				</object>
  202
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
  203
+			</object>
  204
+		</object>
  205
+		<object class="IBObjectContainer" key="IBDocument.Objects">
  206
+			<object class="NSMutableArray" key="connectionRecords">
  207
+				<bool key="EncodedWithXMLCoder">YES</bool>
  208
+				<object class="IBConnectionRecord">
  209
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  210
+						<string key="label">view</string>
  211
+						<reference key="source" ref="372490531"/>
  212
+						<reference key="destination" ref="921748330"/>
  213
+					</object>
  214
+					<int key="connectionID">4</int>
  215
+				</object>
  216
+				<object class="IBConnectionRecord">
  217
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  218
+						<string key="label">imageView</string>
  219
+						<reference key="source" ref="372490531"/>
  220
+						<reference key="destination" ref="817257022"/>
  221
+					</object>
  222
+					<int key="connectionID">8</int>
  223
+				</object>
  224
+				<object class="IBConnectionRecord">
  225
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  226
+						<string key="label">badge</string>
  227
+						<reference key="source" ref="372490531"/>
  228
+						<reference key="destination" ref="71652634"/>
  229
+					</object>
  230
+					<int key="connectionID">16</int>
  231
+				</object>
  232
+				<object class="IBConnectionRecord">
  233
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  234
+						<string key="label">alert</string>
  235
+						<reference key="source" ref="372490531"/>
  236
+						<reference key="destination" ref="288400179"/>
  237
+					</object>
  238
+					<int key="connectionID">17</int>
  239
+				</object>
  240
+				<object class="IBConnectionRecord">
  241
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  242
+						<string key="label">sound</string>
  243
+						<reference key="source" ref="372490531"/>
  244
+						<reference key="destination" ref="1049564661"/>
  245
+					</object>
  246
+					<int key="connectionID">18</int>
  247
+				</object>
  248
+				<object class="IBConnectionRecord">
  249
+					<object class="IBCocoaTouchOutletConnection" key="connection">
  250
+						<string key="label">textView</string>
  251
+						<reference key="source" ref="372490531"/>
  252
+						<reference key="destination" ref="410919840"/>
  253
+					</object>
  254
+					<int key="connectionID">19</int>
  255
+				</object>
  256
+				<object class="IBConnectionRecord">
  257
+					<object class="IBCocoaTouchEventConnection" key="connection">
  258
+						<string key="label">switchValueDidChange:</string>
  259
+						<reference key="source" ref="1049564661"/>
  260
+						<reference key="destination" ref="372490531"/>
  261
+						<int key="IBEventType">13</int>
  262
+					</object>
  263
+					<int key="connectionID">20</int>
  264
+				</object>
  265
+				<object class="IBConnectionRecord">
  266
+					<object class="IBCocoaTouchEventConnection" key="connection">
  267
+						<string key="label">switchValueDidChange:</string>
  268
+						<reference key="source" ref="288400179"/>
  269
+						<reference key="destination" ref="372490531"/>
  270
+						<int key="IBEventType">13</int>
  271
+					</object>
  272
+					<int key="connectionID">21</int>
  273
+				</object>
  274
+				<object class="IBConnectionRecord">
  275
+					<object class="IBCocoaTouchEventConnection" key="connection">
  276
+						<string key="label">switchValueDidChange:</string>
  277
+						<reference key="source" ref="71652634"/>
  278
+						<reference key="destination" ref="372490531"/>
  279
+						<int key="IBEventType">13</int>
  280
+					</object>
  281
+					<int key="connectionID">22</int>
  282
+				</object>
  283
+			</object>
  284
+			<object class="IBMutableOrderedSet" key="objectRecords">
  285
+				<object class="NSArray" key="orderedObjects">
  286
+					<bool key="EncodedWithXMLCoder">YES</bool>
  287
+					<object class="IBObjectRecord">
  288
+						<int key="objectID">0</int>
  289
+						<reference key="object" ref="0"/>
  290
+						<reference key="children" ref="1000"/>
  291
+						<nil key="parent"/>
  292
+					</object>
  293
+					<object class="IBObjectRecord">
  294
+						<int key="objectID">-1</int>
  295
+						<reference key="object" ref="372490531"/>
  296
+						<reference key="parent" ref="0"/>
  297
+						<string key="objectName">File's Owner</string>
  298
+					</object>
  299
+					<object class="IBObjectRecord">
  300
+						<int key="objectID">-2</int>
  301
+						<reference key="object" ref="975951072"/>
  302
+						<reference key="parent" ref="0"/>
  303
+					</object>
  304
+					<object class="IBObjectRecord">
  305
+						<int key="objectID">3</int>
  306
+						<reference key="object" ref="921748330"/>
  307
+						<object class="NSMutableArray" key="children">
  308
+							<bool key="EncodedWithXMLCoder">YES</bool>
  309
+							<reference ref="817257022"/>
  310
+							<reference ref="71652634"/>
  311
+							<reference ref="288400179"/>
  312
+							<reference ref="1049564661"/>
  313
+							<reference ref="842366241"/>
  314
+							<reference ref="668101390"/>
  315
+							<reference ref="410919840"/>
  316
+							<reference ref="631683496"/>
  317
+						</object>
  318
+						<reference key="parent" ref="0"/>
  319
+					</object>
  320
+					<object class="IBObjectRecord">
  321
+						<int key="objectID">5</int>
  322
+						<reference key="object" ref="817257022"/>
  323
+						<reference key="parent" ref="921748330"/>
  324
+					</object>
  325
+					<object class="IBObjectRecord">
  326
+						<int key="objectID">9</int>
  327
+						<reference key="object" ref="410919840"/>
  328
+						<reference key="parent" ref="921748330"/>
  329
+					</object>
  330
+					<object class="IBObjectRecord">
  331
+						<int key="objectID">10</int>
  332
+						<reference key="object" ref="71652634"/>
  333
+						<reference key="parent" ref="921748330"/>
  334
+					</object>
  335
+					<object class="IBObjectRecord">
  336
+						<int key="objectID">11</int>
  337
+						<reference key="object" ref="288400179"/>
  338
+						<reference key="parent" ref="921748330"/>
  339
+					</object>
  340
+					<object class="IBObjectRecord">
  341
+						<int key="objectID">12</int>
  342
+						<reference key="object" ref="1049564661"/>
  343
+						<reference key="parent" ref="921748330"/>
  344
+					</object>
  345
+					<object class="IBObjectRecord">
  346
+						<int key="objectID">13</int>
  347
+						<reference key="object" ref="842366241"/>
  348
+						<reference key="parent" ref="921748330"/>
  349
+					</object>
  350
+					<object class="IBObjectRecord">
  351
+						<int key="objectID">14</int>
  352
+						<reference key="object" ref="668101390"/>
  353
+						<reference key="parent" ref="921748330"/>
  354
+					</object>
  355
+					<object class="IBObjectRecord">
  356
+						<int key="objectID">15</int>
  357
+						<reference key="object" ref="631683496"/>
  358
+						<reference key="parent" ref="921748330"/>
  359
+					</object>
  360
+				</object>
  361
+			</object>
  362
+			<object class="NSMutableDictionary" key="flattenedProperties">
  363
+				<bool key="EncodedWithXMLCoder">YES</bool>
  364
+				<object class="NSArray" key="dict.sortedKeys">
  365
+					<bool key="EncodedWithXMLCoder">YES</bool>
  366
+					<string>-1.CustomClassName</string>
  367
+					<string>-2.CustomClassName</string>
  368
+					<string>10.IBPluginDependency</string>
  369
+					<string>11.IBPluginDependency</string>
  370
+					<string>12.IBPluginDependency</string>
  371
+					<string>13.IBPluginDependency</string>
  372
+					<string>14.IBPluginDependency</string>
  373
+					<string>15.IBPluginDependency</string>
  374
+					<string>3.IBEditorWindowLastContentRect</string>
  375
+					<string>3.IBPluginDependency</string>
  376
+					<string>5.IBPluginDependency</string>
  377
+					<string>9.IBPluginDependency</string>
  378
+				</object>
  379
+				<object class="NSMutableArray" key="dict.values">
  380
+					<bool key="EncodedWithXMLCoder">YES</bool>
  381
+					<string>TestBedViewController</string>
  382
+					<string>UIResponder</string>
  383
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  384
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  385
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  386
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  387
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  388
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  389
+					<string>{{-550, 351}, {320, 480}}</string>
  390
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  391
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  392
+					<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  393
+				</object>
  394
+			</object>
  395
+			<object class="NSMutableDictionary" key="unlocalizedProperties">
  396
+				<bool key="EncodedWithXMLCoder">YES</bool>
  397
+				<reference key="dict.sortedKeys" ref="0"/>
  398
+				<object class="NSMutableArray" key="dict.values">
  399
+					<bool key="EncodedWithXMLCoder">YES</bool>
  400
+				</object>
  401
+			</object>
  402
+			<nil key="activeLocalization"/>
  403
+			<object class="NSMutableDictionary" key="localizations">
  404
+				<bool key="EncodedWithXMLCoder">YES</bool>
  405
+				<reference key="dict.sortedKeys" ref="0"/>
  406
+				<object class="NSMutableArray" key="dict.values">
  407
+					<bool key="EncodedWithXMLCoder">YES</bool>
  408
+				</object>
  409
+			</object>
  410
+			<nil key="sourceID"/>
  411
+			<int key="maxID">22</int>
  412
+		</object>
  413
+		<object class="IBClassDescriber" key="IBDocument.Classes">
  414
+			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
  415
+				<bool key="EncodedWithXMLCoder">YES</bool>
  416
+				<object class="IBPartialClassDescription">
  417
+					<string key="className">TestBedViewController</string>
  418
+					<string key="superclassName">UIViewController</string>
  419
+					<object class="NSMutableDictionary" key="actions">
  420
+						<string key="NS.key.0">switchValueDidChange:</string>
  421
+						<string key="NS.object.0">UISwitch</string>
  422
+					</object>
  423
+					<object class="NSMutableDictionary" key="outlets">
  424
+						<bool key="EncodedWithXMLCoder">YES</bool>
  425
+						<object class="NSArray" key="dict.sortedKeys">
  426
+							<bool key="EncodedWithXMLCoder">YES</bool>
  427
+							<string>alert</string>
  428
+							<string>badge</string>
  429
+							<string>imageView</string>
  430
+							<string>sound</string>
  431
+							<string>textView</string>
  432
+						</object>
  433
+						<object class="NSMutableArray" key="dict.values">
  434
+							<bool key="EncodedWithXMLCoder">YES</bool>
  435
+							<string>UISwitch</string>
  436
+							<string>UISwitch</string>
  437
+							<string>UIImageView</string>
  438
+							<string>UISwitch</string>
  439
+							<string>UITextView</string>
  440
+						</object>
  441
+					</object>
  442
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  443
+						<string key="majorKey">IBProjectSource</string>
  444
+						<string key="minorKey">TestBed Support/TestBedViewController.h</string>
  445
+					</object>
  446
+				</object>
  447
+			</object>
  448
+			<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
  449
+				<bool key="EncodedWithXMLCoder">YES</bool>
  450
+				<object class="IBPartialClassDescription">
  451
+					<string key="className">NSObject</string>
  452
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  453
+						<string key="majorKey">IBFrameworkSource</string>
  454
+						<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
  455
+					</object>
  456
+				</object>
  457
+				<object class="IBPartialClassDescription">
  458
+					<string key="className">NSObject</string>
  459
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  460
+						<string key="majorKey">IBFrameworkSource</string>
  461
+						<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
  462
+					</object>
  463
+				</object>
  464
+				<object class="IBPartialClassDescription">
  465
+					<string key="className">NSObject</string>
  466
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  467
+						<string key="majorKey">IBFrameworkSource</string>
  468
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
  469
+					</object>
  470
+				</object>
  471
+				<object class="IBPartialClassDescription">
  472
+					<string key="className">NSObject</string>
  473
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  474
+						<string key="majorKey">IBFrameworkSource</string>
  475
+						<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
  476
+					</object>
  477
+				</object>
  478
+				<object class="IBPartialClassDescription">
  479
+					<string key="className">NSObject</string>
  480
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
  481
+						<string key="majorKey">IBFrameworkSource</string>
  482