YBLiveOrVideo.xib 7.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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="retina5_5" 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="YBLiveOrVideo">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="boa-fv-hep" userLabel="bgView">
  18. <rect key="frame" x="0.0" y="548" width="414" height="188"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ndj-rV-vHk" userLabel="视频">
  21. <rect key="frame" x="64.333333333333329" y="30" width="119.99999999999999" height="90"/>
  22. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  23. <state key="normal" title="发布视频" image="开始-视频.png">
  24. <color key="titleColor" red="0.39215686274509803" green="0.39215686274509803" blue="0.39215686274509803" alpha="1" colorSpace="calibratedRGB"/>
  25. </state>
  26. <connections>
  27. <action selector="clickVideoBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="Cqa-37-bqe"/>
  28. </connections>
  29. </button>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9ha-C3-qql" userLabel="直播">
  31. <rect key="frame" x="229.66666666666663" y="30" width="120" height="90"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="90" id="ayN-s3-KQr"/>
  34. <constraint firstAttribute="width" constant="120" id="ggc-AU-7Bb"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  37. <state key="normal" title="开启直播" image="开始-直播.png">
  38. <color key="titleColor" red="0.39215686274509803" green="0.39215686274509803" blue="0.39215686274509803" alpha="1" colorSpace="calibratedRGB"/>
  39. </state>
  40. <connections>
  41. <action selector="clickLiveBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="bpe-X1-Iqd"/>
  42. </connections>
  43. </button>
  44. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HKn-he-iIq" userLabel="关闭">
  45. <rect key="frame" x="192" y="140" width="30" height="30"/>
  46. <constraints>
  47. <constraint firstAttribute="width" constant="30" id="2o2-XR-Myv"/>
  48. <constraint firstAttribute="height" constant="30" id="KTc-Y9-qOq"/>
  49. </constraints>
  50. <inset key="contentEdgeInsets" minX="5" minY="5" maxX="5" maxY="5"/>
  51. <state key="normal" image="gray_close.png"/>
  52. <connections>
  53. <action selector="clickCloseBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="u1l-NS-I34"/>
  54. </connections>
  55. </button>
  56. </subviews>
  57. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  58. <constraints>
  59. <constraint firstItem="9ha-C3-qql" firstAttribute="bottom" secondItem="HKn-he-iIq" secondAttribute="top" constant="-20" id="KNP-z8-lRk"/>
  60. <constraint firstItem="ndj-rV-vHk" firstAttribute="height" secondItem="9ha-C3-qql" secondAttribute="height" id="T51-ee-lAM"/>
  61. <constraint firstItem="HKn-he-iIq" firstAttribute="centerX" secondItem="boa-fv-hep" secondAttribute="centerX" id="TJl-va-OrB"/>
  62. <constraint firstItem="9ha-C3-qql" firstAttribute="top" secondItem="boa-fv-hep" secondAttribute="top" constant="30" id="UBE-Ze-RGS"/>
  63. <constraint firstItem="ndj-rV-vHk" firstAttribute="centerX" secondItem="boa-fv-hep" secondAttribute="centerX" multiplier="0.6" id="V1E-Ds-2lC"/>
  64. <constraint firstItem="ndj-rV-vHk" firstAttribute="width" secondItem="9ha-C3-qql" secondAttribute="width" id="Yda-SW-ULK"/>
  65. <constraint firstAttribute="bottom" secondItem="HKn-he-iIq" secondAttribute="bottom" constant="18" id="cYS-dk-duW"/>
  66. <constraint firstItem="ndj-rV-vHk" firstAttribute="centerY" secondItem="9ha-C3-qql" secondAttribute="centerY" id="jA3-nr-1ca"/>
  67. <constraint firstItem="9ha-C3-qql" firstAttribute="centerX" secondItem="boa-fv-hep" secondAttribute="centerX" multiplier="1.4" id="zRc-QG-wPM"/>
  68. </constraints>
  69. </view>
  70. </subviews>
  71. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  72. <constraints>
  73. <constraint firstItem="boa-fv-hep" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" id="04e-Qm-Wj5"/>
  74. <constraint firstItem="boa-fv-hep" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="d9q-dE-Kqm"/>
  75. <constraint firstAttribute="bottom" secondItem="boa-fv-hep" secondAttribute="bottom" id="urt-7d-Apv"/>
  76. </constraints>
  77. <connections>
  78. <outlet property="bgView" destination="boa-fv-hep" id="5mM-iX-rLt"/>
  79. <outlet property="closeBottom" destination="cYS-dk-duW" id="Qcd-qT-xao"/>
  80. <outlet property="liveBtn" destination="9ha-C3-qql" id="8FS-KD-0p4"/>
  81. <outlet property="videoBtn" destination="ndj-rV-vHk" id="slB-m8-ONd"/>
  82. </connections>
  83. <point key="canvasLocation" x="139" y="118"/>
  84. </view>
  85. </objects>
  86. <resources>
  87. <image name="gray_close.png" width="20" height="20"/>
  88. <image name="开始-直播.png" width="50" height="50"/>
  89. <image name="开始-视频.png" width="50" height="50"/>
  90. <systemColor name="systemBackgroundColor">
  91. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  92. </systemColor>
  93. </resources>
  94. </document>