Ifd_Mobile 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Ifd_Mobile/lib_steps.rb +145 -140
- data/lib/Ifd_Mobile/methods/IFD_Assertion.rb +44 -44
- data/lib/Ifd_Mobile/methods/core.rb +256 -256
- data/lib/Ifd_Mobile/methods/lib_var.rb +53 -53
- data/lib/Ifd_Mobile/version.rb +5 -5
- data/project/Gemfile +9 -9
- data/project/Gemfile.lock +50 -137
- data/project/apps/Bedder_2.0_0.17_VN.apk +0 -0
- 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/apps/polyclaim.apk +0 -0
- data/project/features/android/Android_test1.feature +16 -14
- 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 +12 -2
- 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 +42 -42
- metadata +41 -45
@@ -1,40 +1,40 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
-
<plist version="1.0">
|
4
|
-
<dict>
|
5
|
-
<key>CFBundleDevelopmentRegion</key>
|
6
|
-
<string>en</string>
|
7
|
-
<key>CFBundleDisplayName</key>
|
8
|
-
<string>${PRODUCT_NAME}</string>
|
9
|
-
<key>CFBundleExecutable</key>
|
10
|
-
<string>${EXECUTABLE_NAME}</string>
|
11
|
-
<key>CFBundleIdentifier</key>
|
12
|
-
<string>io.appium.${PRODUCT_NAME:rfc1034identifier}</string>
|
13
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
14
|
-
<string>6.0</string>
|
15
|
-
<key>CFBundleName</key>
|
16
|
-
<string>${PRODUCT_NAME}</string>
|
17
|
-
<key>CFBundlePackageType</key>
|
18
|
-
<string>APPL</string>
|
19
|
-
<key>CFBundleShortVersionString</key>
|
20
|
-
<string>1.0</string>
|
21
|
-
<key>CFBundleSignature</key>
|
22
|
-
<string>????</string>
|
23
|
-
<key>CFBundleVersion</key>
|
24
|
-
<string>1.0</string>
|
25
|
-
<key>LSRequiresIPhoneOS</key>
|
26
|
-
<true/>
|
27
|
-
<key>UIRequiredDeviceCapabilities</key>
|
28
|
-
<array>
|
29
|
-
<string>armv7</string>
|
30
|
-
</array>
|
31
|
-
<key>UIApplicationExitsOnSuspend</key>
|
32
|
-
<true/>
|
33
|
-
<key>UISupportedInterfaceOrientations</key>
|
34
|
-
<array>
|
35
|
-
<string>UIInterfaceOrientationPortrait</string>
|
36
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
37
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
38
|
-
</array>
|
39
|
-
</dict>
|
40
|
-
</plist>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>CFBundleDevelopmentRegion</key>
|
6
|
+
<string>en</string>
|
7
|
+
<key>CFBundleDisplayName</key>
|
8
|
+
<string>${PRODUCT_NAME}</string>
|
9
|
+
<key>CFBundleExecutable</key>
|
10
|
+
<string>${EXECUTABLE_NAME}</string>
|
11
|
+
<key>CFBundleIdentifier</key>
|
12
|
+
<string>io.appium.${PRODUCT_NAME:rfc1034identifier}</string>
|
13
|
+
<key>CFBundleInfoDictionaryVersion</key>
|
14
|
+
<string>6.0</string>
|
15
|
+
<key>CFBundleName</key>
|
16
|
+
<string>${PRODUCT_NAME}</string>
|
17
|
+
<key>CFBundlePackageType</key>
|
18
|
+
<string>APPL</string>
|
19
|
+
<key>CFBundleShortVersionString</key>
|
20
|
+
<string>1.0</string>
|
21
|
+
<key>CFBundleSignature</key>
|
22
|
+
<string>????</string>
|
23
|
+
<key>CFBundleVersion</key>
|
24
|
+
<string>1.0</string>
|
25
|
+
<key>LSRequiresIPhoneOS</key>
|
26
|
+
<true/>
|
27
|
+
<key>UIRequiredDeviceCapabilities</key>
|
28
|
+
<array>
|
29
|
+
<string>armv7</string>
|
30
|
+
</array>
|
31
|
+
<key>UIApplicationExitsOnSuspend</key>
|
32
|
+
<true/>
|
33
|
+
<key>UISupportedInterfaceOrientations</key>
|
34
|
+
<array>
|
35
|
+
<string>UIInterfaceOrientationPortrait</string>
|
36
|
+
<string>UIInterfaceOrientationLandscapeLeft</string>
|
37
|
+
<string>UIInterfaceOrientationLandscapeRight</string>
|
38
|
+
</array>
|
39
|
+
</dict>
|
40
|
+
</plist>
|
@@ -1,29 +1,29 @@
|
|
1
|
-
/**
|
2
|
-
* Licensed to the Apache Software Foundation (ASF) under one
|
3
|
-
* or more contributor license agreements. See the NOTICE file
|
4
|
-
* distributed with this work for additional information
|
5
|
-
* regarding copyright ownership. The ASF licenses this file
|
6
|
-
* to you under the Apache License, Version 2.0 (the
|
7
|
-
* "License"); you may not use this file except in compliance
|
8
|
-
* with the License. You may obtain a copy of the License at
|
9
|
-
*
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
*
|
12
|
-
* Unless required by applicable law or agreed to in writing,
|
13
|
-
* software distributed under the License is distributed on an
|
14
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
-
* KIND, either express or implied. See the License for the
|
16
|
-
* specific language governing permissions and limitations
|
17
|
-
* under the License.
|
18
|
-
*/
|
19
|
-
|
20
|
-
#import <Availability.h>
|
21
|
-
|
22
|
-
#ifndef __IPHONE_3_0
|
23
|
-
#warning "This project uses features only available in iOS SDK 3.0 and later."
|
24
|
-
#endif
|
25
|
-
|
26
|
-
#ifdef __OBJC__
|
27
|
-
#import <UIKit/UIKit.h>
|
28
|
-
#import <Foundation/Foundation.h>
|
29
|
-
#endif
|
1
|
+
/**
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
3
|
+
* or more contributor license agreements. See the NOTICE file
|
4
|
+
* distributed with this work for additional information
|
5
|
+
* regarding copyright ownership. The ASF licenses this file
|
6
|
+
* to you under the Apache License, Version 2.0 (the
|
7
|
+
* "License"); you may not use this file except in compliance
|
8
|
+
* with the License. You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing,
|
13
|
+
* software distributed under the License is distributed on an
|
14
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
* KIND, either express or implied. See the License for the
|
16
|
+
* specific language governing permissions and limitations
|
17
|
+
* under the License.
|
18
|
+
*/
|
19
|
+
|
20
|
+
#import <Availability.h>
|
21
|
+
|
22
|
+
#ifndef __IPHONE_3_0
|
23
|
+
#warning "This project uses features only available in iOS SDK 3.0 and later."
|
24
|
+
#endif
|
25
|
+
|
26
|
+
#ifdef __OBJC__
|
27
|
+
#import <UIKit/UIKit.h>
|
28
|
+
#import <Foundation/Foundation.h>
|
29
|
+
#endif
|
@@ -1,21 +1,21 @@
|
|
1
|
-
/**
|
2
|
-
* Licensed to the Apache Software Foundation (ASF) under one
|
3
|
-
* or more contributor license agreements. See the NOTICE file
|
4
|
-
* distributed with this work for additional information
|
5
|
-
* regarding copyright ownership. The ASF licenses this file
|
6
|
-
* to you under the Apache License, Version 2.0 (the
|
7
|
-
* "License"); you may not use this file except in compliance
|
8
|
-
* with the License. You may obtain a copy of the License at
|
9
|
-
*
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
*
|
12
|
-
* Unless required by applicable law or agreed to in writing,
|
13
|
-
* software distributed under the License is distributed on an
|
14
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
-
* KIND, either express or implied. See the License for the
|
16
|
-
* specific language governing permissions and limitations
|
17
|
-
* under the License.
|
18
|
-
*/
|
19
|
-
|
20
|
-
/* Localized versions of Info.plist keys */
|
21
|
-
|
1
|
+
/**
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
3
|
+
* or more contributor license agreements. See the NOTICE file
|
4
|
+
* distributed with this work for additional information
|
5
|
+
* regarding copyright ownership. The ASF licenses this file
|
6
|
+
* to you under the Apache License, Version 2.0 (the
|
7
|
+
* "License"); you may not use this file except in compliance
|
8
|
+
* with the License. You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing,
|
13
|
+
* software distributed under the License is distributed on an
|
14
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
* KIND, either express or implied. See the License for the
|
16
|
+
* specific language governing permissions and limitations
|
17
|
+
* under the License.
|
18
|
+
*/
|
19
|
+
|
20
|
+
/* Localized versions of Info.plist keys */
|
21
|
+
|
@@ -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>
|