RoomPasswordView.xib 4.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT" customClass="RoomPasswordView">
  13. <rect key="frame" x="0.0" y="0.0" width="389" height="54"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="密码" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r9J-ee-5C6">
  17. <rect key="frame" x="21" y="17.5" width="33" height="19.5"/>
  18. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  19. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  20. <nil key="highlightedColor"/>
  21. </label>
  22. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="输入密码" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Ysh-d4-U4J" customClass="QMUITextField">
  23. <rect key="frame" x="64.5" y="7" width="150" height="40"/>
  24. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.14700255102040816" colorSpace="calibratedRGB"/>
  25. <constraints>
  26. <constraint firstAttribute="width" constant="150" id="EQt-2A-k3v"/>
  27. <constraint firstAttribute="height" constant="40" id="Gtt-Yh-HXq"/>
  28. </constraints>
  29. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  30. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  31. <textInputTraits key="textInputTraits"/>
  32. </textField>
  33. <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sUg-C3-8AF">
  34. <rect key="frame" x="234.5" y="11.5" width="51" height="31"/>
  35. </switch>
  36. </subviews>
  37. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  38. <constraints>
  39. <constraint firstItem="r9J-ee-5C6" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="21" id="Rnj-DK-8mD"/>
  40. <constraint firstItem="Ysh-d4-U4J" firstAttribute="centerY" secondItem="r9J-ee-5C6" secondAttribute="centerY" id="RuF-4M-VMw"/>
  41. <constraint firstItem="Ysh-d4-U4J" firstAttribute="leading" secondItem="r9J-ee-5C6" secondAttribute="trailing" constant="10.5" id="X7k-8g-ZVs"/>
  42. <constraint firstItem="sUg-C3-8AF" firstAttribute="leading" secondItem="Ysh-d4-U4J" secondAttribute="trailing" constant="20" id="Xc5-Qq-qmE"/>
  43. <constraint firstItem="r9J-ee-5C6" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="gBs-IM-CYA"/>
  44. <constraint firstItem="sUg-C3-8AF" firstAttribute="centerY" secondItem="Ysh-d4-U4J" secondAttribute="centerY" id="zco-ca-fcd"/>
  45. </constraints>
  46. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  47. <connections>
  48. <outlet property="labPassword" destination="r9J-ee-5C6" id="lSG-Zi-xBg"/>
  49. <outlet property="swcPassword" destination="sUg-C3-8AF" id="PTX-iH-XaE"/>
  50. <outlet property="txtPassword" destination="Ysh-d4-U4J" id="3LS-YS-d2N"/>
  51. </connections>
  52. <point key="canvasLocation" x="148" y="175.41229385307346"/>
  53. </view>
  54. </objects>
  55. </document>