TCVideoEditPrevViewController.xib 6.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
  9. <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="TCVideoEditPrevViewController">
  14. <connections>
  15. <outlet property="prevPlaceHolder" destination="1xS-My-cND" id="ije-j1-oMl"/>
  16. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  17. </connections>
  18. </placeholder>
  19. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  20. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  21. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1xS-My-cND">
  25. <rect key="frame" x="0.0" y="65" width="375" height="225"/>
  26. <color key="backgroundColor" cocoaTouchSystemColor="darkTextColor"/>
  27. <constraints>
  28. <constraint firstAttribute="width" secondItem="1xS-My-cND" secondAttribute="height" multiplier="375:225" id="eCD-dE-U7U"/>
  29. </constraints>
  30. </view>
  31. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nZh-dn-156">
  32. <rect key="frame" x="15" y="559" width="345" height="40"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="40" id="bwX-jh-IIy"/>
  35. </constraints>
  36. <state key="normal" title="仅发布" backgroundImage="button_white">
  37. <color key="titleColor" red="0.0" green="0.80356335639999998" blue="0.67384082079999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  38. </state>
  39. <connections>
  40. <action selector="publish:" destination="-1" eventType="touchUpInside" id="E9Z-QC-jE1"/>
  41. </connections>
  42. </button>
  43. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="NQM-4x-zQm">
  44. <rect key="frame" x="15" y="613" width="345" height="40"/>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="40" id="asg-tm-KRm"/>
  47. </constraints>
  48. <state key="normal" title="保存并发布" backgroundImage="button_green"/>
  49. <connections>
  50. <action selector="saveAndPublish:" destination="-1" eventType="touchUpInside" id="Z0f-cy-PZb"/>
  51. </connections>
  52. </button>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="x5S-Oc-QEo">
  54. <rect key="frame" x="15" y="505" width="345" height="40"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="40" id="jE8-Fr-pkf"/>
  57. </constraints>
  58. <state key="normal" title="仅保存" backgroundImage="button_white">
  59. <color key="titleColor" red="0.0" green="0.80356335639999998" blue="0.67384082079999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  60. </state>
  61. <connections>
  62. <action selector="saveToLocal:" destination="-1" eventType="touchUpInside" id="rM3-ox-QT3"/>
  63. </connections>
  64. </button>
  65. </subviews>
  66. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  67. <constraints>
  68. <constraint firstItem="1xS-My-cND" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" id="CX9-oO-MQk"/>
  69. <constraint firstItem="nZh-dn-156" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="EtY-4U-4aw"/>
  70. <constraint firstItem="1xS-My-cND" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="65" id="IfX-9e-WjK"/>
  71. <constraint firstItem="NQM-4x-zQm" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="U9T-gt-yco"/>
  72. <constraint firstItem="x5S-Oc-QEo" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="WA4-Md-Y7I"/>
  73. <constraint firstItem="NQM-4x-zQm" firstAttribute="top" secondItem="nZh-dn-156" secondAttribute="bottom" constant="14" id="fos-Px-gEG"/>
  74. <constraint firstItem="1xS-My-cND" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="o9X-Yx-1Lx"/>
  75. <constraint firstAttribute="bottom" secondItem="NQM-4x-zQm" secondAttribute="bottom" constant="14" id="qMK-3q-USU"/>
  76. <constraint firstItem="nZh-dn-156" firstAttribute="top" secondItem="x5S-Oc-QEo" secondAttribute="bottom" constant="14" id="vna-JF-yf6"/>
  77. </constraints>
  78. <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
  79. <point key="canvasLocation" x="-505" y="22"/>
  80. </view>
  81. </objects>
  82. <resources>
  83. <image name="button_green" width="345" height="40"/>
  84. <image name="button_white" width="345" height="40"/>
  85. </resources>
  86. </document>