Commit 9fc0a20ea6f59c478d11acc909d70cca66ac2ab9
1 parent
498f740d
Exists in
newLive
no message
Showing
1 changed file
with
131 additions
and
46 deletions
Show diff stats
YouerLiveVideo/YouerLiveVideo/Base.lproj/Main.storyboard
1 | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="fhe-aI-EYq"> | |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="fhe-aI-EYq"> | |
3 | 3 | <device id="retina4_7" orientation="portrait"> |
4 | 4 | <adaptation id="fullscreen"/> |
5 | 5 | </device> |
... | ... | @@ -42,9 +42,8 @@ |
42 | 42 | <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
43 | 43 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
44 | 44 | <subviews> |
45 | - <tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="143" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="su6-Ve-Mu4"> | |
46 | - <rect key="frame" x="0.0" y="64" width="375" height="554"/> | |
47 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
45 | + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="143" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="su6-Ve-Mu4"> | |
46 | + <rect key="frame" x="0.0" y="158" width="375" height="460"/> | |
48 | 47 | <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> |
49 | 48 | <prototypes> |
50 | 49 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="cell" rowHeight="143" id="tO9-FG-1Ux" customClass="ResourceViewControllerTableViewCell" customModule="YouerLiveVideo" customModuleProvider="target"> |
... | ... | @@ -54,41 +53,71 @@ |
54 | 53 | <rect key="frame" x="0.0" y="0.0" width="375" height="142"/> |
55 | 54 | <autoresizingMask key="autoresizingMask"/> |
56 | 55 | <subviews> |
57 | - <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="9sK-3H-gLf"> | |
58 | - <rect key="frame" x="4" y="4" width="367" height="135"/> | |
59 | - <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="NNX-1c-rMt"> | |
60 | - <size key="itemSize" width="110" height="136"/> | |
61 | - <size key="headerReferenceSize" width="0.0" height="0.0"/> | |
62 | - <size key="footerReferenceSize" width="0.0" height="0.0"/> | |
63 | - <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> | |
64 | - </collectionViewFlowLayout> | |
65 | - <cells> | |
66 | - <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="cell" id="uaR-ln-uvy" customClass="ResourceViewControllerCollectionCell" customModule="YouerLiveVideo" customModuleProvider="target"> | |
67 | - <rect key="frame" x="0.0" y="-1" width="110" height="136"/> | |
68 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
69 | - <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center"> | |
70 | - <rect key="frame" x="0.0" y="0.0" width="110" height="136"/> | |
71 | - <autoresizingMask key="autoresizingMask"/> | |
72 | - <subviews> | |
73 | - <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ScQ-3J-2Hk"> | |
74 | - <rect key="frame" x="4" y="6" width="102" height="125"/> | |
75 | - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> | |
76 | - </imageView> | |
77 | - </subviews> | |
78 | - </view> | |
79 | - </collectionViewCell> | |
80 | - </cells> | |
81 | - <connections> | |
82 | - <outlet property="dataSource" destination="xEc-U1-QCp" id="a1A-by-AeW"/> | |
83 | - <outlet property="delegate" destination="xEc-U1-QCp" id="ffU-FU-eXy"/> | |
84 | - </connections> | |
85 | - </collectionView> | |
56 | + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fqH-Ro-Yhh"> | |
57 | + <rect key="frame" x="8" y="26.5" width="90" height="90"/> | |
58 | + <constraints> | |
59 | + <constraint firstAttribute="width" constant="90" id="1QK-QU-Ukp"/> | |
60 | + <constraint firstAttribute="width" secondItem="fqH-Ro-Yhh" secondAttribute="height" multiplier="1:1" id="6mr-C4-eMc"/> | |
61 | + </constraints> | |
62 | + </imageView> | |
63 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FNV-Qr-xrm"> | |
64 | + <rect key="frame" x="114" y="32" width="42" height="21"/> | |
65 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
66 | + <nil key="textColor"/> | |
67 | + <nil key="highlightedColor"/> | |
68 | + </label> | |
69 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IQj-VB-dch"> | |
70 | + <rect key="frame" x="114" y="61" width="42" height="21"/> | |
71 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
72 | + <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | |
73 | + <nil key="highlightedColor"/> | |
74 | + </label> | |
75 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WIc-YL-RvX"> | |
76 | + <rect key="frame" x="114" y="90" width="42" height="21"/> | |
77 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
78 | + <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/> | |
79 | + <nil key="highlightedColor"/> | |
80 | + </label> | |
81 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="paA-9W-bbM"> | |
82 | + <rect key="frame" x="325" y="90" width="42" height="21"/> | |
83 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
84 | + <nil key="textColor"/> | |
85 | + <nil key="highlightedColor"/> | |
86 | + </label> | |
87 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yx0-8F-VaM"> | |
88 | + <rect key="frame" x="287" y="25.5" width="80" height="35"/> | |
89 | + <color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/> | |
90 | + <constraints> | |
91 | + <constraint firstAttribute="height" constant="35" id="Jva-gB-kRb"/> | |
92 | + <constraint firstAttribute="width" constant="80" id="gQ6-au-k70"/> | |
93 | + </constraints> | |
94 | + <state key="normal" title="预览"> | |
95 | + <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
96 | + </state> | |
97 | + </button> | |
98 | + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ds9-Gw-nOf"> | |
99 | + <rect key="frame" x="297" y="90.5" width="20" height="20"/> | |
100 | + <constraints> | |
101 | + <constraint firstAttribute="width" secondItem="ds9-Gw-nOf" secondAttribute="height" multiplier="1:1" id="Mto-fo-vVR"/> | |
102 | + <constraint firstAttribute="width" constant="20" id="jkd-ZW-KU3"/> | |
103 | + </constraints> | |
104 | + </imageView> | |
86 | 105 | </subviews> |
87 | 106 | <constraints> |
88 | - <constraint firstItem="9sK-3H-gLf" firstAttribute="top" secondItem="73f-qf-61d" secondAttribute="top" constant="4" id="6J6-RM-oGR"/> | |
89 | - <constraint firstAttribute="trailing" secondItem="9sK-3H-gLf" secondAttribute="trailing" constant="4" id="KEJ-kK-2M8"/> | |
90 | - <constraint firstAttribute="bottom" secondItem="9sK-3H-gLf" secondAttribute="bottom" constant="4" id="ZRA-Gv-88C"/> | |
91 | - <constraint firstItem="9sK-3H-gLf" firstAttribute="leading" secondItem="73f-qf-61d" secondAttribute="leading" constant="4" id="nIl-dG-Xgk"/> | |
107 | + <constraint firstAttribute="trailing" secondItem="paA-9W-bbM" secondAttribute="trailing" constant="8" id="0A4-Eu-BpA"/> | |
108 | + <constraint firstItem="IQj-VB-dch" firstAttribute="top" secondItem="FNV-Qr-xrm" secondAttribute="bottom" constant="8" id="3Z2-jm-Rfu"/> | |
109 | + <constraint firstItem="WIc-YL-RvX" firstAttribute="leading" secondItem="fqH-Ro-Yhh" secondAttribute="trailing" constant="16" id="AiJ-mm-qpS"/> | |
110 | + <constraint firstItem="yx0-8F-VaM" firstAttribute="centerY" secondItem="FNV-Qr-xrm" secondAttribute="centerY" id="Dwv-nR-Ane"/> | |
111 | + <constraint firstItem="fqH-Ro-Yhh" firstAttribute="centerY" secondItem="73f-qf-61d" secondAttribute="centerY" id="IGh-UO-Bar"/> | |
112 | + <constraint firstItem="paA-9W-bbM" firstAttribute="centerY" secondItem="WIc-YL-RvX" secondAttribute="centerY" id="Me2-Im-Vc9"/> | |
113 | + <constraint firstItem="fqH-Ro-Yhh" firstAttribute="leading" secondItem="73f-qf-61d" secondAttribute="leading" constant="8" id="Zty-O7-8xT"/> | |
114 | + <constraint firstItem="IQj-VB-dch" firstAttribute="centerY" secondItem="73f-qf-61d" secondAttribute="centerY" id="emm-la-YJV"/> | |
115 | + <constraint firstItem="paA-9W-bbM" firstAttribute="leading" secondItem="ds9-Gw-nOf" secondAttribute="trailing" constant="8" id="g70-bh-6yw"/> | |
116 | + <constraint firstItem="IQj-VB-dch" firstAttribute="leading" secondItem="FNV-Qr-xrm" secondAttribute="leading" id="hRh-iw-dub"/> | |
117 | + <constraint firstItem="WIc-YL-RvX" firstAttribute="leading" secondItem="FNV-Qr-xrm" secondAttribute="leading" id="lPb-2C-esz"/> | |
118 | + <constraint firstItem="WIc-YL-RvX" firstAttribute="top" secondItem="IQj-VB-dch" secondAttribute="bottom" constant="8" id="nOs-ak-tnd"/> | |
119 | + <constraint firstItem="ds9-Gw-nOf" firstAttribute="centerY" secondItem="WIc-YL-RvX" secondAttribute="centerY" id="nu7-SQ-hzc"/> | |
120 | + <constraint firstAttribute="trailing" secondItem="yx0-8F-VaM" secondAttribute="trailing" constant="8" id="pBd-Lh-bTy"/> | |
92 | 121 | </constraints> |
93 | 122 | </tableViewCellContentView> |
94 | 123 | </tableViewCell> |
... | ... | @@ -98,14 +127,69 @@ |
98 | 127 | <outlet property="delegate" destination="xEc-U1-QCp" id="iof-1s-GH1"/> |
99 | 128 | </connections> |
100 | 129 | </tableView> |
130 | + <searchBar contentMode="redraw" placeholder="搜索" translatesAutoresizingMaskIntoConstraints="NO" id="yoD-X2-JQ0"> | |
131 | + <rect key="frame" x="0.0" y="64" width="375" height="44"/> | |
132 | + <textInputTraits key="textInputTraits"/> | |
133 | + </searchBar> | |
134 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="za5-9d-anp"> | |
135 | + <rect key="frame" x="0.0" y="108" width="375" height="50"/> | |
136 | + <subviews> | |
137 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mgQ-3C-amN"> | |
138 | + <rect key="frame" x="8" y="17" width="4" height="18"/> | |
139 | + <fontDescription key="fontDescription" type="system" pointSize="15"/> | |
140 | + <nil key="textColor"/> | |
141 | + <nil key="highlightedColor"/> | |
142 | + </label> | |
143 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fz6-VO-SIi"> | |
144 | + <rect key="frame" x="310" y="10" width="57" height="30"/> | |
145 | + <constraints> | |
146 | + <constraint firstAttribute="height" constant="30" id="NCP-Ag-7c1"/> | |
147 | + </constraints> | |
148 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
149 | + <state key="normal" title="筛选" image="starLive"> | |
150 | + <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
151 | + </state> | |
152 | + </button> | |
153 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="a7C-jD-YSJ"> | |
154 | + <rect key="frame" x="245" y="14" width="57" height="22"/> | |
155 | + <fontDescription key="fontDescription" type="system" pointSize="17"/> | |
156 | + <state key="normal" title="排序" image="starLive"> | |
157 | + <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
158 | + </state> | |
159 | + </button> | |
160 | + </subviews> | |
161 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | |
162 | + <constraints> | |
163 | + <constraint firstItem="fz6-VO-SIi" firstAttribute="leading" secondItem="a7C-jD-YSJ" secondAttribute="trailing" constant="8" id="AqG-KK-VAP"/> | |
164 | + <constraint firstItem="a7C-jD-YSJ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="mgQ-3C-amN" secondAttribute="trailing" constant="8" id="HcO-bM-kZo"/> | |
165 | + <constraint firstAttribute="trailing" secondItem="fz6-VO-SIi" secondAttribute="trailing" constant="8" id="QzD-Ci-dUo"/> | |
166 | + <constraint firstItem="a7C-jD-YSJ" firstAttribute="centerY" secondItem="za5-9d-anp" secondAttribute="centerY" id="e22-SY-dro"/> | |
167 | + <constraint firstItem="fz6-VO-SIi" firstAttribute="centerY" secondItem="za5-9d-anp" secondAttribute="centerY" id="qBE-uD-fE1"/> | |
168 | + <constraint firstItem="mgQ-3C-amN" firstAttribute="centerY" secondItem="za5-9d-anp" secondAttribute="centerY" id="uMv-pj-P7r"/> | |
169 | + <constraint firstAttribute="height" constant="50" id="xiw-nW-gnr"/> | |
170 | + <constraint firstItem="mgQ-3C-amN" firstAttribute="leading" secondItem="za5-9d-anp" secondAttribute="leading" constant="8" id="yW6-qE-tfE"/> | |
171 | + </constraints> | |
172 | + </view> | |
101 | 173 | </subviews> |
102 | - <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> | |
174 | + <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/> | |
175 | + <constraints> | |
176 | + <constraint firstItem="isx-D9-RKA" firstAttribute="top" secondItem="su6-Ve-Mu4" secondAttribute="bottom" id="0dH-vT-0L7"/> | |
177 | + <constraint firstItem="yoD-X2-JQ0" firstAttribute="leading" secondItem="SdC-Ao-cee" secondAttribute="leading" id="2P3-aV-09x"/> | |
178 | + <constraint firstAttribute="trailing" secondItem="yoD-X2-JQ0" secondAttribute="trailing" id="3gn-Jp-76Y"/> | |
179 | + <constraint firstAttribute="trailing" secondItem="su6-Ve-Mu4" secondAttribute="trailing" id="Bce-ui-FBr"/> | |
180 | + <constraint firstItem="su6-Ve-Mu4" firstAttribute="top" secondItem="za5-9d-anp" secondAttribute="bottom" id="Cug-lI-DhS"/> | |
181 | + <constraint firstItem="za5-9d-anp" firstAttribute="top" secondItem="yoD-X2-JQ0" secondAttribute="bottom" id="Ine-er-3FG"/> | |
182 | + <constraint firstAttribute="trailing" secondItem="za5-9d-anp" secondAttribute="trailing" id="VI2-tz-hSe"/> | |
183 | + <constraint firstItem="yoD-X2-JQ0" firstAttribute="top" secondItem="vr1-kJ-xH9" secondAttribute="bottom" id="XUd-hg-GGA"/> | |
184 | + <constraint firstItem="za5-9d-anp" firstAttribute="leading" secondItem="SdC-Ao-cee" secondAttribute="leading" id="qdI-Q1-1Sk"/> | |
185 | + <constraint firstItem="su6-Ve-Mu4" firstAttribute="leading" secondItem="SdC-Ao-cee" secondAttribute="leading" id="ydL-OO-314"/> | |
186 | + </constraints> | |
103 | 187 | </view> |
104 | 188 | <navigationItem key="navigationItem" id="fCE-jD-MLQ"/> |
105 | 189 | </viewController> |
106 | 190 | <placeholder placeholderIdentifier="IBFirstResponder" id="ksp-rg-C8h" userLabel="First Responder" sceneMemberID="firstResponder"/> |
107 | 191 | </objects> |
108 | - <point key="canvasLocation" x="-1084" y="2113"/> | |
192 | + <point key="canvasLocation" x="-1084" y="2112.5937031484259"/> | |
109 | 193 | </scene> |
110 | 194 | <!--Main Home Table View Controller--> |
111 | 195 | <scene sceneID="Npa-Do-pvj"> |
... | ... | @@ -697,12 +781,6 @@ |
697 | 781 | <!--用户--> |
698 | 782 | <scene sceneID="LVY-SG-ceP"> |
699 | 783 | <objects> |
700 | - <tapGestureRecognizer id="crA-lr-1r9"> | |
701 | - <connections> | |
702 | - <action selector="photoImageTapAction:" destination="Xoa-Fo-2KW" id="bF5-5i-BIt"/> | |
703 | - </connections> | |
704 | - </tapGestureRecognizer> | |
705 | - <placeholder placeholderIdentifier="IBFirstResponder" id="F06-ml-zgU" sceneMemberID="firstResponder"/> | |
706 | 784 | <viewController id="Xoa-Fo-2KW" customClass="MyViewController" customModule="YouerLiveVideo" customModuleProvider="target" sceneMemberID="viewController"> |
707 | 785 | <layoutGuides> |
708 | 786 | <viewControllerLayoutGuide type="top" id="aLD-cx-0Aw"/> |
... | ... | @@ -902,6 +980,12 @@ |
902 | 980 | <outlet property="userView" destination="rEx-Nd-HXY" id="VMZ-Pf-hh9"/> |
903 | 981 | </connections> |
904 | 982 | </viewController> |
983 | + <tapGestureRecognizer id="crA-lr-1r9"> | |
984 | + <connections> | |
985 | + <action selector="photoImageTapAction:" destination="Xoa-Fo-2KW" id="bF5-5i-BIt"/> | |
986 | + </connections> | |
987 | + </tapGestureRecognizer> | |
988 | + <placeholder placeholderIdentifier="IBFirstResponder" id="F06-ml-zgU" sceneMemberID="firstResponder"/> | |
905 | 989 | </objects> |
906 | 990 | <point key="canvasLocation" x="362" y="-179"/> |
907 | 991 | </scene> |
... | ... | @@ -1161,6 +1245,7 @@ |
1161 | 1245 | <image name="divshadow.png" width="771" height="13"/> |
1162 | 1246 | <image name="icon" width="512" height="512"/> |
1163 | 1247 | <image name="icon.png" width="80" height="80"/> |
1248 | + <image name="starLive" width="22" height="22"/> | |
1164 | 1249 | <image name="视窗.png" width="31" height="31"/> |
1165 | 1250 | <image name="首页.png" width="31" height="31"/> |
1166 | 1251 | </resources> | ... | ... |