RQCountdownView.xib 5.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" 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="20020"/>
  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="137" height="44"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillProportionally" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="qLh-OB-P2f">
  18. <rect key="frame" x="0.0" y="14.5" width="137" height="15"/>
  19. <subviews>
  20. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aoW-vB-Ton">
  21. <rect key="frame" x="0.0" y="0.0" width="15" height="15"/>
  22. <constraints>
  23. <constraint firstAttribute="width" secondItem="aoW-vB-Ton" secondAttribute="height" id="JfL-5P-QMZ"/>
  24. </constraints>
  25. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  26. <state key="normal" backgroundImage="开始"/>
  27. <state key="selected" image="暂停"/>
  28. </button>
  29. <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">
  30. <rect key="frame" x="19" y="0.0" width="61" height="15"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  32. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="749" verticalCompressionResistancePriority="749" text="45:00" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IoH-It-RKz">
  36. <rect key="frame" x="84" y="0.0" width="53" height="15"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  38. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. </subviews>
  42. </stackView>
  43. </subviews>
  44. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  45. <constraints>
  46. <constraint firstItem="aoW-vB-Ton" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="height" multiplier="15/44" id="1Lj-9l-Xk0"/>
  47. <constraint firstItem="qLh-OB-P2f" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" id="Jcu-HI-2ra"/>
  48. <constraint firstItem="qLh-OB-P2f" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Rz1-Ks-1zm"/>
  49. <constraint firstItem="qLh-OB-P2f" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="ass-fG-7hm"/>
  50. </constraints>
  51. <nil key="simulatedTopBarMetrics"/>
  52. <nil key="simulatedBottomBarMetrics"/>
  53. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  54. <connections>
  55. <outlet property="countDownBtn" destination="aoW-vB-Ton" id="tiz-Fr-d8x"/>
  56. <outlet property="timeLabel" destination="IoH-It-RKz" id="hHy-Gv-enU"/>
  57. </connections>
  58. <point key="canvasLocation" x="166.66666666666669" y="7.7008928571428568"/>
  59. </view>
  60. </objects>
  61. <resources>
  62. <image name="开始" width="15" height="15"/>
  63. <image name="暂停" width="15" height="15"/>
  64. <systemColor name="systemBackgroundColor">
  65. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  66. </systemColor>
  67. </resources>
  68. </document>