iCuke 0.5.5 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. data/.gitignore +2 -0
  2. data/.gitmodules +3 -0
  3. data/README.rdoc +8 -7
  4. data/Rakefile +10 -30
  5. data/VERSION +1 -1
  6. data/app/.gitignore +3 -0
  7. data/app/LICENSE +20 -0
  8. data/app/Readme.markdown +3 -0
  9. data/app/Shared/AppDelegate_Shared.h +17 -0
  10. data/app/Shared/AppDelegate_Shared.m +25 -0
  11. data/app/{images/yellowslide.png → Shared/Icon.png} +0 -0
  12. data/app/Shared/ModalViewController.h +15 -0
  13. data/app/Shared/ModalViewController.m +96 -0
  14. data/app/Shared/TestViewController_Shared.h +15 -0
  15. data/app/Shared/TestViewController_Shared.m +43 -0
  16. data/app/{Info.plist → Shared/Universal-Info.plist} +17 -4
  17. data/app/Shared/Universal_Prefix.pch +8 -0
  18. data/app/Shared/main.m +14 -0
  19. data/app/Universal.xcodeproj/project.pbxproj +301 -0
  20. data/app/iPad/AppDelegate_Pad.h +15 -0
  21. data/app/iPad/AppDelegate_Pad.m +28 -0
  22. data/app/iPad/Default-Landscape.png +0 -0
  23. data/app/iPad/Default-Portrait.png +0 -0
  24. data/app/iPad/MainWindow_Pad.xib +343 -0
  25. data/app/iPad/TestViewController_Pad.h +15 -0
  26. data/app/iPad/TestViewController_Pad.m +52 -0
  27. data/app/iPhone/AppDelegate_Phone.h +15 -0
  28. data/app/iPhone/AppDelegate_Phone.m +28 -0
  29. data/app/{images/segment_search.png → iPhone/Default.png} +0 -0
  30. data/app/iPhone/MainWindow_Phone.xib +363 -0
  31. data/app/iPhone/TestViewController_Phone.h +15 -0
  32. data/app/iPhone/TestViewController_Phone.m +36 -0
  33. data/bin/.gitignore +1 -0
  34. data/bin/icuke +10 -0
  35. data/bin/icuke-module +17 -0
  36. data/ext/.gitignore +1 -0
  37. data/ext/Rakefile +6 -0
  38. data/ext/WaxSim/Simulator.h +31 -0
  39. data/ext/WaxSim/Simulator.m +131 -0
  40. data/ext/WaxSim/WaxSim.m +110 -0
  41. data/ext/WaxSim/WaxSim.xcodeproj/project.pbxproj +238 -0
  42. data/ext/WaxSim/WaxSim_Prefix.pch +7 -0
  43. data/ext/WaxSim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h +126 -0
  44. data/ext/iCuke/Rakefile +14 -17
  45. data/ext/iCuke/libicuke-sdk3.1.dylib +0 -0
  46. data/ext/iCuke/libicuke-sdk4.0.dylib +0 -0
  47. data/ext/iCuke/libicuke.dylib +0 -0
  48. data/ext/iCuke/{DefaultsResponse.h → sdk3.1/DefaultsResponse.h} +0 -0
  49. data/ext/iCuke/{DefaultsResponse.m → sdk3.1/DefaultsResponse.m} +0 -0
  50. data/ext/iCuke/{EventResponse.h → sdk3.1/EventResponse.h} +0 -0
  51. data/ext/iCuke/{EventResponse.m → sdk3.1/EventResponse.m} +0 -0
  52. data/ext/iCuke/sdk3.1/ModuleResponse.h +5 -0
  53. data/ext/iCuke/sdk3.1/ModuleResponse.m +76 -0
  54. data/ext/iCuke/sdk3.1/Rakefile +20 -0
  55. data/ext/iCuke/{Recorder.h → sdk3.1/Recorder.h} +0 -0
  56. data/ext/iCuke/{Recorder.m → sdk3.1/Recorder.m} +0 -0
  57. data/ext/iCuke/{RecorderResponse.h → sdk3.1/RecorderResponse.h} +0 -0
  58. data/ext/iCuke/{RecorderResponse.m → sdk3.1/RecorderResponse.m} +0 -0
  59. data/ext/iCuke/{SynthesizeSingleton.h → sdk3.1/SynthesizeSingleton.h} +0 -0
  60. data/ext/iCuke/{ViewResponse.h → sdk3.1/ViewResponse.h} +0 -0
  61. data/ext/iCuke/{ViewResponse.m → sdk3.1/ViewResponse.m} +0 -0
  62. data/ext/iCuke/{Viewer.h → sdk3.1/Viewer.h} +0 -0
  63. data/ext/iCuke/sdk3.1/Viewer.m +203 -0
  64. data/ext/iCuke/{iCukeHTTPResponseHandler.h → sdk3.1/iCukeHTTPResponseHandler.h} +0 -0
  65. data/ext/iCuke/{iCukeHTTPResponseHandler.m → sdk3.1/iCukeHTTPResponseHandler.m} +0 -0
  66. data/ext/iCuke/{iCukeHTTPServer.h → sdk3.1/iCukeHTTPServer.h} +0 -0
  67. data/ext/iCuke/{iCukeHTTPServer.m → sdk3.1/iCukeHTTPServer.m} +0 -0
  68. data/ext/iCuke/{iCukeServer.h → sdk3.1/iCukeServer.h} +0 -2
  69. data/ext/iCuke/{iCukeServer.m → sdk3.1/iCukeServer.m} +22 -20
  70. data/ext/iCuke/{json → sdk3.1/json}/JSON.h +0 -0
  71. data/ext/iCuke/{json → sdk3.1/json}/NSObject+SBJSON.h +0 -0
  72. data/ext/iCuke/{json → sdk3.1/json}/NSObject+SBJSON.m +0 -0
  73. data/ext/iCuke/{json → sdk3.1/json}/NSString+SBJSON.h +0 -0
  74. data/ext/iCuke/{json → sdk3.1/json}/NSString+SBJSON.m +0 -0
  75. data/ext/iCuke/{json → sdk3.1/json}/SBJSON.h +0 -0
  76. data/ext/iCuke/{json → sdk3.1/json}/SBJSON.m +0 -0
  77. data/ext/iCuke/{json → sdk3.1/json}/SBJsonBase.h +0 -0
  78. data/ext/iCuke/{json → sdk3.1/json}/SBJsonBase.m +0 -0
  79. data/ext/iCuke/{json → sdk3.1/json}/SBJsonParser.h +0 -0
  80. data/ext/iCuke/{json → sdk3.1/json}/SBJsonParser.m +0 -0
  81. data/ext/iCuke/{json → sdk3.1/json}/SBJsonWriter.h +0 -0
  82. data/ext/iCuke/{json → sdk3.1/json}/SBJsonWriter.m +0 -0
  83. data/ext/iCuke/sdk4.0/DefaultsResponse.h +5 -0
  84. data/ext/iCuke/sdk4.0/DefaultsResponse.m +66 -0
  85. data/ext/iCuke/sdk4.0/EventResponse.h +5 -0
  86. data/ext/iCuke/sdk4.0/EventResponse.m +130 -0
  87. data/ext/iCuke/sdk4.0/ModuleResponse.h +5 -0
  88. data/ext/iCuke/sdk4.0/ModuleResponse.m +76 -0
  89. data/ext/iCuke/sdk4.0/Rakefile +20 -0
  90. data/ext/iCuke/sdk4.0/Recorder.h +17 -0
  91. data/ext/iCuke/sdk4.0/Recorder.m +90 -0
  92. data/ext/iCuke/sdk4.0/RecorderResponse.h +6 -0
  93. data/ext/iCuke/sdk4.0/RecorderResponse.m +68 -0
  94. data/ext/iCuke/sdk4.0/SynthesizeSingleton.h +68 -0
  95. data/ext/iCuke/sdk4.0/ViewResponse.h +5 -0
  96. data/ext/iCuke/sdk4.0/ViewResponse.m +84 -0
  97. data/ext/iCuke/sdk4.0/Viewer.h +8 -0
  98. data/ext/iCuke/{Viewer.m → sdk4.0/Viewer.m} +14 -0
  99. data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.h +50 -0
  100. data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.m +381 -0
  101. data/ext/iCuke/sdk4.0/iCukeHTTPServer.h +53 -0
  102. data/ext/iCuke/sdk4.0/iCukeHTTPServer.m +365 -0
  103. data/ext/iCuke/sdk4.0/iCukeServer.h +14 -0
  104. data/ext/iCuke/sdk4.0/iCukeServer.m +65 -0
  105. data/ext/iCuke/sdk4.0/json/JSON.h +50 -0
  106. data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.h +68 -0
  107. data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.m +53 -0
  108. data/ext/iCuke/sdk4.0/json/NSString+SBJSON.h +58 -0
  109. data/ext/iCuke/sdk4.0/json/NSString+SBJSON.m +55 -0
  110. data/ext/iCuke/sdk4.0/json/SBJSON.h +75 -0
  111. data/ext/iCuke/sdk4.0/json/SBJSON.m +212 -0
  112. data/ext/iCuke/sdk4.0/json/SBJsonBase.h +86 -0
  113. data/ext/iCuke/sdk4.0/json/SBJsonBase.m +78 -0
  114. data/ext/iCuke/sdk4.0/json/SBJsonParser.h +87 -0
  115. data/ext/iCuke/sdk4.0/json/SBJsonParser.m +475 -0
  116. data/ext/iCuke/sdk4.0/json/SBJsonWriter.h +129 -0
  117. data/ext/iCuke/sdk4.0/json/SBJsonWriter.m +228 -0
  118. data/features/iphone.feature +15 -0
  119. data/features/support/env.rb +1 -1
  120. data/iCuke.gemspec +118 -114
  121. data/lib/icuke/cucumber.rb +93 -64
  122. data/lib/icuke/screen.rb +110 -0
  123. data/lib/icuke/sdk.rb +134 -0
  124. data/lib/icuke/simulate.rb +9 -5
  125. data/lib/icuke/simulator.rb +10 -11
  126. data/lib/icuke/waxsim.rb +36 -0
  127. data/lib/icuke.rb +2 -1
  128. metadata +124 -129
  129. data/app/AlertsViewController.h +0 -59
  130. data/app/AlertsViewController.m +0 -341
  131. data/app/AppDelegate.h +0 -60
  132. data/app/AppDelegate.m +0 -101
  133. data/app/ButtonsViewController.h +0 -80
  134. data/app/ButtonsViewController.m +0 -448
  135. data/app/Constants.h +0 -58
  136. data/app/ControlsViewController.h +0 -72
  137. data/app/ControlsViewController.m +0 -379
  138. data/app/ImagesViewController.h +0 -62
  139. data/app/ImagesViewController.m +0 -137
  140. data/app/MainViewController.h +0 -57
  141. data/app/MainViewController.m +0 -262
  142. data/app/Picker/CustomPickerDataSource.h +0 -55
  143. data/app/Picker/CustomPickerDataSource.m +0 -135
  144. data/app/Picker/CustomView.h +0 -62
  145. data/app/Picker/CustomView.m +0 -119
  146. data/app/PickerViewController.h +0 -88
  147. data/app/PickerViewController.m +0 -402
  148. data/app/Prefix.pch +0 -5
  149. data/app/ReadMe.txt +0 -82
  150. data/app/SearchBarController.h +0 -58
  151. data/app/SearchBarController.m +0 -105
  152. data/app/SegmentViewController.h +0 -54
  153. data/app/SegmentViewController.m +0 -195
  154. data/app/TextFieldController.h +0 -67
  155. data/app/TextFieldController.m +0 -342
  156. data/app/TextViewController.h +0 -57
  157. data/app/TextViewController.m +0 -164
  158. data/app/ToolbarViewController.h +0 -74
  159. data/app/ToolbarViewController.m +0 -303
  160. data/app/TransitionViewController.h +0 -64
  161. data/app/TransitionViewController.m +0 -178
  162. data/app/UICatalog.xcodeproj/project.pbxproj +0 -615
  163. data/app/WebViewController.h +0 -57
  164. data/app/WebViewController.m +0 -173
  165. data/app/en.lproj/AlertsViewController.xib +0 -144
  166. data/app/en.lproj/ButtonsViewController.xib +0 -147
  167. data/app/en.lproj/ControlsViewController.xib +0 -147
  168. data/app/en.lproj/ImagesViewController.xib +0 -264
  169. data/app/en.lproj/Localizable.strings +0 -41
  170. data/app/en.lproj/MainWindow.xib +0 -306
  171. data/app/en.lproj/PickerViewController.xib +0 -415
  172. data/app/en.lproj/SearchBarController.xib +0 -142
  173. data/app/en.lproj/SegmentViewController.xib +0 -143
  174. data/app/en.lproj/TextFieldController.xib +0 -167
  175. data/app/en.lproj/TextViewController.xib +0 -149
  176. data/app/en.lproj/ToolbarViewController.xib +0 -491
  177. data/app/en.lproj/TransitionViewController.xib +0 -255
  178. data/app/en.lproj/WebViewController.xib +0 -141
  179. data/app/images/12-6AM.png +0 -0
  180. data/app/images/12-6PM.png +0 -0
  181. data/app/images/6-12AM.png +0 -0
  182. data/app/images/6-12PM.png +0 -0
  183. data/app/images/Default.png +0 -0
  184. data/app/images/Icon.png +0 -0
  185. data/app/images/UIButton_custom.png +0 -0
  186. data/app/images/blueButton.png +0 -0
  187. data/app/images/orangeslide.png +0 -0
  188. data/app/images/scene1.jpg +0 -0
  189. data/app/images/scene2.jpg +0 -0
  190. data/app/images/scene3.jpg +0 -0
  191. data/app/images/scene4.jpg +0 -0
  192. data/app/images/scene5.jpg +0 -0
  193. data/app/images/segment_check.png +0 -0
  194. data/app/images/segment_tools.png +0 -0
  195. data/app/images/slider_ball.png +0 -0
  196. data/app/images/whiteButton.png +0 -0
  197. data/app/main.m +0 -58
  198. data/features/uicatalog.feature +0 -20
  199. data/lib/icuke/com.apple.Accessibility.plist +0 -0
  200. data/lib/icuke/headless.rb +0 -54
  201. data/lib/icuke/xcode.rb +0 -164
