iCuke 0.4.12 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. data/Rakefile +3 -3
  2. data/VERSION +1 -1
  3. data/app/AlertsViewController.h +59 -0
  4. data/app/AlertsViewController.m +341 -0
  5. data/app/AppDelegate.h +60 -0
  6. data/app/AppDelegate.m +101 -0
  7. data/app/ButtonsViewController.h +80 -0
  8. data/app/ButtonsViewController.m +448 -0
  9. data/app/Constants.h +58 -0
  10. data/app/ControlsViewController.h +72 -0
  11. data/app/ControlsViewController.m +379 -0
  12. data/app/ImagesViewController.h +62 -0
  13. data/app/ImagesViewController.m +137 -0
  14. data/app/{iCuke/iCuke-Info.plist → Info.plist} +4 -4
  15. data/app/MainViewController.h +57 -0
  16. data/app/MainViewController.m +262 -0
  17. data/app/Picker/CustomPickerDataSource.h +55 -0
  18. data/app/Picker/CustomPickerDataSource.m +135 -0
  19. data/app/Picker/CustomView.h +62 -0
  20. data/app/Picker/CustomView.m +119 -0
  21. data/app/PickerViewController.h +88 -0
  22. data/app/PickerViewController.m +402 -0
  23. data/app/Prefix.pch +5 -0
  24. data/app/ReadMe.txt +82 -0
  25. data/app/SearchBarController.h +58 -0
  26. data/app/SearchBarController.m +105 -0
  27. data/app/SegmentViewController.h +54 -0
  28. data/app/SegmentViewController.m +195 -0
  29. data/app/TextFieldController.h +67 -0
  30. data/app/TextFieldController.m +342 -0
  31. data/app/TextViewController.h +57 -0
  32. data/app/TextViewController.m +164 -0
  33. data/app/ToolbarViewController.h +74 -0
  34. data/app/ToolbarViewController.m +303 -0
  35. data/app/TransitionViewController.h +64 -0
  36. data/app/TransitionViewController.m +178 -0
  37. data/app/UICatalog.xcodeproj/project.pbxproj +615 -0
  38. data/app/WebViewController.h +57 -0
  39. data/app/WebViewController.m +173 -0
  40. data/app/en.lproj/AlertsViewController.xib +144 -0
  41. data/app/en.lproj/ButtonsViewController.xib +147 -0
  42. data/app/en.lproj/ControlsViewController.xib +147 -0
  43. data/app/en.lproj/ImagesViewController.xib +264 -0
  44. data/app/en.lproj/Localizable.strings +41 -0
  45. data/app/en.lproj/MainWindow.xib +306 -0
  46. data/app/en.lproj/PickerViewController.xib +415 -0
  47. data/app/en.lproj/SearchBarController.xib +142 -0
  48. data/app/en.lproj/SegmentViewController.xib +143 -0
  49. data/app/en.lproj/TextFieldController.xib +167 -0
  50. data/app/en.lproj/TextViewController.xib +149 -0
  51. data/app/en.lproj/ToolbarViewController.xib +491 -0
  52. data/app/en.lproj/TransitionViewController.xib +255 -0
  53. data/app/en.lproj/WebViewController.xib +141 -0
  54. data/app/images/12-6AM.png +0 -0
  55. data/app/images/12-6PM.png +0 -0
  56. data/app/images/6-12AM.png +0 -0
  57. data/app/images/6-12PM.png +0 -0
  58. data/app/images/Default.png +0 -0
  59. data/app/images/Icon.png +0 -0
  60. data/app/images/UIButton_custom.png +0 -0
  61. data/app/images/blueButton.png +0 -0
  62. data/app/images/orangeslide.png +0 -0
  63. data/app/images/scene1.jpg +0 -0
  64. data/app/images/scene2.jpg +0 -0
  65. data/app/images/scene3.jpg +0 -0
  66. data/app/images/scene4.jpg +0 -0
  67. data/app/images/scene5.jpg +0 -0
  68. data/app/images/segment_check.png +0 -0
  69. data/app/images/segment_search.png +0 -0
  70. data/app/images/segment_tools.png +0 -0
  71. data/app/images/slider_ball.png +0 -0
  72. data/app/images/whiteButton.png +0 -0
  73. data/app/images/yellowslide.png +0 -0
  74. data/app/main.m +58 -0
  75. data/ext/iCuke/DefaultsResponse.m +0 -1
  76. data/ext/iCuke/EventResponse.m +9 -1
  77. data/ext/iCuke/Rakefile +1 -1
  78. data/ext/iCuke/Recorder.h +3 -1
  79. data/ext/iCuke/Recorder.m +10 -5
  80. data/ext/iCuke/RecorderResponse.h +1 -0
  81. data/ext/iCuke/RecorderResponse.m +10 -1
  82. data/ext/iCuke/Viewer.m +5 -6
  83. data/ext/iCuke/iCukeHTTPServer.m +1 -1
  84. data/ext/iCuke/iCukeServer.m +24 -7
  85. data/ext/iCuke/libicuke.dylib +0 -0
  86. data/features/uicatalog.feature +20 -0
  87. data/iCuke.gemspec +81 -24
  88. data/lib/icuke/com.apple.Accessibility.plist +0 -0
  89. data/lib/icuke/core_ext.rb +26 -0
  90. data/lib/icuke/cucumber.rb +20 -12
  91. data/lib/icuke/headless.rb +55 -0
  92. data/lib/icuke/simulator.rb +7 -129
  93. data/lib/icuke/xcode.rb +136 -0
  94. metadata +82 -25
  95. data/app/iCuke/Classes/FlipsideView.h +0 -13
  96. data/app/iCuke/Classes/FlipsideView.m +0 -32
  97. data/app/iCuke/Classes/FlipsideViewController.h +0 -25
  98. data/app/iCuke/Classes/FlipsideViewController.m +0 -54
  99. data/app/iCuke/Classes/MainView.h +0 -15
  100. data/app/iCuke/Classes/MainView.m +0 -32
  101. data/app/iCuke/Classes/MainViewController.h +0 -16
  102. data/app/iCuke/Classes/MainViewController.m +0 -86
  103. data/app/iCuke/Classes/iCukeAppDelegate.h +0 -20
  104. data/app/iCuke/Classes/iCukeAppDelegate.m +0 -33
  105. data/app/iCuke/FlipsideView.xib +0 -444
  106. data/app/iCuke/MainView.xib +0 -520
  107. data/app/iCuke/MainWindow.xib +0 -355
  108. data/app/iCuke/SniffingView.h +0 -20
  109. data/app/iCuke/SniffingView.m +0 -191
  110. data/app/iCuke/iCuke.xcodeproj/project.pbxproj +0 -313
  111. data/app/iCuke/iCuke_Prefix.pch +0 -14
  112. data/app/iCuke/main.m +0 -16
  113. data/features/icuke.feature +0 -17
  114. /data/app/{iCuke/.gitignore → .gitignore} +0 -0
