RQCountdownView.xib 7.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="19519"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="RQCountdownView">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="58"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DBS-aW-F48">
  18. <rect key="frame" x="0.0" y="0.0" width="414" height="48"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="RemainingTime" translatesAutoresizingMaskIntoConstraints="NO" id="iJr-On-sW9">
  21. <rect key="frame" x="95" y="16.5" width="15" height="15"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="15" id="0tj-U5-xeb"/>
  24. <constraint firstAttribute="width" secondItem="iJr-On-sW9" secondAttribute="height" id="T2j-Fo-TgL"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="剩余答题时间:" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EYe-pi-GOn">
  28. <rect key="frame" x="113" y="13.5" width="128.5" height="21.5"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  30. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="749" verticalCompressionResistancePriority="749" text="43分4秒" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IoH-It-RKz">
  34. <rect key="frame" x="241.5" y="13.5" width="70" height="21.5"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  36. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. </subviews>
  40. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  41. <constraints>
  42. <constraint firstItem="IoH-It-RKz" firstAttribute="leading" secondItem="EYe-pi-GOn" secondAttribute="trailing" id="GRS-Qo-HwI"/>
  43. <constraint firstItem="EYe-pi-GOn" firstAttribute="centerY" secondItem="DBS-aW-F48" secondAttribute="centerY" id="Rpz-bX-NXP"/>
  44. <constraint firstItem="EYe-pi-GOn" firstAttribute="centerX" secondItem="DBS-aW-F48" secondAttribute="centerX" constant="-30" id="Wbk-i0-YPk"/>
  45. <constraint firstItem="IoH-It-RKz" firstAttribute="centerY" secondItem="EYe-pi-GOn" secondAttribute="centerY" id="cCX-a5-Z9n"/>
  46. <constraint firstItem="iJr-On-sW9" firstAttribute="centerY" secondItem="EYe-pi-GOn" secondAttribute="centerY" id="lDn-gp-JDq"/>
  47. <constraint firstItem="EYe-pi-GOn" firstAttribute="leading" secondItem="iJr-On-sW9" secondAttribute="trailing" constant="3" id="zfv-HI-6RX"/>
  48. </constraints>
  49. </view>
  50. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JtT-AU-d3W">
  51. <rect key="frame" x="0.0" y="48" width="414" height="10"/>
  52. <color key="backgroundColor" red="0.94901960784313721" green="0.95294117647058818" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="10" id="HSv-cZ-prt"/>
  55. </constraints>
  56. </imageView>
  57. </subviews>
  58. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  59. <constraints>
  60. <constraint firstItem="JtT-AU-d3W" firstAttribute="top" secondItem="DBS-aW-F48" secondAttribute="bottom" id="F5G-Yy-tHy"/>
  61. <constraint firstItem="DBS-aW-F48" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="bXr-GI-tYs"/>
  62. <constraint firstAttribute="bottom" secondItem="JtT-AU-d3W" secondAttribute="bottom" id="fzy-AZ-ujN"/>
  63. <constraint firstAttribute="trailing" secondItem="JtT-AU-d3W" secondAttribute="trailing" id="mSv-cj-IAE"/>
  64. <constraint firstItem="DBS-aW-F48" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="sc5-12-yXp"/>
  65. <constraint firstAttribute="trailing" secondItem="DBS-aW-F48" secondAttribute="trailing" id="vZI-Kr-wpR"/>
  66. <constraint firstItem="JtT-AU-d3W" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="xSI-qf-MKn"/>
  67. </constraints>
  68. <nil key="simulatedTopBarMetrics"/>
  69. <nil key="simulatedBottomBarMetrics"/>
  70. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  71. <connections>
  72. <outlet property="timeLabel" destination="IoH-It-RKz" id="hHy-Gv-enU"/>
  73. </connections>
  74. <point key="canvasLocation" x="166.66666666666669" y="7.7008928571428568"/>
  75. </view>
  76. </objects>
  77. <resources>
  78. <image name="RemainingTime" width="15" height="15"/>
  79. <systemColor name="systemBackgroundColor">
  80. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  81. </systemColor>
  82. </resources>
  83. </document>