Ifd_Mobile 0.1.7 → 0.1.8
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.
- checksums.yaml +4 -4
- data/lib/Ifd_Mobile/lib_steps.rb +145 -145
- data/lib/Ifd_Mobile/methods/IFD_Assertion.rb +44 -44
- data/lib/Ifd_Mobile/methods/IFD_Connection.rb +28 -0
- data/lib/Ifd_Mobile/methods/core.rb +256 -256
- data/lib/Ifd_Mobile/methods/database_methods.rb +25 -0
- data/lib/Ifd_Mobile/methods/lib_schema_data_steps.rb +53 -0
- data/lib/Ifd_Mobile/methods/lib_var.rb +53 -53
- data/lib/Ifd_Mobile/methods/required_files.rb +3 -0
- data/lib/Ifd_Mobile/version.rb +5 -5
- data/project/Gemfile +11 -9
- data/project/Gemfile.lock +137 -50
- data/project/apps/TestApp/Test App 2/GestureTestViewController.h +18 -18
- data/project/apps/TestApp/Test App 2/GestureTestViewController.m +48 -48
- data/project/apps/TestApp/Test App 2/GestureTestViewController.xib +46 -46
- data/project/apps/TestApp/Test App 2/MyViewControllerViewController.h +42 -42
- data/project/apps/TestApp/Test App 2/MyViewControllerViewController.m +193 -193
- data/project/apps/TestApp/Test App 2/TA2AppDelegate.h +28 -28
- data/project/apps/TestApp/Test App 2/TA2AppDelegate.m +85 -85
- data/project/apps/TestApp/Test App 2/TestApp-Info.plist +40 -40
- data/project/apps/TestApp/Test App 2/TestApp-Prefix.pch +29 -29
- data/project/apps/TestApp/Test App 2/en.lproj/InfoPlist.strings +21 -21
- data/project/apps/TestApp/Test App 2/en.lproj/MyViewControllerViewController.xib +175 -175
- data/project/apps/TestApp/Test App 2/main.m +31 -31
- data/project/apps/TestApp/TestApp.xcodeproj/project.pbxproj +336 -336
- data/project/apps/TestApp/TestApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
- data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/TestApp.xcscheme +88 -88
- data/project/apps/TestApp/TestApp.xcodeproj/xcuserdata/anhpham.xcuserdatad/xcschemes/xcschememanagement.plist +22 -22
- data/project/features/TestData/SqlScript/test.sql +0 -0
- data/project/features/android/Android_test1.feature +14 -16
- data/project/features/android/Android_test2.feature +14 -14
- data/project/features/iOS/iOS_test.feature +15 -15
- data/project/features/step_definitions/lib_steps/PolyClaim_homepage.rb +2 -12
- data/project/features/step_definitions/lib_steps/PolyClaim_loginpage.rb +3 -3
- data/project/features/step_definitions/repositories/android_ob_test.rb +9 -9
- data/project/features/step_definitions/repositories/ios_ob_test.rb +6 -6
- data/project/features/support/env.rb +36 -36
- data/project/features/support/hooks.rb +8 -8
- data/project/features/support/project_env.rb +55 -42
- metadata +7 -5
- data/project/apps/Bedder_2.0_0.17_VN.apk +0 -0
- data/project/apps/polyclaim.apk +0 -0
@@ -1,175 +1,175 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6250" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
|
3
|
-
<dependencies>
|
4
|
-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6244"/>
|
5
|
-
</dependencies>
|
6
|
-
<objects>
|
7
|
-
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MyViewControllerViewController">
|
8
|
-
<connections>
|
9
|
-
<outlet property="answerLabel" destination="7" id="12"/>
|
10
|
-
<outlet property="computeSumButton" destination="4" id="13"/>
|
11
|
-
<outlet property="firstArg" destination="5" id="9"/>
|
12
|
-
<outlet property="locationStatus" destination="bMw-Gn-PAX" id="gaY-Qi-5Ut"/>
|
13
|
-
<outlet property="secondArg" destination="6" id="10"/>
|
14
|
-
<outlet property="view" destination="1" id="3"/>
|
15
|
-
</connections>
|
16
|
-
</placeholder>
|
17
|
-
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
18
|
-
<view contentMode="scaleToFill" id="1">
|
19
|
-
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
|
20
|
-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
21
|
-
<subviews>
|
22
|
-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="4">
|
23
|
-
<rect key="frame" x="94" y="122" width="113" height="37"/>
|
24
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
25
|
-
<state key="normal" title="Compute Sum">
|
26
|
-
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
27
|
-
</state>
|
28
|
-
<connections>
|
29
|
-
<action selector="computeAction:" destination="-1" eventType="touchUpInside" id="11"/>
|
30
|
-
</connections>
|
31
|
-
</button>
|
32
|
-
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" id="5">
|
33
|
-
<rect key="frame" x="102" y="38" width="97" height="31"/>
|
34
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
35
|
-
<accessibility key="accessibilityConfiguration" label="TextField1"/>
|
36
|
-
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
37
|
-
<textInputTraits key="textInputTraits"/>
|
38
|
-
</textField>
|
39
|
-
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" id="6">
|
40
|
-
<rect key="frame" x="102" y="77" width="97" height="31"/>
|
41
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
42
|
-
<accessibility key="accessibilityConfiguration" label="TextField2"/>
|
43
|
-
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
44
|
-
<textInputTraits key="textInputTraits"/>
|
45
|
-
</textField>
|
46
|
-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="???" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="7">
|
47
|
-
<rect key="frame" x="129" y="167" width="42" height="21"/>
|
48
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
49
|
-
<accessibility key="accessibilityConfiguration" label="SumLabel"/>
|
50
|
-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
51
|
-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
52
|
-
<nil key="highlightedColor"/>
|
53
|
-
</label>
|
54
|
-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="16">
|
55
|
-
<rect key="frame" x="26" y="207" width="76" height="44"/>
|
56
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
57
|
-
<state key="normal" title="show alert">
|
58
|
-
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
59
|
-
</state>
|
60
|
-
<connections>
|
61
|
-
<action selector="showAlert:" destination="-1" eventType="touchUpInside" id="18"/>
|
62
|
-
</connections>
|
63
|
-
</button>
|
64
|
-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label 1" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="19">
|
65
|
-
<rect key="frame" x="122" y="259" width="56" height="21"/>
|
66
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
67
|
-
<accessibility key="accessibilityConfiguration" label="AppElem"/>
|
68
|
-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
69
|
-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
70
|
-
<nil key="highlightedColor"/>
|
71
|
-
</label>
|
72
|
-
<slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" id="20">
|
73
|
-
<rect key="frame" x="91" y="288" width="118" height="29"/>
|
74
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
75
|
-
<accessibility key="accessibilityConfiguration" label="AppElem"/>
|
76
|
-
</slider>
|
77
|
-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label 2" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="21">
|
78
|
-
<rect key="frame" x="122" y="318" width="56" height="21"/>
|
79
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
80
|
-
<accessibility key="accessibilityConfiguration" label="AppElem"/>
|
81
|
-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
82
|
-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
83
|
-
<nil key="highlightedColor"/>
|
84
|
-
</label>
|
85
|
-
<button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="23">
|
86
|
-
<rect key="frame" x="83" y="347" width="136" height="28"/>
|
87
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
88
|
-
<state key="normal" title="disabled button">
|
89
|
-
<color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
90
|
-
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
91
|
-
</state>
|
92
|
-
<userDefinedRuntimeAttributes>
|
93
|
-
<userDefinedRuntimeAttribute type="string" keyPath="accessibilityIdentifier" value="DisabledButton"/>
|
94
|
-
</userDefinedRuntimeAttributes>
|
95
|
-
</button>
|
96
|
-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="25">
|
97
|
-
<rect key="frame" x="93" y="397" width="116" height="44"/>
|
98
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
99
|
-
<state key="normal" title="Test Gesture">
|
100
|
-
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
101
|
-
</state>
|
102
|
-
<connections>
|
103
|
-
<action selector="testGesture:" destination="-1" eventType="touchUpInside" id="26"/>
|
104
|
-
</connections>
|
105
|
-
</button>
|
106
|
-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Location" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="4Ko-7N-LkD">
|
107
|
-
<rect key="frame" x="82" y="383" width="73" height="21"/>
|
108
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
109
|
-
<accessibility key="accessibilityConfiguration" label="">
|
110
|
-
<bool key="isElement" value="NO"/>
|
111
|
-
</accessibility>
|
112
|
-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
113
|
-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
114
|
-
<nil key="highlightedColor"/>
|
115
|
-
</label>
|
116
|
-
<switch opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="bMw-Gn-PAX">
|
117
|
-
<rect key="frame" x="170" y="378" width="51" height="31"/>
|
118
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
119
|
-
<accessibility key="accessibilityConfiguration" label="locationStatus"/>
|
120
|
-
</switch>
|
121
|
-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="xdD-tJ-23t">
|
122
|
-
<rect key="frame" x="110" y="214" width="86" height="30"/>
|
123
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
124
|
-
<state key="normal" title="contact alert">
|
125
|
-
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
126
|
-
</state>
|
127
|
-
<connections>
|
128
|
-
<action selector="accessContactsAlert:" destination="-1" eventType="touchUpInside" id="pGj-qr-SGO"/>
|
129
|
-
</connections>
|
130
|
-
</button>
|
131
|
-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="j8c-CX-YvG">
|
132
|
-
<rect key="frame" x="204" y="214" width="89" height="30"/>
|
133
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
134
|
-
<state key="normal" title="location alert">
|
135
|
-
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
136
|
-
</state>
|
137
|
-
<connections>
|
138
|
-
<action selector="accessLocationAlert:" destination="-1" eventType="touchUpInside" id="eAW-mg-Wvw"/>
|
139
|
-
</connections>
|
140
|
-
</button>
|
141
|
-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="0N3-MI-11C">
|
142
|
-
<rect key="frame" x="239" y="404" width="41" height="30"/>
|
143
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
144
|
-
<accessibility key="accessibilityConfiguration" label="Crash"/>
|
145
|
-
<state key="normal" title="Crash">
|
146
|
-
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
147
|
-
</state>
|
148
|
-
<connections>
|
149
|
-
<action selector="crashApp:" destination="-1" eventType="touchUpInside" id="YRC-14-Xer"/>
|
150
|
-
</connections>
|
151
|
-
</button>
|
152
|
-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="test" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="c5c-gA-adh">
|
153
|
-
<rect key="frame" x="234" y="291" width="29" height="21"/>
|
154
|
-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
155
|
-
<accessibility key="accessibilityConfiguration" label="">
|
156
|
-
<bool key="isElement" value="NO"/>
|
157
|
-
</accessibility>
|
158
|
-
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
159
|
-
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
160
|
-
<nil key="highlightedColor"/>
|
161
|
-
<userDefinedRuntimeAttributes>
|
162
|
-
<userDefinedRuntimeAttribute type="string" keyPath="accessibilityIdentifier" value="Access'ibility"/>
|
163
|
-
</userDefinedRuntimeAttributes>
|
164
|
-
</label>
|
165
|
-
</subviews>
|
166
|
-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
167
|
-
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
168
|
-
</view>
|
169
|
-
</objects>
|
170
|
-
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
171
|
-
<simulatedStatusBarMetrics key="statusBar"/>
|
172
|
-
<simulatedOrientationMetrics key="orientation"/>
|
173
|
-
<simulatedScreenMetrics key="destination" type="retina4"/>
|
174
|
-
</simulatedMetricsContainer>
|
175
|
-
</document>
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6250" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
|
3
|
+
<dependencies>
|
4
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6244"/>
|
5
|
+
</dependencies>
|
6
|
+
<objects>
|
7
|
+
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MyViewControllerViewController">
|
8
|
+
<connections>
|
9
|
+
<outlet property="answerLabel" destination="7" id="12"/>
|
10
|
+
<outlet property="computeSumButton" destination="4" id="13"/>
|
11
|
+
<outlet property="firstArg" destination="5" id="9"/>
|
12
|
+
<outlet property="locationStatus" destination="bMw-Gn-PAX" id="gaY-Qi-5Ut"/>
|
13
|
+
<outlet property="secondArg" destination="6" id="10"/>
|
14
|
+
<outlet property="view" destination="1" id="3"/>
|
15
|
+
</connections>
|
16
|
+
</placeholder>
|
17
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
|
18
|
+
<view contentMode="scaleToFill" id="1">
|
19
|
+
<rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
|
20
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
21
|
+
<subviews>
|
22
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="4">
|
23
|
+
<rect key="frame" x="94" y="122" width="113" height="37"/>
|
24
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
25
|
+
<state key="normal" title="Compute Sum">
|
26
|
+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
27
|
+
</state>
|
28
|
+
<connections>
|
29
|
+
<action selector="computeAction:" destination="-1" eventType="touchUpInside" id="11"/>
|
30
|
+
</connections>
|
31
|
+
</button>
|
32
|
+
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" id="5">
|
33
|
+
<rect key="frame" x="102" y="38" width="97" height="31"/>
|
34
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
35
|
+
<accessibility key="accessibilityConfiguration" label="TextField1"/>
|
36
|
+
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
37
|
+
<textInputTraits key="textInputTraits"/>
|
38
|
+
</textField>
|
39
|
+
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" id="6">
|
40
|
+
<rect key="frame" x="102" y="77" width="97" height="31"/>
|
41
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
42
|
+
<accessibility key="accessibilityConfiguration" label="TextField2"/>
|
43
|
+
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
44
|
+
<textInputTraits key="textInputTraits"/>
|
45
|
+
</textField>
|
46
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="???" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" id="7">
|
47
|
+
<rect key="frame" x="129" y="167" width="42" height="21"/>
|
48
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
49
|
+
<accessibility key="accessibilityConfiguration" label="SumLabel"/>
|
50
|
+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
51
|
+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
52
|
+
<nil key="highlightedColor"/>
|
53
|
+
</label>
|
54
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="16">
|
55
|
+
<rect key="frame" x="26" y="207" width="76" height="44"/>
|
56
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
57
|
+
<state key="normal" title="show alert">
|
58
|
+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
59
|
+
</state>
|
60
|
+
<connections>
|
61
|
+
<action selector="showAlert:" destination="-1" eventType="touchUpInside" id="18"/>
|
62
|
+
</connections>
|
63
|
+
</button>
|
64
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label 1" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="19">
|
65
|
+
<rect key="frame" x="122" y="259" width="56" height="21"/>
|
66
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
67
|
+
<accessibility key="accessibilityConfiguration" label="AppElem"/>
|
68
|
+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
69
|
+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
70
|
+
<nil key="highlightedColor"/>
|
71
|
+
</label>
|
72
|
+
<slider opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" value="0.5" minValue="0.0" maxValue="1" id="20">
|
73
|
+
<rect key="frame" x="91" y="288" width="118" height="29"/>
|
74
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
75
|
+
<accessibility key="accessibilityConfiguration" label="AppElem"/>
|
76
|
+
</slider>
|
77
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label 2" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="21">
|
78
|
+
<rect key="frame" x="122" y="318" width="56" height="21"/>
|
79
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
80
|
+
<accessibility key="accessibilityConfiguration" label="AppElem"/>
|
81
|
+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
82
|
+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
83
|
+
<nil key="highlightedColor"/>
|
84
|
+
</label>
|
85
|
+
<button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="23">
|
86
|
+
<rect key="frame" x="83" y="347" width="136" height="28"/>
|
87
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
88
|
+
<state key="normal" title="disabled button">
|
89
|
+
<color key="titleColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
|
90
|
+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
91
|
+
</state>
|
92
|
+
<userDefinedRuntimeAttributes>
|
93
|
+
<userDefinedRuntimeAttribute type="string" keyPath="accessibilityIdentifier" value="DisabledButton"/>
|
94
|
+
</userDefinedRuntimeAttributes>
|
95
|
+
</button>
|
96
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="25">
|
97
|
+
<rect key="frame" x="93" y="397" width="116" height="44"/>
|
98
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
99
|
+
<state key="normal" title="Test Gesture">
|
100
|
+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
101
|
+
</state>
|
102
|
+
<connections>
|
103
|
+
<action selector="testGesture:" destination="-1" eventType="touchUpInside" id="26"/>
|
104
|
+
</connections>
|
105
|
+
</button>
|
106
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Location" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="4Ko-7N-LkD">
|
107
|
+
<rect key="frame" x="82" y="383" width="73" height="21"/>
|
108
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
109
|
+
<accessibility key="accessibilityConfiguration" label="">
|
110
|
+
<bool key="isElement" value="NO"/>
|
111
|
+
</accessibility>
|
112
|
+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
113
|
+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
114
|
+
<nil key="highlightedColor"/>
|
115
|
+
</label>
|
116
|
+
<switch opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" id="bMw-Gn-PAX">
|
117
|
+
<rect key="frame" x="170" y="378" width="51" height="31"/>
|
118
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
119
|
+
<accessibility key="accessibilityConfiguration" label="locationStatus"/>
|
120
|
+
</switch>
|
121
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="xdD-tJ-23t">
|
122
|
+
<rect key="frame" x="110" y="214" width="86" height="30"/>
|
123
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
124
|
+
<state key="normal" title="contact alert">
|
125
|
+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
126
|
+
</state>
|
127
|
+
<connections>
|
128
|
+
<action selector="accessContactsAlert:" destination="-1" eventType="touchUpInside" id="pGj-qr-SGO"/>
|
129
|
+
</connections>
|
130
|
+
</button>
|
131
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="j8c-CX-YvG">
|
132
|
+
<rect key="frame" x="204" y="214" width="89" height="30"/>
|
133
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
134
|
+
<state key="normal" title="location alert">
|
135
|
+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
136
|
+
</state>
|
137
|
+
<connections>
|
138
|
+
<action selector="accessLocationAlert:" destination="-1" eventType="touchUpInside" id="eAW-mg-Wvw"/>
|
139
|
+
</connections>
|
140
|
+
</button>
|
141
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="0N3-MI-11C">
|
142
|
+
<rect key="frame" x="239" y="404" width="41" height="30"/>
|
143
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
144
|
+
<accessibility key="accessibilityConfiguration" label="Crash"/>
|
145
|
+
<state key="normal" title="Crash">
|
146
|
+
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
147
|
+
</state>
|
148
|
+
<connections>
|
149
|
+
<action selector="crashApp:" destination="-1" eventType="touchUpInside" id="YRC-14-Xer"/>
|
150
|
+
</connections>
|
151
|
+
</button>
|
152
|
+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="test" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="c5c-gA-adh">
|
153
|
+
<rect key="frame" x="234" y="291" width="29" height="21"/>
|
154
|
+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
155
|
+
<accessibility key="accessibilityConfiguration" label="">
|
156
|
+
<bool key="isElement" value="NO"/>
|
157
|
+
</accessibility>
|
158
|
+
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
159
|
+
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
160
|
+
<nil key="highlightedColor"/>
|
161
|
+
<userDefinedRuntimeAttributes>
|
162
|
+
<userDefinedRuntimeAttribute type="string" keyPath="accessibilityIdentifier" value="Access'ibility"/>
|
163
|
+
</userDefinedRuntimeAttributes>
|
164
|
+
</label>
|
165
|
+
</subviews>
|
166
|
+
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
167
|
+
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
|
168
|
+
</view>
|
169
|
+
</objects>
|
170
|
+
<simulatedMetricsContainer key="defaultSimulatedMetrics">
|
171
|
+
<simulatedStatusBarMetrics key="statusBar"/>
|
172
|
+
<simulatedOrientationMetrics key="orientation"/>
|
173
|
+
<simulatedScreenMetrics key="destination" type="retina4"/>
|
174
|
+
</simulatedMetricsContainer>
|
175
|
+
</document>
|
@@ -1,31 +1,31 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright 2012 Appium Committers
|
3
|
-
*
|
4
|
-
* Licensed to the Apache Software Foundation (ASF) under one
|
5
|
-
* or more contributor license agreements. See the NOTICE file
|
6
|
-
* distributed with this work for additional information
|
7
|
-
* regarding copyright ownership. The ASF licenses this file
|
8
|
-
* to you under the Apache License, Version 2.0 (the
|
9
|
-
* "License"); you may not use this file except in compliance
|
10
|
-
* with the License. You may obtain a copy of the License at
|
11
|
-
*
|
12
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
13
|
-
*
|
14
|
-
* Unless required by applicable law or agreed to in writing,
|
15
|
-
* software distributed under the License is distributed on an
|
16
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
17
|
-
* KIND, either express or implied. See the License for the
|
18
|
-
* specific language governing permissions and limitations
|
19
|
-
* under the License.
|
20
|
-
*/
|
21
|
-
|
22
|
-
#import <UIKit/UIKit.h>
|
23
|
-
|
24
|
-
#import "TA2AppDelegate.h"
|
25
|
-
|
26
|
-
int main(int argc, char *argv[])
|
27
|
-
{
|
28
|
-
@autoreleasepool {
|
29
|
-
return UIApplicationMain(argc, argv, nil, NSStringFromClass([TA2AppDelegate class]));
|
30
|
-
}
|
31
|
-
}
|
1
|
+
/**
|
2
|
+
* Copyright 2012 Appium Committers
|
3
|
+
*
|
4
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
5
|
+
* or more contributor license agreements. See the NOTICE file
|
6
|
+
* distributed with this work for additional information
|
7
|
+
* regarding copyright ownership. The ASF licenses this file
|
8
|
+
* to you under the Apache License, Version 2.0 (the
|
9
|
+
* "License"); you may not use this file except in compliance
|
10
|
+
* with the License. You may obtain a copy of the License at
|
11
|
+
*
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
13
|
+
*
|
14
|
+
* Unless required by applicable law or agreed to in writing,
|
15
|
+
* software distributed under the License is distributed on an
|
16
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
17
|
+
* KIND, either express or implied. See the License for the
|
18
|
+
* specific language governing permissions and limitations
|
19
|
+
* under the License.
|
20
|
+
*/
|
21
|
+
|
22
|
+
#import <UIKit/UIKit.h>
|
23
|
+
|
24
|
+
#import "TA2AppDelegate.h"
|
25
|
+
|
26
|
+
int main(int argc, char *argv[])
|
27
|
+
{
|
28
|
+
@autoreleasepool {
|
29
|
+
return UIApplicationMain(argc, argv, nil, NSStringFromClass([TA2AppDelegate class]));
|
30
|
+
}
|
31
|
+
}
|