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.
- data/.gitignore +2 -0
- data/.gitmodules +3 -0
- data/README.rdoc +8 -7
- data/Rakefile +10 -30
- data/VERSION +1 -1
- data/app/.gitignore +3 -0
- data/app/LICENSE +20 -0
- data/app/Readme.markdown +3 -0
- data/app/Shared/AppDelegate_Shared.h +17 -0
- data/app/Shared/AppDelegate_Shared.m +25 -0
- data/app/{images/yellowslide.png → Shared/Icon.png} +0 -0
- data/app/Shared/ModalViewController.h +15 -0
- data/app/Shared/ModalViewController.m +96 -0
- data/app/Shared/TestViewController_Shared.h +15 -0
- data/app/Shared/TestViewController_Shared.m +43 -0
- data/app/{Info.plist → Shared/Universal-Info.plist} +17 -4
- data/app/Shared/Universal_Prefix.pch +8 -0
- data/app/Shared/main.m +14 -0
- data/app/Universal.xcodeproj/project.pbxproj +301 -0
- data/app/iPad/AppDelegate_Pad.h +15 -0
- data/app/iPad/AppDelegate_Pad.m +28 -0
- data/app/iPad/Default-Landscape.png +0 -0
- data/app/iPad/Default-Portrait.png +0 -0
- data/app/iPad/MainWindow_Pad.xib +343 -0
- data/app/iPad/TestViewController_Pad.h +15 -0
- data/app/iPad/TestViewController_Pad.m +52 -0
- data/app/iPhone/AppDelegate_Phone.h +15 -0
- data/app/iPhone/AppDelegate_Phone.m +28 -0
- data/app/{images/segment_search.png → iPhone/Default.png} +0 -0
- data/app/iPhone/MainWindow_Phone.xib +363 -0
- data/app/iPhone/TestViewController_Phone.h +15 -0
- data/app/iPhone/TestViewController_Phone.m +36 -0
- data/bin/.gitignore +1 -0
- data/bin/icuke +10 -0
- data/bin/icuke-module +17 -0
- data/ext/.gitignore +1 -0
- data/ext/Rakefile +6 -0
- data/ext/WaxSim/Simulator.h +31 -0
- data/ext/WaxSim/Simulator.m +131 -0
- data/ext/WaxSim/WaxSim.m +110 -0
- data/ext/WaxSim/WaxSim.xcodeproj/project.pbxproj +238 -0
- data/ext/WaxSim/WaxSim_Prefix.pch +7 -0
- data/ext/WaxSim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h +126 -0
- data/ext/iCuke/Rakefile +14 -17
- data/ext/iCuke/libicuke-sdk3.1.dylib +0 -0
- data/ext/iCuke/libicuke-sdk4.0.dylib +0 -0
- data/ext/iCuke/libicuke.dylib +0 -0
- data/ext/iCuke/{DefaultsResponse.h → sdk3.1/DefaultsResponse.h} +0 -0
- data/ext/iCuke/{DefaultsResponse.m → sdk3.1/DefaultsResponse.m} +0 -0
- data/ext/iCuke/{EventResponse.h → sdk3.1/EventResponse.h} +0 -0
- data/ext/iCuke/{EventResponse.m → sdk3.1/EventResponse.m} +0 -0
- data/ext/iCuke/sdk3.1/ModuleResponse.h +5 -0
- data/ext/iCuke/sdk3.1/ModuleResponse.m +76 -0
- data/ext/iCuke/sdk3.1/Rakefile +20 -0
- data/ext/iCuke/{Recorder.h → sdk3.1/Recorder.h} +0 -0
- data/ext/iCuke/{Recorder.m → sdk3.1/Recorder.m} +0 -0
- data/ext/iCuke/{RecorderResponse.h → sdk3.1/RecorderResponse.h} +0 -0
- data/ext/iCuke/{RecorderResponse.m → sdk3.1/RecorderResponse.m} +0 -0
- data/ext/iCuke/{SynthesizeSingleton.h → sdk3.1/SynthesizeSingleton.h} +0 -0
- data/ext/iCuke/{ViewResponse.h → sdk3.1/ViewResponse.h} +0 -0
- data/ext/iCuke/{ViewResponse.m → sdk3.1/ViewResponse.m} +0 -0
- data/ext/iCuke/{Viewer.h → sdk3.1/Viewer.h} +0 -0
- data/ext/iCuke/sdk3.1/Viewer.m +203 -0
- data/ext/iCuke/{iCukeHTTPResponseHandler.h → sdk3.1/iCukeHTTPResponseHandler.h} +0 -0
- data/ext/iCuke/{iCukeHTTPResponseHandler.m → sdk3.1/iCukeHTTPResponseHandler.m} +0 -0
- data/ext/iCuke/{iCukeHTTPServer.h → sdk3.1/iCukeHTTPServer.h} +0 -0
- data/ext/iCuke/{iCukeHTTPServer.m → sdk3.1/iCukeHTTPServer.m} +0 -0
- data/ext/iCuke/{iCukeServer.h → sdk3.1/iCukeServer.h} +0 -2
- data/ext/iCuke/{iCukeServer.m → sdk3.1/iCukeServer.m} +22 -20
- data/ext/iCuke/{json → sdk3.1/json}/JSON.h +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/NSObject+SBJSON.h +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/NSObject+SBJSON.m +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/NSString+SBJSON.h +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/NSString+SBJSON.m +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJSON.h +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJSON.m +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJsonBase.h +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJsonBase.m +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJsonParser.h +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJsonParser.m +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJsonWriter.h +0 -0
- data/ext/iCuke/{json → sdk3.1/json}/SBJsonWriter.m +0 -0
- data/ext/iCuke/sdk4.0/DefaultsResponse.h +5 -0
- data/ext/iCuke/sdk4.0/DefaultsResponse.m +66 -0
- data/ext/iCuke/sdk4.0/EventResponse.h +5 -0
- data/ext/iCuke/sdk4.0/EventResponse.m +130 -0
- data/ext/iCuke/sdk4.0/ModuleResponse.h +5 -0
- data/ext/iCuke/sdk4.0/ModuleResponse.m +76 -0
- data/ext/iCuke/sdk4.0/Rakefile +20 -0
- data/ext/iCuke/sdk4.0/Recorder.h +17 -0
- data/ext/iCuke/sdk4.0/Recorder.m +90 -0
- data/ext/iCuke/sdk4.0/RecorderResponse.h +6 -0
- data/ext/iCuke/sdk4.0/RecorderResponse.m +68 -0
- data/ext/iCuke/sdk4.0/SynthesizeSingleton.h +68 -0
- data/ext/iCuke/sdk4.0/ViewResponse.h +5 -0
- data/ext/iCuke/sdk4.0/ViewResponse.m +84 -0
- data/ext/iCuke/sdk4.0/Viewer.h +8 -0
- data/ext/iCuke/{Viewer.m → sdk4.0/Viewer.m} +14 -0
- data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.h +50 -0
- data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.m +381 -0
- data/ext/iCuke/sdk4.0/iCukeHTTPServer.h +53 -0
- data/ext/iCuke/sdk4.0/iCukeHTTPServer.m +365 -0
- data/ext/iCuke/sdk4.0/iCukeServer.h +14 -0
- data/ext/iCuke/sdk4.0/iCukeServer.m +65 -0
- data/ext/iCuke/sdk4.0/json/JSON.h +50 -0
- data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.h +68 -0
- data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.m +53 -0
- data/ext/iCuke/sdk4.0/json/NSString+SBJSON.h +58 -0
- data/ext/iCuke/sdk4.0/json/NSString+SBJSON.m +55 -0
- data/ext/iCuke/sdk4.0/json/SBJSON.h +75 -0
- data/ext/iCuke/sdk4.0/json/SBJSON.m +212 -0
- data/ext/iCuke/sdk4.0/json/SBJsonBase.h +86 -0
- data/ext/iCuke/sdk4.0/json/SBJsonBase.m +78 -0
- data/ext/iCuke/sdk4.0/json/SBJsonParser.h +87 -0
- data/ext/iCuke/sdk4.0/json/SBJsonParser.m +475 -0
- data/ext/iCuke/sdk4.0/json/SBJsonWriter.h +129 -0
- data/ext/iCuke/sdk4.0/json/SBJsonWriter.m +228 -0
- data/features/iphone.feature +15 -0
- data/features/support/env.rb +1 -1
- data/iCuke.gemspec +118 -114
- data/lib/icuke/cucumber.rb +93 -64
- data/lib/icuke/screen.rb +110 -0
- data/lib/icuke/sdk.rb +134 -0
- data/lib/icuke/simulate.rb +9 -5
- data/lib/icuke/simulator.rb +10 -11
- data/lib/icuke/waxsim.rb +36 -0
- data/lib/icuke.rb +2 -1
- metadata +124 -129
- data/app/AlertsViewController.h +0 -59
- data/app/AlertsViewController.m +0 -341
- data/app/AppDelegate.h +0 -60
- data/app/AppDelegate.m +0 -101
- data/app/ButtonsViewController.h +0 -80
- data/app/ButtonsViewController.m +0 -448
- data/app/Constants.h +0 -58
- data/app/ControlsViewController.h +0 -72
- data/app/ControlsViewController.m +0 -379
- data/app/ImagesViewController.h +0 -62
- data/app/ImagesViewController.m +0 -137
- data/app/MainViewController.h +0 -57
- data/app/MainViewController.m +0 -262
- data/app/Picker/CustomPickerDataSource.h +0 -55
- data/app/Picker/CustomPickerDataSource.m +0 -135
- data/app/Picker/CustomView.h +0 -62
- data/app/Picker/CustomView.m +0 -119
- data/app/PickerViewController.h +0 -88
- data/app/PickerViewController.m +0 -402
- data/app/Prefix.pch +0 -5
- data/app/ReadMe.txt +0 -82
- data/app/SearchBarController.h +0 -58
- data/app/SearchBarController.m +0 -105
- data/app/SegmentViewController.h +0 -54
- data/app/SegmentViewController.m +0 -195
- data/app/TextFieldController.h +0 -67
- data/app/TextFieldController.m +0 -342
- data/app/TextViewController.h +0 -57
- data/app/TextViewController.m +0 -164
- data/app/ToolbarViewController.h +0 -74
- data/app/ToolbarViewController.m +0 -303
- data/app/TransitionViewController.h +0 -64
- data/app/TransitionViewController.m +0 -178
- data/app/UICatalog.xcodeproj/project.pbxproj +0 -615
- data/app/WebViewController.h +0 -57
- data/app/WebViewController.m +0 -173
- data/app/en.lproj/AlertsViewController.xib +0 -144
- data/app/en.lproj/ButtonsViewController.xib +0 -147
- data/app/en.lproj/ControlsViewController.xib +0 -147
- data/app/en.lproj/ImagesViewController.xib +0 -264
- data/app/en.lproj/Localizable.strings +0 -41
- data/app/en.lproj/MainWindow.xib +0 -306
- data/app/en.lproj/PickerViewController.xib +0 -415
- data/app/en.lproj/SearchBarController.xib +0 -142
- data/app/en.lproj/SegmentViewController.xib +0 -143
- data/app/en.lproj/TextFieldController.xib +0 -167
- data/app/en.lproj/TextViewController.xib +0 -149
- data/app/en.lproj/ToolbarViewController.xib +0 -491
- data/app/en.lproj/TransitionViewController.xib +0 -255
- data/app/en.lproj/WebViewController.xib +0 -141
- data/app/images/12-6AM.png +0 -0
- data/app/images/12-6PM.png +0 -0
- data/app/images/6-12AM.png +0 -0
- data/app/images/6-12PM.png +0 -0
- data/app/images/Default.png +0 -0
- data/app/images/Icon.png +0 -0
- data/app/images/UIButton_custom.png +0 -0
- data/app/images/blueButton.png +0 -0
- data/app/images/orangeslide.png +0 -0
- data/app/images/scene1.jpg +0 -0
- data/app/images/scene2.jpg +0 -0
- data/app/images/scene3.jpg +0 -0
- data/app/images/scene4.jpg +0 -0
- data/app/images/scene5.jpg +0 -0
- data/app/images/segment_check.png +0 -0
- data/app/images/segment_tools.png +0 -0
- data/app/images/slider_ball.png +0 -0
- data/app/images/whiteButton.png +0 -0
- data/app/main.m +0 -58
- data/features/uicatalog.feature +0 -20
- data/lib/icuke/com.apple.Accessibility.plist +0 -0
- data/lib/icuke/headless.rb +0 -54
- data/lib/icuke/xcode.rb +0 -164
|
@@ -0,0 +1,343 @@
|
|
|
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">10D541</string>
|
|
6
|
+
<string key="IBDocument.InterfaceBuilderVersion">760</string>
|
|
7
|
+
<string key="IBDocument.AppKitVersion">1038.29</string>
|
|
8
|
+
<string key="IBDocument.HIToolboxVersion">460.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">81</string>
|
|
12
|
+
</object>
|
|
13
|
+
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
|
|
14
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
15
|
+
</object>
|
|
16
|
+
<object class="NSArray" key="IBDocument.PluginDependencies">
|
|
17
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
18
|
+
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
|
19
|
+
</object>
|
|
20
|
+
<object class="NSMutableDictionary" key="IBDocument.Metadata">
|
|
21
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
22
|
+
<object class="NSArray" key="dict.sortedKeys" id="0">
|
|
23
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
24
|
+
</object>
|
|
25
|
+
<object class="NSMutableArray" key="dict.values">
|
|
26
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
27
|
+
</object>
|
|
28
|
+
</object>
|
|
29
|
+
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
|
|
30
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
31
|
+
<object class="IBProxyObject" id="841351856">
|
|
32
|
+
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
|
|
33
|
+
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
|
34
|
+
</object>
|
|
35
|
+
<object class="IBProxyObject" id="606714003">
|
|
36
|
+
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
|
|
37
|
+
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
|
|
38
|
+
</object>
|
|
39
|
+
<object class="IBUIWindow" id="62075450">
|
|
40
|
+
<nil key="NSNextResponder"/>
|
|
41
|
+
<int key="NSvFlags">292</int>
|
|
42
|
+
<string key="NSFrameSize">{768, 1024}</string>
|
|
43
|
+
<object class="NSColor" key="IBUIBackgroundColor">
|
|
44
|
+
<int key="NSColorSpace">1</int>
|
|
45
|
+
<bytes key="NSRGB">MSAxIDEAA</bytes>
|
|
46
|
+
</object>
|
|
47
|
+
<bool key="IBUIOpaque">NO</bool>
|
|
48
|
+
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
|
|
49
|
+
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
|
|
50
|
+
<int key="IBUIStatusBarStyle">2</int>
|
|
51
|
+
</object>
|
|
52
|
+
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
|
53
|
+
<bool key="IBUIResizesToFullScreen">YES</bool>
|
|
54
|
+
</object>
|
|
55
|
+
<object class="IBUICustomObject" id="250404236">
|
|
56
|
+
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
|
|
57
|
+
</object>
|
|
58
|
+
</object>
|
|
59
|
+
<object class="IBObjectContainer" key="IBDocument.Objects">
|
|
60
|
+
<object class="NSMutableArray" key="connectionRecords">
|
|
61
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
62
|
+
<object class="IBConnectionRecord">
|
|
63
|
+
<object class="IBCocoaTouchOutletConnection" key="connection">
|
|
64
|
+
<string key="label">window</string>
|
|
65
|
+
<reference key="source" ref="250404236"/>
|
|
66
|
+
<reference key="destination" ref="62075450"/>
|
|
67
|
+
</object>
|
|
68
|
+
<int key="connectionID">7</int>
|
|
69
|
+
</object>
|
|
70
|
+
<object class="IBConnectionRecord">
|
|
71
|
+
<object class="IBCocoaTouchOutletConnection" key="connection">
|
|
72
|
+
<string key="label">delegate</string>
|
|
73
|
+
<reference key="source" ref="841351856"/>
|
|
74
|
+
<reference key="destination" ref="250404236"/>
|
|
75
|
+
</object>
|
|
76
|
+
<int key="connectionID">8</int>
|
|
77
|
+
</object>
|
|
78
|
+
</object>
|
|
79
|
+
<object class="IBMutableOrderedSet" key="objectRecords">
|
|
80
|
+
<object class="NSArray" key="orderedObjects">
|
|
81
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
82
|
+
<object class="IBObjectRecord">
|
|
83
|
+
<int key="objectID">0</int>
|
|
84
|
+
<reference key="object" ref="0"/>
|
|
85
|
+
<reference key="children" ref="1000"/>
|
|
86
|
+
<nil key="parent"/>
|
|
87
|
+
</object>
|
|
88
|
+
<object class="IBObjectRecord">
|
|
89
|
+
<int key="objectID">-1</int>
|
|
90
|
+
<reference key="object" ref="841351856"/>
|
|
91
|
+
<reference key="parent" ref="0"/>
|
|
92
|
+
<string key="objectName">File's Owner</string>
|
|
93
|
+
</object>
|
|
94
|
+
<object class="IBObjectRecord">
|
|
95
|
+
<int key="objectID">-2</int>
|
|
96
|
+
<reference key="object" ref="606714003"/>
|
|
97
|
+
<reference key="parent" ref="0"/>
|
|
98
|
+
</object>
|
|
99
|
+
<object class="IBObjectRecord">
|
|
100
|
+
<int key="objectID">2</int>
|
|
101
|
+
<reference key="object" ref="62075450"/>
|
|
102
|
+
<object class="NSMutableArray" key="children">
|
|
103
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
104
|
+
</object>
|
|
105
|
+
<reference key="parent" ref="0"/>
|
|
106
|
+
</object>
|
|
107
|
+
<object class="IBObjectRecord">
|
|
108
|
+
<int key="objectID">6</int>
|
|
109
|
+
<reference key="object" ref="250404236"/>
|
|
110
|
+
<reference key="parent" ref="0"/>
|
|
111
|
+
</object>
|
|
112
|
+
</object>
|
|
113
|
+
</object>
|
|
114
|
+
<object class="NSMutableDictionary" key="flattenedProperties">
|
|
115
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
116
|
+
<object class="NSArray" key="dict.sortedKeys">
|
|
117
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
118
|
+
<string>-1.CustomClassName</string>
|
|
119
|
+
<string>-2.CustomClassName</string>
|
|
120
|
+
<string>2.IBEditorWindowLastContentRect</string>
|
|
121
|
+
<string>2.IBPluginDependency</string>
|
|
122
|
+
<string>6.CustomClassName</string>
|
|
123
|
+
<string>6.IBPluginDependency</string>
|
|
124
|
+
</object>
|
|
125
|
+
<object class="NSMutableArray" key="dict.values">
|
|
126
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
127
|
+
<string>UIApplication</string>
|
|
128
|
+
<string>UIResponder</string>
|
|
129
|
+
<string>{{903, 55}, {768, 1024}}</string>
|
|
130
|
+
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
|
131
|
+
<string>AppDelegate_Pad</string>
|
|
132
|
+
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
|
|
133
|
+
</object>
|
|
134
|
+
</object>
|
|
135
|
+
<object class="NSMutableDictionary" key="unlocalizedProperties">
|
|
136
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
137
|
+
<reference key="dict.sortedKeys" ref="0"/>
|
|
138
|
+
<object class="NSMutableArray" key="dict.values">
|
|
139
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
140
|
+
</object>
|
|
141
|
+
</object>
|
|
142
|
+
<nil key="activeLocalization"/>
|
|
143
|
+
<object class="NSMutableDictionary" key="localizations">
|
|
144
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
145
|
+
<reference key="dict.sortedKeys" ref="0"/>
|
|
146
|
+
<object class="NSMutableArray" key="dict.values">
|
|
147
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
148
|
+
</object>
|
|
149
|
+
</object>
|
|
150
|
+
<nil key="sourceID"/>
|
|
151
|
+
<int key="maxID">9</int>
|
|
152
|
+
</object>
|
|
153
|
+
<object class="IBClassDescriber" key="IBDocument.Classes">
|
|
154
|
+
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
|
155
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
156
|
+
<object class="IBPartialClassDescription">
|
|
157
|
+
<string key="className">AppDelegate_Pad</string>
|
|
158
|
+
<string key="superclassName">NSObject</string>
|
|
159
|
+
<object class="NSMutableDictionary" key="outlets">
|
|
160
|
+
<string key="NS.key.0">window</string>
|
|
161
|
+
<string key="NS.object.0">UIWindow</string>
|
|
162
|
+
</object>
|
|
163
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
164
|
+
<string key="majorKey">IBUserSource</string>
|
|
165
|
+
<string key="minorKey"/>
|
|
166
|
+
</object>
|
|
167
|
+
</object>
|
|
168
|
+
</object>
|
|
169
|
+
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
|
|
170
|
+
<bool key="EncodedWithXMLCoder">YES</bool>
|
|
171
|
+
<object class="IBPartialClassDescription">
|
|
172
|
+
<string key="className">NSObject</string>
|
|
173
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
174
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
175
|
+
<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
|
|
176
|
+
</object>
|
|
177
|
+
</object>
|
|
178
|
+
<object class="IBPartialClassDescription">
|
|
179
|
+
<string key="className">NSObject</string>
|
|
180
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
181
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
182
|
+
<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
|
|
183
|
+
</object>
|
|
184
|
+
</object>
|
|
185
|
+
<object class="IBPartialClassDescription">
|
|
186
|
+
<string key="className">NSObject</string>
|
|
187
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
188
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
189
|
+
<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
|
|
190
|
+
</object>
|
|
191
|
+
</object>
|
|
192
|
+
<object class="IBPartialClassDescription">
|
|
193
|
+
<string key="className">NSObject</string>
|
|
194
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
195
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
196
|
+
<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
|
|
197
|
+
</object>
|
|
198
|
+
</object>
|
|
199
|
+
<object class="IBPartialClassDescription">
|
|
200
|
+
<string key="className">NSObject</string>
|
|
201
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
202
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
203
|
+
<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
|
|
204
|
+
</object>
|
|
205
|
+
</object>
|
|
206
|
+
<object class="IBPartialClassDescription">
|
|
207
|
+
<string key="className">NSObject</string>
|
|
208
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
209
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
210
|
+
<string key="minorKey">Foundation.framework/Headers/NSNetServices.h</string>
|
|
211
|
+
</object>
|
|
212
|
+
</object>
|
|
213
|
+
<object class="IBPartialClassDescription">
|
|
214
|
+
<string key="className">NSObject</string>
|
|
215
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
216
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
217
|
+
<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
|
|
218
|
+
</object>
|
|
219
|
+
</object>
|
|
220
|
+
<object class="IBPartialClassDescription">
|
|
221
|
+
<string key="className">NSObject</string>
|
|
222
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
223
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
224
|
+
<string key="minorKey">Foundation.framework/Headers/NSPort.h</string>
|
|
225
|
+
</object>
|
|
226
|
+
</object>
|
|
227
|
+
<object class="IBPartialClassDescription">
|
|
228
|
+
<string key="className">NSObject</string>
|
|
229
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
230
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
231
|
+
<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
|
|
232
|
+
</object>
|
|
233
|
+
</object>
|
|
234
|
+
<object class="IBPartialClassDescription">
|
|
235
|
+
<string key="className">NSObject</string>
|
|
236
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
237
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
238
|
+
<string key="minorKey">Foundation.framework/Headers/NSStream.h</string>
|
|
239
|
+
</object>
|
|
240
|
+
</object>
|
|
241
|
+
<object class="IBPartialClassDescription">
|
|
242
|
+
<string key="className">NSObject</string>
|
|
243
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
244
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
245
|
+
<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
|
|
246
|
+
</object>
|
|
247
|
+
</object>
|
|
248
|
+
<object class="IBPartialClassDescription">
|
|
249
|
+
<string key="className">NSObject</string>
|
|
250
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
251
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
252
|
+
<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
|
|
253
|
+
</object>
|
|
254
|
+
</object>
|
|
255
|
+
<object class="IBPartialClassDescription">
|
|
256
|
+
<string key="className">NSObject</string>
|
|
257
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
258
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
259
|
+
<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
|
|
260
|
+
</object>
|
|
261
|
+
</object>
|
|
262
|
+
<object class="IBPartialClassDescription">
|
|
263
|
+
<string key="className">NSObject</string>
|
|
264
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
265
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
266
|
+
<string key="minorKey">Foundation.framework/Headers/NSXMLParser.h</string>
|
|
267
|
+
</object>
|
|
268
|
+
</object>
|
|
269
|
+
<object class="IBPartialClassDescription">
|
|
270
|
+
<string key="className">NSObject</string>
|
|
271
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
272
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
273
|
+
<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
|
|
274
|
+
</object>
|
|
275
|
+
</object>
|
|
276
|
+
<object class="IBPartialClassDescription">
|
|
277
|
+
<string key="className">NSObject</string>
|
|
278
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
279
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
280
|
+
<string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
|
|
281
|
+
</object>
|
|
282
|
+
</object>
|
|
283
|
+
<object class="IBPartialClassDescription">
|
|
284
|
+
<string key="className">NSObject</string>
|
|
285
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="786211723">
|
|
286
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
287
|
+
<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
|
|
288
|
+
</object>
|
|
289
|
+
</object>
|
|
290
|
+
<object class="IBPartialClassDescription">
|
|
291
|
+
<string key="className">UIApplication</string>
|
|
292
|
+
<string key="superclassName">UIResponder</string>
|
|
293
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
294
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
295
|
+
<string key="minorKey">UIKit.framework/Headers/UIApplication.h</string>
|
|
296
|
+
</object>
|
|
297
|
+
</object>
|
|
298
|
+
<object class="IBPartialClassDescription">
|
|
299
|
+
<string key="className">UIResponder</string>
|
|
300
|
+
<string key="superclassName">NSObject</string>
|
|
301
|
+
<reference key="sourceIdentifier" ref="786211723"/>
|
|
302
|
+
</object>
|
|
303
|
+
<object class="IBPartialClassDescription">
|
|
304
|
+
<string key="className">UIView</string>
|
|
305
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
306
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
307
|
+
<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
|
|
308
|
+
</object>
|
|
309
|
+
</object>
|
|
310
|
+
<object class="IBPartialClassDescription">
|
|
311
|
+
<string key="className">UIView</string>
|
|
312
|
+
<string key="superclassName">UIResponder</string>
|
|
313
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
314
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
315
|
+
<string key="minorKey">UIKit.framework/Headers/UIView.h</string>
|
|
316
|
+
</object>
|
|
317
|
+
</object>
|
|
318
|
+
<object class="IBPartialClassDescription">
|
|
319
|
+
<string key="className">UIWindow</string>
|
|
320
|
+
<string key="superclassName">UIView</string>
|
|
321
|
+
<object class="IBClassDescriptionSource" key="sourceIdentifier">
|
|
322
|
+
<string key="majorKey">IBFrameworkSource</string>
|
|
323
|
+
<string key="minorKey">UIKit.framework/Headers/UIWindow.h</string>
|
|
324
|
+
</object>
|
|
325
|
+
</object>
|
|
326
|
+
</object>
|
|
327
|
+
</object>
|
|
328
|
+
<int key="IBDocument.localizationMode">0</int>
|
|
329
|
+
<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
|
|
330
|
+
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
|
|
331
|
+
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
|
|
332
|
+
<integer value="800" key="NS.object.0"/>
|
|
333
|
+
</object>
|
|
334
|
+
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
|
|
335
|
+
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
|
|
336
|
+
<integer value="3100" key="NS.object.0"/>
|
|
337
|
+
</object>
|
|
338
|
+
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
|
|
339
|
+
<string key="IBDocument.LastKnownRelativeProjectPath">../Universal.xcodeproj</string>
|
|
340
|
+
<int key="IBDocument.defaultPropertyAccessControl">3</int>
|
|
341
|
+
<string key="IBCocoaTouchPluginVersion">81</string>
|
|
342
|
+
</data>
|
|
343
|
+
</archive>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TestViewController_Pad.h
|
|
3
|
+
// Universal
|
|
4
|
+
//
|
|
5
|
+
// Created by Sam Soffes on 4/12/10.
|
|
6
|
+
// Copyright 2010 Sam Soffes. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "TestViewController_Shared.h"
|
|
10
|
+
|
|
11
|
+
@interface TestViewController_Pad : TestViewController_Shared <UIPopoverControllerDelegate> {
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
//
|
|
2
|
+
// TestViewController_Pad.m
|
|
3
|
+
// Universal
|
|
4
|
+
//
|
|
5
|
+
// Created by Sam Soffes on 4/12/10.
|
|
6
|
+
// Copyright 2010 Sam Soffes. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "TestViewController_Pad.h"
|
|
10
|
+
#import "ModalViewController.h"
|
|
11
|
+
|
|
12
|
+
@implementation TestViewController_Pad
|
|
13
|
+
|
|
14
|
+
#pragma mark -
|
|
15
|
+
#pragma mark UIViewController
|
|
16
|
+
#pragma mark -
|
|
17
|
+
|
|
18
|
+
- (void)viewDidLoad {
|
|
19
|
+
[super viewDidLoad];
|
|
20
|
+
self.title = @"iPad";
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
#pragma mark -
|
|
25
|
+
#pragma mark Actions
|
|
26
|
+
#pragma mark -
|
|
27
|
+
|
|
28
|
+
- (void)test:(id)sender {
|
|
29
|
+
ModalViewController *viewController = [[ModalViewController alloc] init];
|
|
30
|
+
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
|
|
31
|
+
[viewController release];
|
|
32
|
+
|
|
33
|
+
Class popoverClass = NSClassFromString(@"UIPopoverController");
|
|
34
|
+
if (popoverClass) {
|
|
35
|
+
UIPopoverController *popover = [[popoverClass alloc] initWithContentViewController:navigationController];
|
|
36
|
+
popover.delegate = self;
|
|
37
|
+
[popover presentPopoverFromRect:[sender frame] inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[navigationController release];
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
#pragma mark -
|
|
45
|
+
#pragma mark UIPopoverControllerDelegate
|
|
46
|
+
#pragma mark -
|
|
47
|
+
|
|
48
|
+
- (void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController {
|
|
49
|
+
[popoverController release];
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//
|
|
2
|
+
// AppDelegate_Phone.h
|
|
3
|
+
// Universal
|
|
4
|
+
//
|
|
5
|
+
// Created by Sam Soffes on 4/12/10.
|
|
6
|
+
// Copyright Sam Soffes 2010. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "AppDelegate_Shared.h"
|
|
10
|
+
|
|
11
|
+
@interface AppDelegate_Phone : AppDelegate_Shared {
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//
|
|
2
|
+
// AppDelegate_Phone.m
|
|
3
|
+
// Universal
|
|
4
|
+
//
|
|
5
|
+
// Created by Sam Soffes on 4/12/10.
|
|
6
|
+
// Copyright Sam Soffes 2010. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "AppDelegate_Phone.h"
|
|
10
|
+
#import "TestViewController_Phone.h"
|
|
11
|
+
|
|
12
|
+
@implementation AppDelegate_Phone
|
|
13
|
+
|
|
14
|
+
#pragma mark -
|
|
15
|
+
#pragma mark UIApplicationDelegate
|
|
16
|
+
#pragma mark -
|
|
17
|
+
|
|
18
|
+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
19
|
+
TestViewController_Phone *viewController = [[TestViewController_Phone alloc] init];
|
|
20
|
+
navigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
|
|
21
|
+
[viewController release];
|
|
22
|
+
|
|
23
|
+
[window addSubview:navigationController.view];
|
|
24
|
+
[window makeKeyAndVisible];
|
|
25
|
+
return YES;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@end
|
|
Binary file
|