@@ -1,255 +0,0 @@
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
- <integer value="8"/>
12
- </object>
13
- <object class="NSArray" key="IBDocument.PluginDependencies">
14
- <bool key="EncodedWithXMLCoder">YES</bool>
15
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
16
- </object>
17
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
18
- <bool key="EncodedWithXMLCoder">YES</bool>
19
- <object class="NSArray" key="dict.sortedKeys">
20
- <bool key="EncodedWithXMLCoder">YES</bool>
21
- </object>
22
- <object class="NSMutableArray" key="dict.values">
23
- <bool key="EncodedWithXMLCoder">YES</bool>
24
- </object>
25
- </object>
26
- <object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
27
- <bool key="EncodedWithXMLCoder">YES</bool>
28
- <object class="IBProxyObject" id="841351856">
29
- <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
30
- </object>
31
- <object class="IBProxyObject" id="371349661">
32
- <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
33
- </object>
34
- <object class="IBUIView" id="531101154">
35
- <reference key="NSNextResponder"/>
36
- <int key="NSvFlags">292</int>
37
- <object class="NSMutableArray" key="NSSubviews">
38
- <bool key="EncodedWithXMLCoder">YES</bool>
39
- <object class="IBUIToolbar" id="844501849">
40
- <reference key="NSNextResponder" ref="531101154"/>
41
- <int key="NSvFlags">266</int>
42
- <string key="NSFrame">{{0, 416}, {320, 44}}</string>
43
- <reference key="NSSuperview" ref="531101154"/>
44
- <bool key="IBUIOpaque">NO</bool>
45
- <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
46
- <object class="NSMutableArray" key="IBUIItems">
47
- <bool key="EncodedWithXMLCoder">YES</bool>
48
- <object class="IBUIBarButtonItem" id="893156490">
49
- <int key="IBUIStyle">1</int>
50
- <reference key="IBUIToolbar" ref="844501849"/>
51
- <int key="IBUISystemItemIdentifier">5</int>
52
- </object>
53
- <object class="IBUIBarButtonItem" id="10773593">
54
- <string key="IBUITitle">Flip Image</string>
55
- <int key="IBUIStyle">1</int>
56
- <reference key="IBUIToolbar" ref="844501849"/>
57
- </object>
58
- <object class="IBUIBarButtonItem" id="471438469">
59
- <string key="IBUITitle">Curl Image</string>
60
- <int key="IBUIStyle">1</int>
61
- <reference key="IBUIToolbar" ref="844501849"/>
62
- </object>
63
- <object class="IBUIBarButtonItem" id="1020058393">
64
- <reference key="IBUIToolbar" ref="844501849"/>
65
- <int key="IBUISystemItemIdentifier">5</int>
66
- </object>
67
- </object>
68
- <object class="NSColor" key="IBUITintColor">
69
- <int key="NSColorSpace">1</int>
70
- <bytes key="NSRGB">MC4wMDUzNjkzMzE3IDAuMDA1MzAzODUxOCAwLjAwNTQzNDgxMTEAA</bytes>
71
- </object>
72
- </object>
73
- </object>
74
- <string key="NSFrameSize">{320, 460}</string>
75
- <reference key="NSSuperview"/>
76
- <object class="NSColor" key="IBUIBackgroundColor">
77
- <int key="NSColorSpace">1</int>
78
- <bytes key="NSRGB">MCAwIDAAA</bytes>
79
- </object>
80
- <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
81
- </object>
82
- </object>
83
- <object class="IBObjectContainer" key="IBDocument.Objects">
84
- <object class="NSMutableArray" key="connectionRecords">
85
- <bool key="EncodedWithXMLCoder">YES</bool>
86
- <object class="IBConnectionRecord">
87
- <object class="IBCocoaTouchOutletConnection" key="connection">
88
- <string key="label">view</string>
89
- <reference key="source" ref="841351856"/>
90
- <reference key="destination" ref="531101154"/>
91
- </object>
92
- <int key="connectionID">7</int>
93
- </object>
94
- <object class="IBConnectionRecord">
95
- <object class="IBCocoaTouchEventConnection" key="connection">
96
- <string key="label">curlAction:</string>
97
- <reference key="source" ref="471438469"/>
98
- <reference key="destination" ref="841351856"/>
99
- </object>
100
- <int key="connectionID">13</int>
101
- </object>
102
- <object class="IBConnectionRecord">
103
- <object class="IBCocoaTouchEventConnection" key="connection">
104
- <string key="label">flipAction:</string>
105
- <reference key="source" ref="10773593"/>
106
- <reference key="destination" ref="841351856"/>
107
- </object>
108
- <int key="connectionID">14</int>
109
- </object>
110
- </object>
111
- <object class="IBMutableOrderedSet" key="objectRecords">
112
- <object class="NSArray" key="orderedObjects">
113
- <bool key="EncodedWithXMLCoder">YES</bool>
114
- <object class="IBObjectRecord">
115
- <int key="objectID">0</int>
116
- <object class="NSArray" key="object" id="957960031">
117
- <bool key="EncodedWithXMLCoder">YES</bool>
118
- </object>
119
- <reference key="children" ref="1000"/>
120
- <nil key="parent"/>
121
- </object>
122
- <object class="IBObjectRecord">
123
- <int key="objectID">-1</int>
124
- <reference key="object" ref="841351856"/>
125
- <reference key="parent" ref="957960031"/>
126
- <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
127
- </object>
128
- <object class="IBObjectRecord">
129
- <int key="objectID">-2</int>
130
- <reference key="object" ref="371349661"/>
131
- <reference key="parent" ref="957960031"/>
132
- </object>
133
- <object class="IBObjectRecord">
134
- <int key="objectID">6</int>
135
- <reference key="object" ref="531101154"/>
136
- <object class="NSMutableArray" key="children">
137
- <bool key="EncodedWithXMLCoder">YES</bool>
138
- <reference ref="844501849"/>
139
- </object>
140
- <reference key="parent" ref="957960031"/>
141
- </object>
142
- <object class="IBObjectRecord">
143
- <int key="objectID">8</int>
144
- <reference key="object" ref="844501849"/>
145
- <object class="NSMutableArray" key="children">
146
- <bool key="EncodedWithXMLCoder">YES</bool>
147
- <reference ref="893156490"/>
148
- <reference ref="10773593"/>
149
- <reference ref="471438469"/>
150
- <reference ref="1020058393"/>
151
- </object>
152
- <reference key="parent" ref="531101154"/>
153
- </object>
154
- <object class="IBObjectRecord">
155
- <int key="objectID">9</int>
156
- <reference key="object" ref="893156490"/>
157
- <reference key="parent" ref="844501849"/>
158
- </object>
159
- <object class="IBObjectRecord">
160
- <int key="objectID">10</int>
161
- <reference key="object" ref="10773593"/>
162
- <reference key="parent" ref="844501849"/>
163
- </object>
164
- <object class="IBObjectRecord">
165
- <int key="objectID">11</int>
166
- <reference key="object" ref="471438469"/>
167
- <reference key="parent" ref="844501849"/>
168
- </object>
169
- <object class="IBObjectRecord">
170
- <int key="objectID">12</int>
171
- <reference key="object" ref="1020058393"/>
172
- <reference key="parent" ref="844501849"/>
173
- </object>
174
- </object>
175
- </object>
176
- <object class="NSMutableDictionary" key="flattenedProperties">
177
- <bool key="EncodedWithXMLCoder">YES</bool>
178
- <object class="NSMutableArray" key="dict.sortedKeys">
179
- <bool key="EncodedWithXMLCoder">YES</bool>
180
- <string>-1.CustomClassName</string>
181
- <string>-2.CustomClassName</string>
182
- <string>10.IBPluginDependency</string>
183
- <string>11.IBPluginDependency</string>
184
- <string>12.IBPluginDependency</string>
185
- <string>6.IBEditorWindowLastContentRect</string>
186
- <string>6.IBPluginDependency</string>
187
- <string>8.IBPluginDependency</string>
188
- <string>9.IBPluginDependency</string>
189
- </object>
190
- <object class="NSMutableArray" key="dict.values">
191
- <bool key="EncodedWithXMLCoder">YES</bool>
192
- <string>TransitionsViewController</string>
193
- <string>UIResponder</string>
194
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
195
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
196
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
197
- <string>{{0, 535}, {320, 460}}</string>
198
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
199
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
200
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
201
- </object>
202
- </object>
203
- <object class="NSMutableDictionary" key="unlocalizedProperties">
204
- <bool key="EncodedWithXMLCoder">YES</bool>
205
- <object class="NSArray" key="dict.sortedKeys">
206
- <bool key="EncodedWithXMLCoder">YES</bool>
207
- </object>
208
- <object class="NSMutableArray" key="dict.values">
209
- <bool key="EncodedWithXMLCoder">YES</bool>
210
- </object>
211
- </object>
212
- <nil key="activeLocalization"/>
213
- <object class="NSMutableDictionary" key="localizations">
214
- <bool key="EncodedWithXMLCoder">YES</bool>
215
- <object class="NSArray" key="dict.sortedKeys">
216
- <bool key="EncodedWithXMLCoder">YES</bool>
217
- </object>
218
- <object class="NSMutableArray" key="dict.values">
219
- <bool key="EncodedWithXMLCoder">YES</bool>
220
- </object>
221
- </object>
222
- <nil key="sourceID"/>
223
- <int key="maxID">14</int>
224
- </object>
225
- <object class="IBClassDescriber" key="IBDocument.Classes">
226
- <object class="NSMutableArray" key="referencedPartialClassDescriptions">
227
- <bool key="EncodedWithXMLCoder">YES</bool>
228
- <object class="IBPartialClassDescription">
229
- <string key="className">TransitionsViewController</string>
230
- <string key="superclassName">UIViewController</string>
231
- <object class="NSMutableDictionary" key="actions">
232
- <bool key="EncodedWithXMLCoder">YES</bool>
233
- <object class="NSMutableArray" key="dict.sortedKeys">
234
- <bool key="EncodedWithXMLCoder">YES</bool>
235
- <string>curlAction:</string>
236
- <string>flipAction:</string>
237
- </object>
238
- <object class="NSMutableArray" key="dict.values">
239
- <bool key="EncodedWithXMLCoder">YES</bool>
240
- <string>id</string>
241
- <string>id</string>
242
- </object>
243
- </object>
244
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
245
- <string key="majorKey">IBProjectSource</string>
246
- <string key="minorKey">TransitionViewController.h</string>
247
- </object>
248
- </object>
249
- </object>
250
- </object>
251
- <int key="IBDocument.localizationMode">0</int>
252
- <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string>
253
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
254
- </data>
255
- </archive>
@@ -1,141 +0,0 @@
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="IBUIView" id="531101154">
34
- <nil key="NSNextResponder"/>
35
- <int key="NSvFlags">292</int>
36
- <string key="NSFrameSize">{320, 460}</string>
37
- <object class="NSColor" key="IBUIBackgroundColor">
38
- <int key="NSColorSpace">1</int>
39
- <bytes key="NSRGB">MSAxIDEAA</bytes>
40
- </object>
41
- <bool key="IBUIClearsContextBeforeDrawing">NO</bool>
42
- </object>
43
- </object>
44
- <object class="IBObjectContainer" key="IBDocument.Objects">
45
- <object class="NSMutableArray" key="connectionRecords">
46
- <bool key="EncodedWithXMLCoder">YES</bool>
47
- <object class="IBConnectionRecord">
48
- <object class="IBCocoaTouchOutletConnection" key="connection">
49
- <string key="label">view</string>
50
- <reference key="source" ref="841351856"/>
51
- <reference key="destination" ref="531101154"/>
52
- </object>
53
- <int key="connectionID">7</int>
54
- </object>
55
- </object>
56
- <object class="IBMutableOrderedSet" key="objectRecords">
57
- <object class="NSArray" key="orderedObjects">
58
- <bool key="EncodedWithXMLCoder">YES</bool>
59
- <object class="IBObjectRecord">
60
- <int key="objectID">0</int>
61
- <object class="NSArray" key="object" id="957960031">
62
- <bool key="EncodedWithXMLCoder">YES</bool>
63
- </object>
64
- <reference key="children" ref="1000"/>
65
- <nil key="parent"/>
66
- </object>
67
- <object class="IBObjectRecord">
68
- <int key="objectID">-1</int>
69
- <reference key="object" ref="841351856"/>
70
- <reference key="parent" ref="957960031"/>
71
- <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
72
- </object>
73
- <object class="IBObjectRecord">
74
- <int key="objectID">-2</int>
75
- <reference key="object" ref="371349661"/>
76
- <reference key="parent" ref="957960031"/>
77
- </object>
78
- <object class="IBObjectRecord">
79
- <int key="objectID">6</int>
80
- <reference key="object" ref="531101154"/>
81
- <reference key="parent" ref="957960031"/>
82
- </object>
83
- </object>
84
- </object>
85
- <object class="NSMutableDictionary" key="flattenedProperties">
86
- <bool key="EncodedWithXMLCoder">YES</bool>
87
- <object class="NSMutableArray" key="dict.sortedKeys">
88
- <bool key="EncodedWithXMLCoder">YES</bool>
89
- <string>-1.CustomClassName</string>
90
- <string>-2.CustomClassName</string>
91
- <string>6.IBEditorWindowLastContentRect</string>
92
- <string>6.IBPluginDependency</string>
93
- </object>
94
- <object class="NSMutableArray" key="dict.values">
95
- <bool key="EncodedWithXMLCoder">YES</bool>
96
- <string>WebViewController</string>
97
- <string>UIResponder</string>
98
- <string>{{0, 535}, {320, 460}}</string>
99
- <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
100
- </object>
101
- </object>
102
- <object class="NSMutableDictionary" key="unlocalizedProperties">
103
- <bool key="EncodedWithXMLCoder">YES</bool>
104
- <object class="NSArray" key="dict.sortedKeys">
105
- <bool key="EncodedWithXMLCoder">YES</bool>
106
- </object>
107
- <object class="NSMutableArray" key="dict.values">
108
- <bool key="EncodedWithXMLCoder">YES</bool>
109
- </object>
110
- </object>
111
- <nil key="activeLocalization"/>
112
- <object class="NSMutableDictionary" key="localizations">
113
- <bool key="EncodedWithXMLCoder">YES</bool>
114
- <object class="NSArray" key="dict.sortedKeys">
115
- <bool key="EncodedWithXMLCoder">YES</bool>
116
- </object>
117
- <object class="NSMutableArray" key="dict.values">
118
- <bool key="EncodedWithXMLCoder">YES</bool>
119
- </object>
120
- </object>
121
- <nil key="sourceID"/>
122
- <int key="maxID">7</int>
123
- </object>
124
- <object class="IBClassDescriber" key="IBDocument.Classes">
125
- <object class="NSMutableArray" key="referencedPartialClassDescriptions">
126
- <bool key="EncodedWithXMLCoder">YES</bool>
127
- <object class="IBPartialClassDescription">
128
- <string key="className">WebViewController</string>
129
- <string key="superclassName">UIViewController</string>
130
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
131
- <string key="majorKey">IBProjectSource</string>
132
- <string key="minorKey">WebViewController.h</string>
133
- </object>
134
- </object>
135
- </object>
136
- </object>
137
- <int key="IBDocument.localizationMode">0</int>
138
- <string key="IBDocument.LastKnownRelativeProjectPath">../UICatalog.xcodeproj</string>
139
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
140
- </data>
141
- </archive>
Binary file
Binary file
Binary file
Binary file
Binary file
data/app/images/Icon.png DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/app/main.m DELETED
@@ -1,58 +0,0 @@
1
- /*
2
- File: main.m
3
- Abstract: Main source file for UICatalog 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
- int main(int argc, char *argv[])
51
- {
52
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
53
- int retVal = UIApplicationMain(argc, argv, nil, nil);
54
- [pool release];
55
-
56
- return retVal;
57
- }
58
-
@@ -1,20 +0,0 @@
1
- Feature: iPhone integration tests
2
- In order to test my iphone application
3
- As a developer
4
- I want cucumber to be able to drive the simulator
5
-
6
- Background:
7
- Given "app/UICatalog.xcodeproj" is loaded in the simulator
8
-
9
- Scenario: Pressing buttons
10
- When I tap "Buttons"
11
- And I tap "Gray"
12
-
13
- Scenario: Switches and sliders
14
- When I tap "Controls"
15
- And I tap "Standard switch"
16
-
17
- Scenario: Entering text
18
- When I tap "TextFields"
19
- And I type "A string with symb0ls $!@ and spaces in it" in "Normal"
20
- Then I should see "A string with symb0ls $!@ and spaces in it"
@@ -1,54 +0,0 @@
1
- require 'tmpdir'
2
-
3
- module ICuke
4
- class Simulator
5
- include Timeout
6
-
7
- def launch(project_file, options = {})
8
- options = {
9
- :configuration => 'Debug',
10
- :env => {}
11
- }.merge(options)
12
-
13
- app_name = File.basename(project_file, '.xcodeproj')
14
- directory = "#{File.dirname(project_file)}/build/#{options[:configuration]}-iphonesimulator"
15
-
16
- ENV['DYLD_ROOT_PATH'] = '/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk'
17
- ENV['DYLD_FRAMEWORK_PATH'] = directory
18
- ENV['IPHONE_SIMULATOR_ROOT'] = '/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk'
19
- home = Dir.mktmpdir
20
- FileUtils.mkdir_p File.join(home, 'Library', 'Preferences')
21
- FileUtils.cp File.join(File.dirname(__FILE__), 'com.apple.Accessibility.plist'), File.join(home, 'Library', 'Preferences')
22
- FileUtils.mkdir File.join(home, 'Documents')
23
- ENV['CFFIXED_USER_HOME'] = home
24
- ENV['ICUKE_KEEP_PREFERENCES'] = '1'
25
-
26
- options[:env].each_pair do |k, v|
27
- ENV[k] = v
28
- end
29
-
30
- command = "#{directory}/#{app_name}.app/#{app_name} -RegisterForSystemEvents"
31
- @pid = fork {
32
- STDIN.close
33
- STDERR.close
34
- STDOUT.close
35
-
36
- exec(command)
37
- }
38
-
39
- timeout(30) do
40
- begin
41
- view
42
- rescue Errno::ECONNREFUSED
43
- sleep(0.5)
44
- retry
45
- end
46
- end
47
- end
48
-
49
- def quit
50
- Process.kill('TERM', @pid)
51
- Process.wait(@pid)
52
- end
53
- end
54
- end