SettingController.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SettingController">
  13. <connections>
  14. <outlet property="appspKeyText" destination="ZMM-4C-pFL" id="TQj-eP-7J6"/>
  15. <outlet property="appspUrlTxt" destination="9dk-4I-KU4" id="A7V-9h-fLb"/>
  16. <outlet property="jpushText" destination="1ao-1m-Uja" id="asQ-qf-IFe"/>
  17. <outlet property="secretKeyText" destination="vgL-YJ-RyV" id="ryI-x1-Jwy"/>
  18. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  19. </connections>
  20. </placeholder>
  21. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  22. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  23. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  24. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25. <subviews>
  26. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalSpacing" alignment="center" spacing="39" translatesAutoresizingMaskIntoConstraints="NO" id="os6-YT-YNa">
  27. <rect key="frame" x="10" y="108" width="394" height="328"/>
  28. <subviews>
  29. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="kGN-0V-iVV">
  30. <rect key="frame" x="0.0" y="0.0" width="394" height="34"/>
  31. <subviews>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="极光Key:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="acW-Id-4eD">
  33. <rect key="frame" x="0.0" y="0.0" width="67" height="34"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  35. <nil key="textColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="极光appkey" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="1ao-1m-Uja">
  39. <rect key="frame" x="77" y="0.0" width="317" height="34"/>
  40. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  41. <textInputTraits key="textInputTraits" keyboardType="namePhonePad"/>
  42. </textField>
  43. </subviews>
  44. </stackView>
  45. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="k3x-yu-CNB">
  46. <rect key="frame" x="0.0" y="73" width="394" height="34"/>
  47. <subviews>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AppKey:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="luN-Lk-hfA">
  49. <rect key="frame" x="0.0" y="0.0" width="64.5" height="34"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  51. <nil key="textColor"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="appsp appkey" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="ZMM-4C-pFL">
  55. <rect key="frame" x="74.5" y="0.0" width="319.5" height="34"/>
  56. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  57. <textInputTraits key="textInputTraits" keyboardType="namePhonePad"/>
  58. </textField>
  59. </subviews>
  60. </stackView>
  61. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="Wqo-7b-7en">
  62. <rect key="frame" x="10" y="146" width="374" height="34"/>
  63. <subviews>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="secretKey" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hL8-kN-MhC">
  65. <rect key="frame" x="0.0" y="0.0" width="64.5" height="34"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  67. <nil key="textColor"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="appsp 私钥" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="vgL-YJ-RyV">
  71. <rect key="frame" x="74.5" y="0.0" width="299.5" height="34"/>
  72. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  73. <textInputTraits key="textInputTraits" keyboardType="URL"/>
  74. </textField>
  75. </subviews>
  76. </stackView>
  77. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="bGn-CB-KIA">
  78. <rect key="frame" x="10" y="219" width="374" height="34"/>
  79. <subviews>
  80. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="服务域名:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="obm-5c-iE7">
  81. <rect key="frame" x="0.0" y="0.0" width="71.5" height="34"/>
  82. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  83. <nil key="textColor"/>
  84. <nil key="highlightedColor"/>
  85. </label>
  86. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="appsp 服务域名" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="9dk-4I-KU4">
  87. <rect key="frame" x="81.5" y="0.0" width="292.5" height="34"/>
  88. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  89. <textInputTraits key="textInputTraits" keyboardType="URL"/>
  90. </textField>
  91. </subviews>
  92. </stackView>
  93. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QqV-fS-Zut">
  94. <rect key="frame" x="157" y="292" width="80" height="36"/>
  95. <color key="backgroundColor" systemColor="linkColor"/>
  96. <constraints>
  97. <constraint firstAttribute="width" constant="80" id="1mt-KW-JgQ"/>
  98. </constraints>
  99. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  100. <color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  101. <state key="normal" title="保存"/>
  102. <connections>
  103. <action selector="saveBtnClick:" destination="-1" eventType="touchUpInside" id="IxG-hk-cTL"/>
  104. </connections>
  105. </button>
  106. </subviews>
  107. <constraints>
  108. <constraint firstAttribute="trailing" secondItem="bGn-CB-KIA" secondAttribute="trailing" constant="10" id="8CK-ln-2tO"/>
  109. <constraint firstItem="bGn-CB-KIA" firstAttribute="leading" secondItem="os6-YT-YNa" secondAttribute="leading" constant="10" id="KSO-UT-clJ"/>
  110. <constraint firstAttribute="trailing" secondItem="Wqo-7b-7en" secondAttribute="trailing" constant="10" id="gKg-Lv-S2m"/>
  111. <constraint firstAttribute="trailing" secondItem="k3x-yu-CNB" secondAttribute="trailing" id="gui-l5-rqF"/>
  112. <constraint firstAttribute="trailing" secondItem="kGN-0V-iVV" secondAttribute="trailing" id="hfb-2n-4uR"/>
  113. <constraint firstItem="k3x-yu-CNB" firstAttribute="leading" secondItem="os6-YT-YNa" secondAttribute="leading" id="pMY-gh-kMs"/>
  114. <constraint firstItem="Wqo-7b-7en" firstAttribute="leading" secondItem="os6-YT-YNa" secondAttribute="leading" constant="10" id="sCp-sp-SXo"/>
  115. <constraint firstItem="kGN-0V-iVV" firstAttribute="leading" secondItem="os6-YT-YNa" secondAttribute="leading" id="y9c-EH-OKZ"/>
  116. </constraints>
  117. </stackView>
  118. </subviews>
  119. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  120. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  121. <constraints>
  122. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="os6-YT-YNa" secondAttribute="trailing" constant="10" id="6Fo-mw-ZIs"/>
  123. <constraint firstItem="os6-YT-YNa" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="10" id="Vxz-lr-aS3"/>
  124. <constraint firstItem="os6-YT-YNa" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="20" id="zmd-TL-b5C"/>
  125. </constraints>
  126. <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
  127. <point key="canvasLocation" x="-36.231884057971016" y="-21.428571428571427"/>
  128. </view>
  129. </objects>
  130. <resources>
  131. <systemColor name="linkColor">
  132. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  133. </systemColor>
  134. <systemColor name="systemBackgroundColor">
  135. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  136. </systemColor>
  137. </resources>
  138. </document>