| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
- <device id="retina4_7" orientation="portrait">
- <adaptation id="fullscreen"/>
- </device>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
- <capability name="Safe area layout guides" minToolsVersion="9.0"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="UploadVideoViewController">
- <connections>
- <outlet property="coverBtn" destination="VX2-dq-LY2" id="Lcz-J7-A1k"/>
- <outlet property="coverImg" destination="gwn-uz-mb3" id="8EU-Ll-kiL"/>
- <outlet property="descText" destination="428-xi-hYF" id="B77-fE-RPA"/>
- <outlet property="playBtn" destination="Vf9-Sv-Kvm" id="5C9-xh-ugE"/>
- <outlet property="videoView" destination="25h-8w-VAE" id="JIJ-Ki-RzI"/>
- <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
- </connections>
- </placeholder>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
- <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bbH-5I-OCD">
- <rect key="frame" x="0.0" y="20" width="375" height="647"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kZR-XD-Mqh">
- <rect key="frame" x="0.0" y="0.0" width="375" height="526.5"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上传视频,时长30秒之内" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3He-v3-Kti">
- <rect key="frame" x="20" y="15" width="160.5" height="17"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gfT-jx-WqX">
- <rect key="frame" x="289" y="9.5" width="66" height="28"/>
- <color key="backgroundColor" red="1" green="0.25098039220000001" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstAttribute="width" constant="66" id="W3O-Fc-a9t"/>
- <constraint firstAttribute="height" constant="28" id="nQC-7V-VfG"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="11"/>
- <state key="normal" title="选择视频">
- <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </state>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="14"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="chooseVideo:" destination="-1" eventType="touchUpInside" id="1Xl-4Q-MUv"/>
- </connections>
- </button>
- <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="25h-8w-VAE">
- <rect key="frame" x="20" y="47.5" width="335" height="335"/>
- <subviews>
- <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gwn-uz-mb3">
- <rect key="frame" x="0.0" y="0.0" width="335" height="335"/>
- </imageView>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VX2-dq-LY2">
- <rect key="frame" x="259" y="297" width="66" height="28"/>
- <color key="backgroundColor" red="1" green="0.25098039220000001" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstAttribute="width" constant="66" id="sJM-cv-mGE"/>
- <constraint firstAttribute="height" constant="28" id="wTJ-zB-nI6"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="11"/>
- <state key="normal" title="更换封面">
- <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </state>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="14"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="chooseCover:" destination="-1" eventType="touchUpInside" id="Ap8-re-GaQ"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Vf9-Sv-Kvm">
- <rect key="frame" x="142.5" y="142.5" width="50" height="50"/>
- <state key="normal" image="icon_bofang"/>
- <connections>
- <action selector="play:" destination="-1" eventType="touchUpInside" id="KTT-Ub-zyz"/>
- </connections>
- </button>
- </subviews>
- <color key="backgroundColor" red="0.67843137254901964" green="0.67843137254901964" blue="0.67843137254901964" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="bottom" secondItem="VX2-dq-LY2" secondAttribute="bottom" constant="10" id="3eO-po-kX6"/>
- <constraint firstItem="Vf9-Sv-Kvm" firstAttribute="centerY" secondItem="25h-8w-VAE" secondAttribute="centerY" id="4I3-Hy-uSc"/>
- <constraint firstAttribute="bottom" secondItem="gwn-uz-mb3" secondAttribute="bottom" id="8Ef-tO-V5N"/>
- <constraint firstAttribute="width" secondItem="25h-8w-VAE" secondAttribute="height" multiplier="1:1" id="8QK-57-wP5"/>
- <constraint firstItem="gwn-uz-mb3" firstAttribute="top" secondItem="25h-8w-VAE" secondAttribute="top" id="Psk-yy-CX1"/>
- <constraint firstItem="Vf9-Sv-Kvm" firstAttribute="centerX" secondItem="25h-8w-VAE" secondAttribute="centerX" id="Rms-kQ-2oH"/>
- <constraint firstAttribute="trailing" secondItem="gwn-uz-mb3" secondAttribute="trailing" id="tki-36-Ypd"/>
- <constraint firstAttribute="trailing" secondItem="VX2-dq-LY2" secondAttribute="trailing" constant="10" id="txt-s3-NvT"/>
- <constraint firstItem="gwn-uz-mb3" firstAttribute="leading" secondItem="25h-8w-VAE" secondAttribute="leading" id="wft-k3-1Hg"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="8"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ka1-5H-MRl">
- <rect key="frame" x="20" y="402.5" width="335" height="60"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="视频描述" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9PI-nj-uvQ">
- <rect key="frame" x="15" y="21.5" width="57.5" height="17"/>
- <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="428-xi-hYF">
- <rect key="frame" x="92.5" y="21.5" width="222.5" height="17"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- </textField>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstItem="428-xi-hYF" firstAttribute="leading" secondItem="9PI-nj-uvQ" secondAttribute="trailing" constant="20" id="AwK-2c-5Dx"/>
- <constraint firstItem="428-xi-hYF" firstAttribute="centerY" secondItem="Ka1-5H-MRl" secondAttribute="centerY" id="EzO-td-GkF"/>
- <constraint firstItem="9PI-nj-uvQ" firstAttribute="centerY" secondItem="Ka1-5H-MRl" secondAttribute="centerY" id="FoP-SU-4GU"/>
- <constraint firstAttribute="trailing" secondItem="428-xi-hYF" secondAttribute="trailing" constant="20" id="eca-Pm-3Im"/>
- <constraint firstAttribute="height" constant="60" id="qTJ-Kl-ZOW"/>
- <constraint firstItem="9PI-nj-uvQ" firstAttribute="leading" secondItem="Ka1-5H-MRl" secondAttribute="leading" constant="15" id="x8r-9p-4cr"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="8"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- </subviews>
- <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="gfT-jx-WqX" secondAttribute="trailing" constant="20" id="0aR-0o-YAh"/>
- <constraint firstAttribute="trailing" secondItem="25h-8w-VAE" secondAttribute="trailing" constant="20" id="30G-IJ-wLE"/>
- <constraint firstItem="3He-v3-Kti" firstAttribute="leading" secondItem="kZR-XD-Mqh" secondAttribute="leading" constant="20" id="4oj-Nb-J45"/>
- <constraint firstAttribute="trailing" secondItem="Ka1-5H-MRl" secondAttribute="trailing" constant="20" id="B5w-VZ-o5Z"/>
- <constraint firstItem="gfT-jx-WqX" firstAttribute="centerY" secondItem="3He-v3-Kti" secondAttribute="centerY" id="Cu8-qi-dVg"/>
- <constraint firstItem="25h-8w-VAE" firstAttribute="top" secondItem="gfT-jx-WqX" secondAttribute="bottom" constant="10" id="GBL-4Y-l0y"/>
- <constraint firstItem="3He-v3-Kti" firstAttribute="top" secondItem="kZR-XD-Mqh" secondAttribute="top" constant="15" id="MeV-J8-Uqj"/>
- <constraint firstAttribute="bottom" secondItem="Ka1-5H-MRl" secondAttribute="bottom" constant="64" id="SJP-Yg-UWp"/>
- <constraint firstItem="Ka1-5H-MRl" firstAttribute="leading" secondItem="kZR-XD-Mqh" secondAttribute="leading" constant="20" id="jth-oR-z1n"/>
- <constraint firstItem="Ka1-5H-MRl" firstAttribute="top" secondItem="25h-8w-VAE" secondAttribute="bottom" constant="20" id="k3f-zb-ngl"/>
- <constraint firstItem="25h-8w-VAE" firstAttribute="leading" secondItem="kZR-XD-Mqh" secondAttribute="leading" constant="20" id="tjK-ZC-NEZ"/>
- </constraints>
- </view>
- </subviews>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="kZR-XD-Mqh" secondAttribute="trailing" id="8UC-lO-RBr"/>
- <constraint firstItem="kZR-XD-Mqh" firstAttribute="top" secondItem="bbH-5I-OCD" secondAttribute="top" id="Htk-JG-hAr"/>
- <constraint firstItem="kZR-XD-Mqh" firstAttribute="leading" secondItem="bbH-5I-OCD" secondAttribute="leading" id="Pq2-TC-u23"/>
- <constraint firstAttribute="bottom" secondItem="kZR-XD-Mqh" secondAttribute="bottom" id="u6j-sX-IXn"/>
- </constraints>
- </scrollView>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="E0a-5b-KfF">
- <rect key="frame" x="20" y="613" width="335" height="44"/>
- <color key="backgroundColor" red="1" green="0.25098039220000001" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="44" id="YJz-Xl-9YW"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
- <state key="normal" title="确认报名">
- <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </state>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
- <integer key="value" value="22"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- <connections>
- <action selector="confirm:" destination="-1" eventType="touchUpInside" id="WRD-PX-g66"/>
- </connections>
- </button>
- </subviews>
- <color key="backgroundColor" red="0.94901960784313721" green="0.95686274509803915" blue="0.96078431372549022" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstItem="kZR-XD-Mqh" firstAttribute="width" secondItem="i5M-Pr-FkT" secondAttribute="width" id="3QG-WA-LjW"/>
- <constraint firstItem="bbH-5I-OCD" firstAttribute="trailing" secondItem="Q5M-cg-NOt" secondAttribute="trailing" id="AuB-AS-Eus"/>
- <constraint firstItem="bbH-5I-OCD" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="BSs-xv-4ii"/>
- <constraint firstItem="bbH-5I-OCD" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" id="CCT-DM-L5b"/>
- <constraint firstItem="Q5M-cg-NOt" firstAttribute="bottom" secondItem="E0a-5b-KfF" secondAttribute="bottom" constant="10" id="Fbh-D7-4V5"/>
- <constraint firstItem="bbH-5I-OCD" firstAttribute="bottom" secondItem="Q5M-cg-NOt" secondAttribute="bottom" id="Kpl-7e-ZUR"/>
- <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="E0a-5b-KfF" secondAttribute="trailing" constant="20" id="Mht-Km-wqC"/>
- <constraint firstItem="kZR-XD-Mqh" firstAttribute="height" secondItem="i5M-Pr-FkT" secondAttribute="height" priority="250" id="khE-wI-t76"/>
- <constraint firstItem="E0a-5b-KfF" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="uWI-ML-2MT"/>
- </constraints>
- <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
- <point key="canvasLocation" x="132" y="154.27286356821591"/>
- </view>
- </objects>
- <resources>
- <image name="icon_bofang" width="50" height="50"/>
- </resources>
- </document>
|