MORedPacketRuleView.xib 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
  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="MORedPacketRuleView">
  14. <rect key="frame" x="0.0" y="0.0" width="393" height="532"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T2p-jZ-M2w">
  18. <rect key="frame" x="0.0" y="0.0" width="393" height="50"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5o1-C8-MPm" customClass="BigBtn">
  21. <rect key="frame" x="20" y="14" width="22" height="22"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="22" id="evT-bD-ar5"/>
  24. <constraint firstAttribute="width" constant="22" id="jBy-du-NFM"/>
  25. </constraints>
  26. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  27. <state key="normal" image="icon_live_center_left_black"/>
  28. <connections>
  29. <action selector="closeBtnClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="brY-4o-rQS"/>
  30. </connections>
  31. </button>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="规则" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nr6-9R-TEw">
  33. <rect key="frame" x="55" y="14.999999999999998" width="283" height="20.333333333333329"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  35. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. </subviews>
  39. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  40. <constraints>
  41. <constraint firstAttribute="trailing" secondItem="nr6-9R-TEw" secondAttribute="trailing" constant="55" id="3AL-0m-cuV"/>
  42. <constraint firstItem="nr6-9R-TEw" firstAttribute="leading" secondItem="T2p-jZ-M2w" secondAttribute="leading" constant="55" id="8iH-aU-22Y"/>
  43. <constraint firstAttribute="height" constant="50" id="S8E-oF-OYp"/>
  44. <constraint firstItem="5o1-C8-MPm" firstAttribute="centerY" secondItem="T2p-jZ-M2w" secondAttribute="centerY" id="Tpi-fJ-lJg"/>
  45. <constraint firstItem="5o1-C8-MPm" firstAttribute="leading" secondItem="T2p-jZ-M2w" secondAttribute="leading" constant="20" id="VAm-Yu-oCm"/>
  46. <constraint firstItem="nr6-9R-TEw" firstAttribute="centerY" secondItem="T2p-jZ-M2w" secondAttribute="centerY" id="oN5-EZ-hzM"/>
  47. </constraints>
  48. </view>
  49. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="fhM-y7-sJE">
  50. <rect key="frame" x="15" y="50" width="363" height="482"/>
  51. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  52. <color key="textColor" systemColor="labelColor"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  54. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  55. </textView>
  56. </subviews>
  57. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  58. <constraints>
  59. <constraint firstItem="fhM-y7-sJE" firstAttribute="top" secondItem="T2p-jZ-M2w" secondAttribute="bottom" id="Oja-Yt-Uoa"/>
  60. <constraint firstAttribute="bottom" secondItem="fhM-y7-sJE" secondAttribute="bottom" id="WSg-xa-myQ"/>
  61. <constraint firstItem="T2p-jZ-M2w" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="WYP-vw-3NL"/>
  62. <constraint firstItem="fhM-y7-sJE" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="15" id="hnI-6C-ctm"/>
  63. <constraint firstAttribute="trailing" secondItem="fhM-y7-sJE" secondAttribute="trailing" constant="15" id="mor-4w-8Zn"/>
  64. <constraint firstItem="T2p-jZ-M2w" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="qrV-Jx-GCo"/>
  65. <constraint firstAttribute="trailing" secondItem="T2p-jZ-M2w" secondAttribute="trailing" id="rUI-u5-uUa"/>
  66. </constraints>
  67. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  68. <connections>
  69. <outlet property="contentTev" destination="fhM-y7-sJE" id="QZe-Mu-L3c"/>
  70. <outlet property="titleLab" destination="nr6-9R-TEw" id="TAA-eA-D8P"/>
  71. </connections>
  72. <point key="canvasLocation" x="126" y="-11"/>
  73. </view>
  74. </objects>
  75. <resources>
  76. <image name="icon_live_center_left_black" width="10.333333015441895" height="18.666666030883789"/>
  77. <systemColor name="labelColor">
  78. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. </systemColor>
  80. <systemColor name="systemBackgroundColor">
  81. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  82. </systemColor>
  83. </resources>
  84. </document>