LoginViewController.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment version="2304" identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="LoginViewController">
  14. <connections>
  15. <outlet property="passwordTf" destination="IIG-oy-KVO" id="CcP-bH-KSq"/>
  16. <outlet property="userNameTf" destination="gH1-qQ-MTr" id="ce7-Wx-aVh"/>
  17. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  22. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="请输入用户名" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gH1-qQ-MTr">
  26. <rect key="frame" x="70" y="95" width="275" height="30"/>
  27. <color key="textColor" red="0.074509803920000006" green="0.70980392160000005" blue="0.69411764710000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  28. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  29. <textInputTraits key="textInputTraits"/>
  30. </textField>
  31. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="请输入用户密码" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="IIG-oy-KVO">
  32. <rect key="frame" x="70" y="160" width="275" height="30"/>
  33. <nil key="textColor"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  35. <textInputTraits key="textInputTraits" keyboardType="alphabet" secureTextEntry="YES"/>
  36. </textField>
  37. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KD5-gG-PeQ">
  38. <rect key="frame" x="28" y="296" width="317" height="44"/>
  39. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  40. <color key="backgroundColor" red="0.93725490196078431" green="0.49019607843137253" blue="0.2196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  41. <state key="normal" title="账号登陆">
  42. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  43. <color key="titleShadowColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. </state>
  45. <userDefinedRuntimeAttributes>
  46. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="5"/>
  47. </userDefinedRuntimeAttributes>
  48. <connections>
  49. <action selector="cloudLogin" destination="-1" eventType="touchUpInside" id="Tjp-R2-hJl"/>
  50. </connections>
  51. </button>
  52. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="账号:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LFh-BZ-K22">
  53. <rect key="frame" x="10" y="99" width="49" height="20"/>
  54. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  55. <nil key="textColor"/>
  56. <nil key="highlightedColor"/>
  57. </label>
  58. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="密码:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Ho-6h-LQG">
  59. <rect key="frame" x="10" y="165" width="49" height="20"/>
  60. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  61. <nil key="textColor"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mNd-mj-VMM">
  65. <rect key="frame" x="28" y="363" width="317" height="44"/>
  66. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  67. <color key="backgroundColor" red="0.93725490196078431" green="0.49019607843137253" blue="0.2196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  68. <state key="normal" title="本地登陆">
  69. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  70. </state>
  71. <userDefinedRuntimeAttributes>
  72. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="5"/>
  73. </userDefinedRuntimeAttributes>
  74. <connections>
  75. <action selector="localLogin" destination="-1" eventType="touchUpInside" id="laY-ih-rAv"/>
  76. </connections>
  77. </button>
  78. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Odb-iG-lgk">
  79. <rect key="frame" x="28" y="436" width="317" height="44"/>
  80. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  81. <color key="backgroundColor" red="0.93725490199999995" green="0.49019607840000001" blue="0.21960784310000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  82. <state key="normal" title="ap直连">
  83. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  84. </state>
  85. <connections>
  86. <action selector="apLogin:" destination="-1" eventType="touchUpInside" id="SCj-px-fht"/>
  87. </connections>
  88. </button>
  89. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EC9-y1-zlm">
  90. <rect key="frame" x="29" y="501" width="317" height="44"/>
  91. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  92. <color key="backgroundColor" red="0.93725490199999995" green="0.49019607840000001" blue="0.21960784310000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  93. <state key="normal" title="注册账号">
  94. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  95. </state>
  96. <connections>
  97. <action selector="registerUser" destination="-1" eventType="touchUpInside" id="Mtx-b5-Bob"/>
  98. </connections>
  99. </button>
  100. </subviews>
  101. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  102. <constraints>
  103. <constraint firstItem="LFh-BZ-K22" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="10" id="0iJ-Hz-c18"/>
  104. <constraint firstItem="gH1-qQ-MTr" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="75" id="Ak0-1J-joG"/>
  105. <constraint firstItem="LFh-BZ-K22" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="79" id="Bxy-zT-Qip"/>
  106. <constraint firstItem="gH1-qQ-MTr" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="75" id="Jrg-vT-abZ"/>
  107. <constraint firstItem="7Ho-6h-LQG" firstAttribute="top" secondItem="LFh-BZ-K22" secondAttribute="bottom" constant="46" id="Lgi-ub-a7P"/>
  108. <constraint firstItem="IIG-oy-KVO" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="70" id="Q9H-Ic-2VF"/>
  109. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="gH1-qQ-MTr" secondAttribute="trailing" constant="30" id="YVs-vu-RW9"/>
  110. <constraint firstItem="IIG-oy-KVO" firstAttribute="top" secondItem="gH1-qQ-MTr" secondAttribute="bottom" constant="35" id="ajm-Hw-LmK"/>
  111. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="IIG-oy-KVO" secondAttribute="trailing" constant="30" id="cMP-VT-S2G"/>
  112. <constraint firstItem="7Ho-6h-LQG" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="10" id="fd4-7x-pdz"/>
  113. <constraint firstItem="gH1-qQ-MTr" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="70" id="lIK-NK-F2X"/>
  114. </constraints>
  115. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  116. <point key="canvasLocation" x="26.399999999999999" y="51.724137931034484"/>
  117. </view>
  118. </objects>
  119. </document>