@@ -0,0 +1,57 @@
1
+ /*
2
+ File: WebViewController.h
3
+ Abstract: The view controller for hosting the UIWebView feature of this sample.
4
+ Version: 2.6
5
+
6
+ Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7
+ Inc. ("Apple") in consideration of your agreement to the following
8
+ terms, and your use, installation, modification or redistribution of
9
+ this Apple software constitutes acceptance of these terms. If you do
10
+ not agree with these terms, please do not use, install, modify or
11
+ redistribute this Apple software.
12
+
13
+ In consideration of your agreement to abide by the following terms, and
14
+ subject to these terms, Apple grants you a personal, non-exclusive
15
+ license, under Apple's copyrights in this original Apple software (the
16
+ "Apple Software"), to use, reproduce, modify and redistribute the Apple
17
+ Software, with or without modifications, in source and/or binary forms;
18
+ provided that if you redistribute the Apple Software in its entirety and
19
+ without modifications, you must retain this notice and the following
20
+ text and disclaimers in all such redistributions of the Apple Software.
21
+ Neither the name, trademarks, service marks or logos of Apple Inc. may
22
+ be used to endorse or promote products derived from the Apple Software
23
+ without specific prior written permission from Apple. Except as
24
+ expressly stated in this notice, no other rights or licenses, express or
25
+ implied, are granted by Apple herein, including but not limited to any
26
+ patent rights that may be infringed by your derivative works or by other
27
+ works in which the Apple Software may be incorporated.
28
+
29
+ The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30
+ MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31
+ THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32
+ FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33
+ OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34
+
35
+ IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38
+ INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39
+ MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40
+ AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41
+ STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42
+ POSSIBILITY OF SUCH DAMAGE.
43
+
44
+ Copyright (C) 2009 Apple Inc. All Rights Reserved.
45
+
46
+ */
47
+
48
+ #import <UIKit/UIKit.h>
49
+
50
+ @interface WebViewController : UIViewController <UITextFieldDelegate, UIWebViewDelegate>
51
+ {
52
+ UIWebView *myWebView;
53
+ }
54
+
55
+ @property (nonatomic, retain) UIWebView *myWebView;
56
+
57
+ @end
@@ -0,0 +1,173 @@
1
+ /*
2
+ File: WebViewController.m
3
+ Abstract: The view controller for hosting the UIWebView feature of this sample.
4
+ Version: 2.6
5
+
6
+ Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
7
+ Inc. ("Apple") in consideration of your agreement to the following
8
+ terms, and your use, installation, modification or redistribution of
9
+ this Apple software constitutes acceptance of these terms. If you do
10
+ not agree with these terms, please do not use, install, modify or
11
+ redistribute this Apple software.
12
+
13
+ In consideration of your agreement to abide by the following terms, and
14
+ subject to these terms, Apple grants you a personal, non-exclusive
15
+ license, under Apple's copyrights in this original Apple software (the
16
+ "Apple Software"), to use, reproduce, modify and redistribute the Apple
17
+ Software, with or without modifications, in source and/or binary forms;
18
+ provided that if you redistribute the Apple Software in its entirety and
19
+ without modifications, you must retain this notice and the following
20
+ text and disclaimers in all such redistributions of the Apple Software.
21
+ Neither the name, trademarks, service marks or logos of Apple Inc. may
22
+ be used to endorse or promote products derived from the Apple Software
23
+ without specific prior written permission from Apple. Except as
24
+ expressly stated in this notice, no other rights or licenses, express or
25
+ implied, are granted by Apple herein, including but not limited to any
26
+ patent rights that may be infringed by your derivative works or by other
27
+ works in which the Apple Software may be incorporated.
28
+
29
+ The Apple Software is provided by Apple on an "AS IS" basis. APPLE
30
+ MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
31
+ THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
32
+ FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
33
+ OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
34
+
35
+ IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
36
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
37
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
38
+ INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
39
+ MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
40
+ AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
41
+ STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
42
+ POSSIBILITY OF SUCH DAMAGE.
43
+
44
+ Copyright (C) 2009 Apple Inc. All Rights Reserved.
45
+
46
+ */
47
+
48
+ #import "WebViewController.h"
49
+ #import "Constants.h"
50
+
51
+ @implementation WebViewController
52
+
53
+ @synthesize myWebView;
54
+
55
+ - (void)dealloc
56
+ {
57
+ myWebView.delegate = nil;
58
+ [myWebView release];
59
+
60
+ [super dealloc];
61
+ }
62
+
63
+ - (void)viewDidLoad
64
+ {
65
+ [super viewDidLoad];
66
+
67
+ self.title = NSLocalizedString(@"WebTitle", @"");
68
+
69
+ CGRect webFrame = [[UIScreen mainScreen] applicationFrame];
70
+ webFrame.origin.y += kTopMargin + 5.0; // leave from the URL input field and its label
71
+ webFrame.size.height -= 40.0;
72
+ self.myWebView = [[[UIWebView alloc] initWithFrame:webFrame] autorelease];
73
+ self.myWebView.backgroundColor = [UIColor whiteColor];
74
+ self.myWebView.scalesPageToFit = YES;
75
+ self.myWebView.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
76
+ self.myWebView.delegate = self;
77
+ [self.view addSubview: self.myWebView];
78
+
79
+ CGRect textFieldFrame = CGRectMake(kLeftMargin, kTweenMargin,
80
+ self.view.bounds.size.width - (kLeftMargin * 2.0), kTextFieldHeight);
81
+ UITextField *urlField = [[UITextField alloc] initWithFrame:textFieldFrame];
82
+ urlField.borderStyle = UITextBorderStyleBezel;
83
+ urlField.textColor = [UIColor blackColor];
84
+ urlField.delegate = self;
85
+ urlField.placeholder = @"<enter a URL>";
86
+ urlField.text = @"http://www.apple.com";
87
+ urlField.backgroundColor = [UIColor whiteColor];
88
+ urlField.autoresizingMask = UIViewAutoresizingFlexibleWidth;
89
+ urlField.returnKeyType = UIReturnKeyGo;
90
+ urlField.keyboardType = UIKeyboardTypeURL; // this makes the keyboard more friendly for typing URLs
91
+ urlField.autocapitalizationType = UITextAutocapitalizationTypeNone; // don't capitalize
92
+ urlField.autocorrectionType = UITextAutocorrectionTypeNo; // we don't like autocompletion while typing
93
+ urlField.clearButtonMode = UITextFieldViewModeAlways;
94
+ [urlField setAccessibilityLabel:NSLocalizedString(@"URLTextField", @"")];
95
+ [self.view addSubview:urlField];
96
+ [urlField release];
97
+
98
+ [self.myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.apple.com/"]]];
99
+ }
100
+
101
+ // called after the view controller's view is released and set to nil.
102
+ // For example, a memory warning which causes the view to be purged. Not invoked as a result of -dealloc.
103
+ // So release any properties that are loaded in viewDidLoad or can be recreated lazily.
104
+ //
105
+ - (void)viewDidUnload
106
+ {
107
+ [super viewDidUnload];
108
+
109
+ // release and set to nil
110
+ self.myWebView = nil;
111
+ }
112
+
113
+
114
+ #pragma mark -
115
+ #pragma mark UIViewController delegate methods
116
+
117
+ - (void)viewWillAppear:(BOOL)animated
118
+ {
119
+ self.myWebView.delegate = self; // setup the delegate as the web view is shown
120
+ }
121
+
122
+ - (void)viewWillDisappear:(BOOL)animated
123
+ {
124
+ [self.myWebView stopLoading]; // in case the web view is still loading its content
125
+ self.myWebView.delegate = nil; // disconnect the delegate as the webview is hidden
126
+ [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
127
+ }
128
+
129
+ - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
130
+ {
131
+ // we support rotation in this view controller
132
+ return YES;
133
+ }
134
+
135
+ // this helps dismiss the keyboard when the "Done" button is clicked
136
+ - (BOOL)textFieldShouldReturn:(UITextField *)textField
137
+ {
138
+ [textField resignFirstResponder];
139
+ [self.myWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[textField text]]]];
140
+
141
+ return YES;
142
+ }
143
+
144
+
145
+ #pragma mark -
146
+ #pragma mark UIWebViewDelegate
147
+
148
+ - (void)webViewDidStartLoad:(UIWebView *)webView
149
+ {
150
+ // starting the load, show the activity indicator in the status bar
151
+ [UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
152
+ }
153
+
154
+ - (void)webViewDidFinishLoad:(UIWebView *)webView
155
+ {
156
+ // finished loading, hide the activity indicator in the status bar
157
+ [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
158
+ }
159
+
160
+ - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error
161
+ {
162
+ // load error, hide the activity indicator in the status bar
163
+ [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
164
+
165
+ // report the error inside the webview
166
+ NSString* errorString = [NSString stringWithFormat:
167
+ @"<html><center><font size=+5 color='red'>An error occurred:<br>%@</font></center></html>",
168
+ error.localizedDescription];
169
+ [self.myWebView loadHTMLString:errorString baseURL:nil];
170
+ }
171
+
172
+ @end
173
+
@@ -0,0 +1,144 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03">
3
+ <data>
4
+ <int key="IBDocument.SystemTarget">768</int>
5
+ <string key="IBDocument.SystemVersion">9G55</string>
6
+ <string key="IBDocument.InterfaceBuilderVersion">677</string>
7
+ <string key="IBDocument.AppKitVersion">949.43</string>
8
+ <string key="IBDocument.HIToolboxVersion">353.00</string>
9
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
10
+ <bool key="EncodedWithXMLCoder">YES</bool>
11
+ </object>
12
+ <object class="NSArray" key="IBDocument.PluginDependencies">
13
+ <bool key="EncodedWithXMLCoder">YES</bool>
14
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
15
+ </object>
16
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
17
+ <bool key="EncodedWithXMLCoder">YES</bool>
18
+ <object class="NSArray" key="dict.sortedKeys">
19
+ <bool key="EncodedWithXMLCoder">YES</bool>
20
+ </object>
21
+ <object class="NSMutableArray" key="dict.values">
22
+ <bool key="EncodedWithXMLCoder">YES</bool>
23
+ </object>
24
+ </object>
25
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
26
+ <bool key="EncodedWithXMLCoder">YES</bool>
27
+ <object class="IBProxyObject" id="841351856">
28
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
29
+ </object>
30
+ <object class="IBProxyObject" id="371349661">
31
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
32
+ </object>
33
+ <object class="IBUITableView" id="278731389">
34
+ <nil key="NSNextResponder"/>
35
+ <int key="NSvFlags">274</int>
36
+ <string key="NSFrameSize">{320, 460}</string>
37
+ <bool key="IBUIOpaque">NO</bool>
38
+ <bool key="IBUIClipsSubviews">YES</bool>
39
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
40
+ <int key="IBUIStyle">1</int>
41
+ <int key="IBUISeparatorStyle">1</int>
42
+ <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
43
+ <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
44
+ <float key="IBUIRowHeight">4.400000e+01</float>
45
+ <float key="IBUISectionHeaderHeight">1.000000e+01</float>
46
+ <float key="IBUISectionFooterHeight">1.000000e+01</float>
47
+ </object>
48
+ </object>
49
+ <object class="IBObjectContainer" key="IBDocument.Objects">
50
+ <object class="NSMutableArray" key="connectionRecords">
51
+ <bool key="EncodedWithXMLCoder">YES</bool>
52
+ <object class="IBConnectionRecord">
53
+ <object class="IBCocoaTouchOutletConnection" key="connection">
54
+ <string key="label">view</string>
55
+ <reference key="source" ref="841351856"/>
56
+ <reference key="destination" ref="278731389"/>
57
+ </object>
58
+ <int key="connectionID">8</int>
59
+ </object>
60
+ </object>
61
+ <object class="IBMutableOrderedSet" key="objectRecords">
62
+ <object class="NSArray" key="orderedObjects">
63
+ <bool key="EncodedWithXMLCoder">YES</bool>
64
+ <object class="IBObjectRecord">
65
+ <int key="objectID">0</int>
66
+ <object class="NSArray" key="object" id="957960031">
67
+ <bool key="EncodedWithXMLCoder">YES</bool>
68
+ </object>
69
+ <reference key="children" ref="1000"/>
70
+ <nil key="parent"/>
71
+ </object>
72
+ <object class="IBObjectRecord">
73
+ <int key="objectID">-1</int>
74
+ <reference key="object" ref="841351856"/>
75
+ <reference key="parent" ref="957960031"/>
76
+ <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
77
+ </object>
78
+ <object class="IBObjectRecord">
79
+ <int key="objectID">-2</int>
80
+ <reference key="object" ref="371349661"/>
81
+ <reference key="parent" ref="957960031"/>
82
+ </object>
83
+ <object class="IBObjectRecord">
84
+ <int key="objectID">5</int>
85
+ <reference key="object" ref="278731389"/>
86
+ <reference key="parent" ref="957960031"/>
87
+ </object>
88
+ </object>
89
+ </object>
90
+ <object class="NSMutableDictionary" key="flattenedProperties">
91
+ <bool key="EncodedWithXMLCoder">YES</bool>
92
+ <object class="NSMutableArray" key="dict.sortedKeys">
93
+ <bool key="EncodedWithXMLCoder">YES</bool>
94
+ <string>-1.CustomClassName</string>
95
+ <string>-2.CustomClassName</string>
96
+ <string>5.IBPluginDependency</string>
97
+ </object>
98
+ <object class="NSMutableArray" key="dict.values">
99
+ <bool key="EncodedWithXMLCoder">YES</bool>
100
+ <string>AlertsViewController</string>
101
+ <string>UIResponder</string>
102
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
103
+ </object>
104
+ </object>
105
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
106
+ <bool key="EncodedWithXMLCoder">YES</bool>
107
+ <object class="NSArray" key="dict.sortedKeys">
108
+ <bool key="EncodedWithXMLCoder">YES</bool>
109
+ </object>
110
+ <object class="NSMutableArray" key="dict.values">
111
+ <bool key="EncodedWithXMLCoder">YES</bool>
112
+ </object>
113
+ </object>
114
+ <nil key="activeLocalization"/>
115
+ <object class="NSMutableDictionary" key="localizations">
116
+ <bool key="EncodedWithXMLCoder">YES</bool>
117
+ <object class="NSArray" key="dict.sortedKeys">
118
+ <bool key="EncodedWithXMLCoder">YES</bool>
119
+ </object>
120
+ <object class="NSMutableArray" key="dict.values">
121
+ <bool key="EncodedWithXMLCoder">YES</bool>
122
+ </object>
123
+ </object>
124
+ <nil key="sourceID"/>
125
+ <int key="maxID">8</int>
126
+ </object>
127
+ <object class="IBClassDescriber" key="IBDocument.Classes">
128
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
129
+ <bool key="EncodedWithXMLCoder">YES</bool>
130
+ <object class="IBPartialClassDescription">
131
+ <string key="className">AlertsViewController</string>
132
+ <string key="superclassName">UITableViewController</string>
133
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
134
+ <string key="majorKey">IBProjectSource</string>
135
+ <string key="minorKey">AlertsViewController.h</string>
136
+ </object>
137
+ </object>
138
+ </object>
139
+ </object>
140
+ <int key="IBDocument.localizationMode">0</int>
141
+ <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string>
142
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
143
+ </data>
144
+ </archive>
@@ -0,0 +1,147 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03">
3
+ <data>
4
+ <int key="IBDocument.SystemTarget">768</int>
5
+ <string key="IBDocument.SystemVersion">9G55</string>
6
+ <string key="IBDocument.InterfaceBuilderVersion">677</string>
7
+ <string key="IBDocument.AppKitVersion">949.43</string>
8
+ <string key="IBDocument.HIToolboxVersion">353.00</string>
9
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
10
+ <bool key="EncodedWithXMLCoder">YES</bool>
11
+ </object>
12
+ <object class="NSArray" key="IBDocument.PluginDependencies">
13
+ <bool key="EncodedWithXMLCoder">YES</bool>
14
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
15
+ </object>
16
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
17
+ <bool key="EncodedWithXMLCoder">YES</bool>
18
+ <object class="NSArray" key="dict.sortedKeys">
19
+ <bool key="EncodedWithXMLCoder">YES</bool>
20
+ </object>
21
+ <object class="NSMutableArray" key="dict.values">
22
+ <bool key="EncodedWithXMLCoder">YES</bool>
23
+ </object>
24
+ </object>
25
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
26
+ <bool key="EncodedWithXMLCoder">YES</bool>
27
+ <object class="IBProxyObject" id="841351856">
28
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
29
+ </object>
30
+ <object class="IBProxyObject" id="371349661">
31
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
32
+ </object>
33
+ <object class="IBUITableView" id="241673843">
34
+ <nil key="NSNextResponder"/>
35
+ <int key="NSvFlags">274</int>
36
+ <string key="NSFrameSize">{320, 247}</string>
37
+ <bool key="IBUIOpaque">NO</bool>
38
+ <bool key="IBUIClipsSubviews">YES</bool>
39
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
40
+ <bool key="IBUIBouncesZoom">NO</bool>
41
+ <int key="IBUIStyle">1</int>
42
+ <int key="IBUISeparatorStyle">1</int>
43
+ <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
44
+ <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
45
+ <float key="IBUIRowHeight">4.400000e+01</float>
46
+ <float key="IBUISectionHeaderHeight">2.700000e+01</float>
47
+ <float key="IBUISectionFooterHeight">2.700000e+01</float>
48
+ </object>
49
+ </object>
50
+ <object class="IBObjectContainer" key="IBDocument.Objects">
51
+ <object class="NSMutableArray" key="connectionRecords">
52
+ <bool key="EncodedWithXMLCoder">YES</bool>
53
+ <object class="IBConnectionRecord">
54
+ <object class="IBCocoaTouchOutletConnection" key="connection">
55
+ <string key="label">view</string>
56
+ <reference key="source" ref="841351856"/>
57
+ <reference key="destination" ref="241673843"/>
58
+ </object>
59
+ <int key="connectionID">3</int>
60
+ </object>
61
+ </object>
62
+ <object class="IBMutableOrderedSet" key="objectRecords">
63
+ <object class="NSArray" key="orderedObjects">
64
+ <bool key="EncodedWithXMLCoder">YES</bool>
65
+ <object class="IBObjectRecord">
66
+ <int key="objectID">0</int>
67
+ <object class="NSArray" key="object" id="957960031">
68
+ <bool key="EncodedWithXMLCoder">YES</bool>
69
+ </object>
70
+ <reference key="children" ref="1000"/>
71
+ <nil key="parent"/>
72
+ </object>
73
+ <object class="IBObjectRecord">
74
+ <int key="objectID">-1</int>
75
+ <reference key="object" ref="841351856"/>
76
+ <reference key="parent" ref="957960031"/>
77
+ <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
78
+ </object>
79
+ <object class="IBObjectRecord">
80
+ <int key="objectID">-2</int>
81
+ <reference key="object" ref="371349661"/>
82
+ <reference key="parent" ref="957960031"/>
83
+ </object>
84
+ <object class="IBObjectRecord">
85
+ <int key="objectID">2</int>
86
+ <reference key="object" ref="241673843"/>
87
+ <reference key="parent" ref="957960031"/>
88
+ </object>
89
+ </object>
90
+ </object>
91
+ <object class="NSMutableDictionary" key="flattenedProperties">
92
+ <bool key="EncodedWithXMLCoder">YES</bool>
93
+ <object class="NSMutableArray" key="dict.sortedKeys">
94
+ <bool key="EncodedWithXMLCoder">YES</bool>
95
+ <string>-1.CustomClassName</string>
96
+ <string>-2.CustomClassName</string>
97
+ <string>2.IBEditorWindowLastContentRect</string>
98
+ <string>2.IBPluginDependency</string>
99
+ </object>
100
+ <object class="NSMutableArray" key="dict.values">
101
+ <bool key="EncodedWithXMLCoder">YES</bool>
102
+ <string>ButtonsViewController</string>
103
+ <string>UIResponder</string>
104
+ <string>{{0, 748}, {320, 247}}</string>
105
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
106
+ </object>
107
+ </object>
108
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
109
+ <bool key="EncodedWithXMLCoder">YES</bool>
110
+ <object class="NSArray" key="dict.sortedKeys">
111
+ <bool key="EncodedWithXMLCoder">YES</bool>
112
+ </object>
113
+ <object class="NSMutableArray" key="dict.values">
114
+ <bool key="EncodedWithXMLCoder">YES</bool>
115
+ </object>
116
+ </object>
117
+ <nil key="activeLocalization"/>
118
+ <object class="NSMutableDictionary" key="localizations">
119
+ <bool key="EncodedWithXMLCoder">YES</bool>
120
+ <object class="NSArray" key="dict.sortedKeys">
121
+ <bool key="EncodedWithXMLCoder">YES</bool>
122
+ </object>
123
+ <object class="NSMutableArray" key="dict.values">
124
+ <bool key="EncodedWithXMLCoder">YES</bool>
125
+ </object>
126
+ </object>
127
+ <nil key="sourceID"/>
128
+ <int key="maxID">3</int>
129
+ </object>
130
+ <object class="IBClassDescriber" key="IBDocument.Classes">
131
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
132
+ <bool key="EncodedWithXMLCoder">YES</bool>
133
+ <object class="IBPartialClassDescription">
134
+ <string key="className">ButtonsViewController</string>
135
+ <string key="superclassName">UITableViewController</string>
136
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
137
+ <string key="majorKey">IBProjectSource</string>
138
+ <string key="minorKey">ButtonsViewController.h</string>
139
+ </object>
140
+ </object>
141
+ </object>
142
+ </object>
143
+ <int key="IBDocument.localizationMode">0</int>
144
+ <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string>
145
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
146
+ </data>
147
+ </archive>
@@ -0,0 +1,147 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.03">
3
+ <data>
4
+ <int key="IBDocument.SystemTarget">768</int>
5
+ <string key="IBDocument.SystemVersion">9G55</string>
6
+ <string key="IBDocument.InterfaceBuilderVersion">677</string>
7
+ <string key="IBDocument.AppKitVersion">949.43</string>
8
+ <string key="IBDocument.HIToolboxVersion">353.00</string>
9
+ <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
10
+ <bool key="EncodedWithXMLCoder">YES</bool>
11
+ </object>
12
+ <object class="NSArray" key="IBDocument.PluginDependencies">
13
+ <bool key="EncodedWithXMLCoder">YES</bool>
14
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
15
+ </object>
16
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
17
+ <bool key="EncodedWithXMLCoder">YES</bool>
18
+ <object class="NSArray" key="dict.sortedKeys">
19
+ <bool key="EncodedWithXMLCoder">YES</bool>
20
+ </object>
21
+ <object class="NSMutableArray" key="dict.values">
22
+ <bool key="EncodedWithXMLCoder">YES</bool>
23
+ </object>
24
+ </object>
25
+ <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
26
+ <bool key="EncodedWithXMLCoder">YES</bool>
27
+ <object class="IBProxyObject" id="841351856">
28
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
29
+ </object>
30
+ <object class="IBProxyObject" id="371349661">
31
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
32
+ </object>
33
+ <object class="IBUITableView" id="241673843">
34
+ <nil key="NSNextResponder"/>
35
+ <int key="NSvFlags">274</int>
36
+ <string key="NSFrameSize">{320, 247}</string>
37
+ <bool key="IBUIOpaque">NO</bool>
38
+ <bool key="IBUIClipsSubviews">YES</bool>
39
+ <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
40
+ <bool key="IBUIBouncesZoom">NO</bool>
41
+ <int key="IBUIStyle">1</int>
42
+ <int key="IBUISeparatorStyle">1</int>
43
+ <int key="IBUISectionIndexMinimumDisplayRowCount">0</int>
44
+ <bool key="IBUIShowsSelectionImmediatelyOnTouchBegin">YES</bool>
45
+ <float key="IBUIRowHeight">4.400000e+01</float>
46
+ <float key="IBUISectionHeaderHeight">2.700000e+01</float>
47
+ <float key="IBUISectionFooterHeight">2.700000e+01</float>
48
+ </object>
49
+ </object>
50
+ <object class="IBObjectContainer" key="IBDocument.Objects">
51
+ <object class="NSMutableArray" key="connectionRecords">
52
+ <bool key="EncodedWithXMLCoder">YES</bool>
53
+ <object class="IBConnectionRecord">
54
+ <object class="IBCocoaTouchOutletConnection" key="connection">
55
+ <string key="label">view</string>
56
+ <reference key="source" ref="841351856"/>
57
+ <reference key="destination" ref="241673843"/>
58
+ </object>
59
+ <int key="connectionID">4</int>
60
+ </object>
61
+ </object>
62
+ <object class="IBMutableOrderedSet" key="objectRecords">
63
+ <object class="NSArray" key="orderedObjects">
64
+ <bool key="EncodedWithXMLCoder">YES</bool>
65
+ <object class="IBObjectRecord">
66
+ <int key="objectID">0</int>
67
+ <object class="NSArray" key="object" id="957960031">
68
+ <bool key="EncodedWithXMLCoder">YES</bool>
69
+ </object>
70
+ <reference key="children" ref="1000"/>
71
+ <nil key="parent"/>
72
+ </object>
73
+ <object class="IBObjectRecord">
74
+ <int key="objectID">-1</int>
75
+ <reference key="object" ref="841351856"/>
76
+ <reference key="parent" ref="957960031"/>
77
+ <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
78
+ </object>
79
+ <object class="IBObjectRecord">
80
+ <int key="objectID">-2</int>
81
+ <reference key="object" ref="371349661"/>
82
+ <reference key="parent" ref="957960031"/>
83
+ </object>
84
+ <object class="IBObjectRecord">
85
+ <int key="objectID">2</int>
86
+ <reference key="object" ref="241673843"/>
87
+ <reference key="parent" ref="957960031"/>
88
+ </object>
89
+ </object>
90
+ </object>
91
+ <object class="NSMutableDictionary" key="flattenedProperties">
92
+ <bool key="EncodedWithXMLCoder">YES</bool>
93
+ <object class="NSMutableArray" key="dict.sortedKeys">
94
+ <bool key="EncodedWithXMLCoder">YES</bool>
95
+ <string>-1.CustomClassName</string>
96
+ <string>-2.CustomClassName</string>
97
+ <string>2.IBEditorWindowLastContentRect</string>
98
+ <string>2.IBPluginDependency</string>
99
+ </object>
100
+ <object class="NSMutableArray" key="dict.values">
101
+ <bool key="EncodedWithXMLCoder">YES</bool>
102
+ <string>ControlsViewController</string>
103
+ <string>UIResponder</string>
104
+ <string>{{0, 748}, {320, 247}}</string>
105
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
106
+ </object>
107
+ </object>
108
+ <object class="NSMutableDictionary" key="unlocalizedProperties">
109
+ <bool key="EncodedWithXMLCoder">YES</bool>
110
+ <object class="NSArray" key="dict.sortedKeys">
111
+ <bool key="EncodedWithXMLCoder">YES</bool>
112
+ </object>
113
+ <object class="NSMutableArray" key="dict.values">
114
+ <bool key="EncodedWithXMLCoder">YES</bool>
115
+ </object>
116
+ </object>
117
+ <nil key="activeLocalization"/>
118
+ <object class="NSMutableDictionary" key="localizations">
119
+ <bool key="EncodedWithXMLCoder">YES</bool>
120
+ <object class="NSArray" key="dict.sortedKeys">
121
+ <bool key="EncodedWithXMLCoder">YES</bool>
122
+ </object>
123
+ <object class="NSMutableArray" key="dict.values">
124
+ <bool key="EncodedWithXMLCoder">YES</bool>
125
+ </object>
126
+ </object>
127
+ <nil key="sourceID"/>
128
+ <int key="maxID">4</int>
129
+ </object>
130
+ <object class="IBClassDescriber" key="IBDocument.Classes">
131
+ <object class="NSMutableArray" key="referencedPartialClassDescriptions">
132
+ <bool key="EncodedWithXMLCoder">YES</bool>
133
+ <object class="IBPartialClassDescription">
134
+ <string key="className">ControlsViewController</string>
135
+ <string key="superclassName">UITableViewController</string>
136
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
137
+ <string key="majorKey">IBProjectSource</string>
138
+ <string key="minorKey">ControlsViewController.h</string>
139
+ </object>
140
+ </object>
141
+ </object>
142
+ </object>
143
+ <int key="IBDocument.localizationMode">0</int>
144
+ <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string>
145
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
146
+ </data>
147
+ </archive>