Authored by 朱小军

添加激活接口测试 review by days

1 -<?xml version="1.0" encoding="UTF-8" standalone="no"?>  
2 -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES"> 1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
  3 + <device id="retina4_7" orientation="portrait">
  4 + <adaptation id="fullscreen"/>
  5 + </device>
3 <dependencies> 6 <dependencies>
4 - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/> 7 + <deployment identifier="iOS"/>
  8 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13174"/>
5 <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/> 9 <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
  10 + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
6 </dependencies> 11 </dependencies>
7 <objects> 12 <objects>
8 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> 13 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
@@ -24,7 +29,7 @@ @@ -24,7 +29,7 @@
24 <nil key="highlightedColor"/> 29 <nil key="highlightedColor"/>
25 </label> 30 </label>
26 </subviews> 31 </subviews>
27 - <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> 32 + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
28 <constraints> 33 <constraints>
29 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/> 34 <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
30 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/> 35 <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
@@ -111,6 +111,37 @@ @@ -111,6 +111,37 @@
111 <action selector="handleSegmentClick:" destination="vXZ-lx-hvc" eventType="valueChanged" id="Obq-Ox-kiH"/> 111 <action selector="handleSegmentClick:" destination="vXZ-lx-hvc" eventType="valueChanged" id="Obq-Ox-kiH"/>
112 </connections> 112 </connections>
113 </segmentedControl> 113 </segmentedControl>
  114 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tzq-tY-Hs1">
  115 + <rect key="frame" x="10" y="466" width="355" height="97"/>
  116 + <color key="backgroundColor" red="0.20741122748026614" green="0.3608741097134528" blue="0.86126893940000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  117 + <constraints>
  118 + <constraint firstAttribute="height" constant="97" id="VVI-aM-SmW"/>
  119 + <constraint firstAttribute="height" constant="100" id="ZYu-9a-70h"/>
  120 + <constraint firstAttribute="height" constant="97" id="rgC-hq-p4T"/>
  121 + </constraints>
  122 + <fontDescription key="fontDescription" type="boldSystem" pointSize="34"/>
  123 + <state key="normal" title="Active">
  124 + <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  125 + <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  126 + </state>
  127 + <variation key="default">
  128 + <mask key="constraints">
  129 + <exclude reference="VVI-aM-SmW"/>
  130 + <exclude reference="ZYu-9a-70h"/>
  131 + <exclude reference="rgC-hq-p4T"/>
  132 + </mask>
  133 + </variation>
  134 + <variation key="heightClass=regular-widthClass=compact">
  135 + <mask key="constraints">
  136 + <include reference="VVI-aM-SmW"/>
  137 + <exclude reference="rgC-hq-p4T"/>
  138 + </mask>
  139 + </variation>
  140 + <connections>
  141 + <action selector="activeAction:" destination="x5A-6p-PRh" eventType="touchUpInside" id="Ffc-7v-NI9"/>
  142 + <action selector="performanceAction:" destination="vXZ-lx-hvc" eventType="touchUpInside" id="IG2-Ws-Kjz"/>
  143 + </connections>
  144 + </button>
114 </subviews> 145 </subviews>
115 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> 146 <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
116 <constraints> 147 <constraints>
@@ -120,10 +151,13 @@ @@ -120,10 +151,13 @@
120 <constraint firstAttribute="trailing" secondItem="gW0-dg-TMX" secondAttribute="trailing" constant="10" id="9Nj-U5-cTm"/> 151 <constraint firstAttribute="trailing" secondItem="gW0-dg-TMX" secondAttribute="trailing" constant="10" id="9Nj-U5-cTm"/>
121 <constraint firstItem="ewb-Ni-v83" firstAttribute="top" secondItem="bwP-V2-lOZ" secondAttribute="bottom" constant="10" id="9f1-iX-d2x"/> 152 <constraint firstItem="ewb-Ni-v83" firstAttribute="top" secondItem="bwP-V2-lOZ" secondAttribute="bottom" constant="10" id="9f1-iX-d2x"/>
122 <constraint firstItem="bwP-V2-lOZ" firstAttribute="top" secondItem="gW0-dg-TMX" secondAttribute="bottom" constant="10" id="CIg-AA-tZq"/> 153 <constraint firstItem="bwP-V2-lOZ" firstAttribute="top" secondItem="gW0-dg-TMX" secondAttribute="bottom" constant="10" id="CIg-AA-tZq"/>
  154 + <constraint firstItem="Tzq-tY-Hs1" firstAttribute="trailing" secondItem="Smy-DE-Wff" secondAttribute="trailing" id="Ddt-1N-172"/>
123 <constraint firstItem="Smy-DE-Wff" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="G9Z-IZ-UsM"/> 155 <constraint firstItem="Smy-DE-Wff" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" id="G9Z-IZ-UsM"/>
  156 + <constraint firstItem="Tzq-tY-Hs1" firstAttribute="leading" secondItem="Smy-DE-Wff" secondAttribute="leading" id="M7G-iK-yPP"/>
124 <constraint firstAttribute="trailing" secondItem="ewb-Ni-v83" secondAttribute="trailing" constant="10" id="OJg-v6-WQP"/> 157 <constraint firstAttribute="trailing" secondItem="ewb-Ni-v83" secondAttribute="trailing" constant="10" id="OJg-v6-WQP"/>
125 <constraint firstItem="ewb-Ni-v83" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="10" id="Pfw-gK-Ojb"/> 158 <constraint firstItem="ewb-Ni-v83" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leading" constant="10" id="Pfw-gK-Ojb"/>
126 <constraint firstItem="ewb-Ni-v83" firstAttribute="top" secondItem="bwP-V2-lOZ" secondAttribute="bottom" constant="8" id="Rtg-70-QXv"/> 159 <constraint firstItem="ewb-Ni-v83" firstAttribute="top" secondItem="bwP-V2-lOZ" secondAttribute="bottom" constant="8" id="Rtg-70-QXv"/>
  160 + <constraint firstItem="Tzq-tY-Hs1" firstAttribute="top" secondItem="Smy-DE-Wff" secondAttribute="bottom" constant="18" id="SgS-sH-sFN"/>
127 <constraint firstAttribute="trailingMargin" secondItem="Smy-DE-Wff" secondAttribute="trailing" constant="-6" id="Tuk-VN-7pL"/> 161 <constraint firstAttribute="trailingMargin" secondItem="Smy-DE-Wff" secondAttribute="trailing" constant="-6" id="Tuk-VN-7pL"/>
128 <constraint firstAttribute="centerX" secondItem="nAu-Ws-BbT" secondAttribute="centerX" id="abS-HB-PCF"/> 162 <constraint firstAttribute="centerX" secondItem="nAu-Ws-BbT" secondAttribute="centerX" id="abS-HB-PCF"/>
129 <constraint firstItem="Smy-DE-Wff" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" constant="-6" id="c01-MH-mXG"/> 163 <constraint firstItem="Smy-DE-Wff" firstAttribute="leading" secondItem="kh9-bI-dsS" secondAttribute="leadingMargin" constant="-6" id="c01-MH-mXG"/>
@@ -93,4 +93,7 @@ @@ -93,4 +93,7 @@
93 } 93 }
94 94
95 } 95 }
  96 +- (IBAction)activeAction:(id)sender {
  97 + [[YH_Analytics sharedInstance] uploadFirstLaunchAPP];
  98 +}
96 @end 99 @end