Main.storyboard 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9531" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="FsU-Vj-dMB">
  3. <dependencies>
  4. <deployment identifier="iOS"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
  6. </dependencies>
  7. <scenes>
  8. <!--任务-->
  9. <scene sceneID="FFK-Lb-21b">
  10. <objects>
  11. <viewController id="lRI-Iw-dTA" customClass="TasksViewController" sceneMemberID="viewController">
  12. <layoutGuides>
  13. <viewControllerLayoutGuide type="top" id="q0G-bX-9dp"/>
  14. <viewControllerLayoutGuide type="bottom" id="7rn-JY-4Jg"/>
  15. </layoutGuides>
  16. <view key="view" contentMode="scaleToFill" id="Lr6-Ec-rxp">
  17. <rect key="frame" x="0.0" y="0.0" width="600" height="551"/>
  18. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19. <subviews>
  20. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="DA9-pA-54O">
  21. <rect key="frame" x="0.0" y="64" width="600" height="487"/>
  22. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  23. <prototypes>
  24. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="TaskCellStyle" textLabel="SwI-IC-cbA" style="IBUITableViewCellStyleDefault" id="4y4-cp-ZPb">
  25. <rect key="frame" x="0.0" y="28" width="600" height="44"/>
  26. <autoresizingMask key="autoresizingMask"/>
  27. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="4y4-cp-ZPb" id="xxK-hZ-vB4">
  28. <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
  29. <autoresizingMask key="autoresizingMask"/>
  30. <subviews>
  31. <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="SwI-IC-cbA">
  32. <rect key="frame" x="15" y="0.0" width="570" height="43"/>
  33. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  35. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. </subviews>
  39. </tableViewCellContentView>
  40. </tableViewCell>
  41. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="FkJ-Bj-VLX">
  42. <rect key="frame" x="0.0" y="72" width="600" height="44"/>
  43. <autoresizingMask key="autoresizingMask"/>
  44. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="FkJ-Bj-VLX" id="fYq-6I-gKJ">
  45. <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
  46. <autoresizingMask key="autoresizingMask"/>
  47. </tableViewCellContentView>
  48. </tableViewCell>
  49. </prototypes>
  50. </tableView>
  51. <navigationBar contentMode="scaleToFill" translucent="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vdl-3W-IOG">
  52. <rect key="frame" x="0.0" y="20" width="600" height="44"/>
  53. <color key="barTintColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  54. <items>
  55. <navigationItem title="任务" id="gWa-wn-rsp"/>
  56. </items>
  57. </navigationBar>
  58. </subviews>
  59. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  60. <constraints>
  61. <constraint firstItem="vdl-3W-IOG" firstAttribute="leading" secondItem="Lr6-Ec-rxp" secondAttribute="leading" id="33m-17-kUC"/>
  62. <constraint firstAttribute="trailing" secondItem="vdl-3W-IOG" secondAttribute="trailing" id="Pxe-q0-uUZ"/>
  63. <constraint firstItem="DA9-pA-54O" firstAttribute="top" secondItem="vdl-3W-IOG" secondAttribute="bottom" id="VO4-t5-Cx7"/>
  64. <constraint firstAttribute="trailing" secondItem="DA9-pA-54O" secondAttribute="trailing" id="aaA-cO-0Pd"/>
  65. <constraint firstItem="7rn-JY-4Jg" firstAttribute="top" secondItem="DA9-pA-54O" secondAttribute="bottom" id="gQB-lG-jv5"/>
  66. <constraint firstItem="vdl-3W-IOG" firstAttribute="top" secondItem="q0G-bX-9dp" secondAttribute="bottom" id="hXr-Hu-NLz"/>
  67. <constraint firstItem="DA9-pA-54O" firstAttribute="leading" secondItem="Lr6-Ec-rxp" secondAttribute="leading" id="lYc-Bs-OuM"/>
  68. </constraints>
  69. </view>
  70. <tabBarItem key="tabBarItem" title="任务" image="tab_libraries.png" id="Uvb-Oj-AKd"/>
  71. <connections>
  72. <outlet property="TaskTableView" destination="DA9-pA-54O" id="96O-lk-ESd"/>
  73. </connections>
  74. </viewController>
  75. <placeholder placeholderIdentifier="IBFirstResponder" id="fOe-7E-bWh" userLabel="First Responder" sceneMemberID="firstResponder"/>
  76. </objects>
  77. <point key="canvasLocation" x="744" y="-111"/>
  78. </scene>
  79. <!--已下载-->
  80. <scene sceneID="iY4-kG-SLB">
  81. <objects>
  82. <viewController id="KwW-wf-qCg" customClass="StoredViewController" sceneMemberID="viewController">
  83. <layoutGuides>
  84. <viewControllerLayoutGuide type="top" id="J9V-CO-LLe"/>
  85. <viewControllerLayoutGuide type="bottom" id="Wkg-yA-soM"/>
  86. </layoutGuides>
  87. <view key="view" contentMode="scaleToFill" id="prM-DW-Wd7">
  88. <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  89. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  90. <subviews>
  91. <navigationBar contentMode="scaleToFill" translucent="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kHa-Oz-TU4">
  92. <rect key="frame" x="0.0" y="20" width="600" height="44"/>
  93. <color key="barTintColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  94. <items>
  95. <navigationItem id="w8P-bn-jwE">
  96. <nil key="title"/>
  97. <segmentedControl key="titleView" opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" segmentControlStyle="bar" selectedSegmentIndex="0" id="owk-ve-bc0">
  98. <rect key="frame" x="230" y="7" width="140" height="30"/>
  99. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  100. <segments>
  101. <segment title="视频"/>
  102. <segment title="图片"/>
  103. </segments>
  104. <color key="tintColor" cocoaTouchSystemColor="viewFlipsideBackgroundColor"/>
  105. </segmentedControl>
  106. <barButtonItem key="rightBarButtonItem" title="Item" id="FU9-Yl-eGz"/>
  107. </navigationItem>
  108. </items>
  109. </navigationBar>
  110. <tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="n88-dw-upa">
  111. <rect key="frame" x="187" y="328" width="240" height="128"/>
  112. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  113. </tableView>
  114. <tableView clipsSubviews="YES" contentMode="scaleToFill" fixedFrame="YES" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="OmZ-IJ-7QL">
  115. <rect key="frame" x="0.0" y="64" width="240" height="128"/>
  116. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  117. </tableView>
  118. </subviews>
  119. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  120. <constraints>
  121. <constraint firstItem="kHa-Oz-TU4" firstAttribute="top" secondItem="J9V-CO-LLe" secondAttribute="bottom" id="5bF-Fz-BLv"/>
  122. <constraint firstItem="kHa-Oz-TU4" firstAttribute="leading" secondItem="prM-DW-Wd7" secondAttribute="leading" id="Fym-Ph-LW4"/>
  123. <constraint firstAttribute="trailing" secondItem="kHa-Oz-TU4" secondAttribute="trailing" id="QMg-ZI-Bh7"/>
  124. </constraints>
  125. </view>
  126. <tabBarItem key="tabBarItem" tag="2" title="已下载" image="tab_stored.png" id="qrm-F7-CsG"/>
  127. <simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
  128. </viewController>
  129. <placeholder placeholderIdentifier="IBFirstResponder" id="kiU-sc-akZ" userLabel="First Responder" sceneMemberID="firstResponder"/>
  130. </objects>
  131. <point key="canvasLocation" x="744" y="570"/>
  132. </scene>
  133. <!--下载队列-->
  134. <scene sceneID="18H-WV-I8v">
  135. <objects>
  136. <viewController id="ChQ-OW-gSd" customClass="DownloadQueenViewController" sceneMemberID="viewController">
  137. <layoutGuides>
  138. <viewControllerLayoutGuide type="top" id="92E-q4-lFM"/>
  139. <viewControllerLayoutGuide type="bottom" id="v3s-2H-iT2"/>
  140. </layoutGuides>
  141. <view key="view" contentMode="scaleToFill" id="HAj-gf-aZY">
  142. <rect key="frame" x="0.0" y="0.0" width="600" height="551"/>
  143. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  144. <subviews>
  145. <navigationBar contentMode="scaleToFill" translucent="NO" translatesAutoresizingMaskIntoConstraints="NO" id="22F-fe-0Lo">
  146. <rect key="frame" x="0.0" y="20" width="600" height="44"/>
  147. <items>
  148. <navigationItem title="下载队列" id="1bI-kf-fwy"/>
  149. </items>
  150. </navigationBar>
  151. <stackView opaque="NO" contentMode="scaleToFill" fixedFrame="YES" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="dWa-A4-DPo">
  152. <rect key="frame" x="0.0" y="64" width="600" height="487"/>
  153. </stackView>
  154. </subviews>
  155. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  156. <constraints>
  157. <constraint firstAttribute="trailing" secondItem="22F-fe-0Lo" secondAttribute="trailing" id="CFd-zu-ipR"/>
  158. <constraint firstItem="22F-fe-0Lo" firstAttribute="top" secondItem="92E-q4-lFM" secondAttribute="bottom" id="grX-Uh-adu"/>
  159. <constraint firstItem="22F-fe-0Lo" firstAttribute="leading" secondItem="HAj-gf-aZY" secondAttribute="leading" id="wUV-uA-0hQ"/>
  160. </constraints>
  161. </view>
  162. <tabBarItem key="tabBarItem" title="下载队列" image="tab_download.png" id="hcI-f6-L65"/>
  163. </viewController>
  164. <placeholder placeholderIdentifier="IBFirstResponder" id="Doc-qT-UvO" userLabel="First Responder" sceneMemberID="firstResponder"/>
  165. </objects>
  166. <point key="canvasLocation" x="744" y="-880"/>
  167. </scene>
  168. <!--帮助-->
  169. <scene sceneID="wQx-7K-ql9">
  170. <objects>
  171. <viewController id="uHM-on-S1a" customClass="HelpViewController" sceneMemberID="viewController">
  172. <layoutGuides>
  173. <viewControllerLayoutGuide type="top" id="Uv5-Hg-of9"/>
  174. <viewControllerLayoutGuide type="bottom" id="bKe-da-o5t"/>
  175. </layoutGuides>
  176. <view key="view" contentMode="scaleToFill" id="E8Q-U3-hAh">
  177. <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  178. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  179. <subviews>
  180. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kno-Tp-DgL">
  181. <rect key="frame" x="0.0" y="20" width="600" height="531"/>
  182. <subviews>
  183. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" editable="NO" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4BM-RU-1aG">
  184. <rect key="frame" x="20" y="41" width="560" height="391"/>
  185. <accessibility key="accessibilityConfiguration">
  186. <accessibilityTraits key="traits" staticText="YES"/>
  187. <bool key="isElement" value="NO"/>
  188. </accessibility>
  189. <color key="textColor" red="0.98380684279999997" green="0.9814170069" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  190. <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="16"/>
  191. <textInputTraits key="textInputTraits" autocapitalizationType="sentences" spellCheckingType="no" enablesReturnKeyAutomatically="YES"/>
  192. </textView>
  193. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rkL-0Q-Vv4">
  194. <rect key="frame" x="230" y="440" width="140" height="40"/>
  195. <constraints>
  196. <constraint firstAttribute="width" constant="80" id="D1N-3O-7d0"/>
  197. <constraint firstAttribute="width" constant="140" id="S9P-0i-p5M"/>
  198. <constraint firstAttribute="width" constant="80" id="l5h-Bi-EQZ"/>
  199. </constraints>
  200. <state key="normal" title="Open Tumblr"/>
  201. <variation key="default">
  202. <mask key="constraints">
  203. <exclude reference="D1N-3O-7d0"/>
  204. <exclude reference="l5h-Bi-EQZ"/>
  205. </mask>
  206. </variation>
  207. <connections>
  208. <action selector="ButtonOnCancel:" destination="uHM-on-S1a" eventType="touchUpOutside" id="pBn-Bh-C0e"/>
  209. <action selector="ButtonOnOff:" destination="uHM-on-S1a" eventType="touchUpInside" id="BP5-QV-vrn"/>
  210. <action selector="ButtonOnPress:" destination="uHM-on-S1a" eventType="touchDown" id="o5g-ha-gb2"/>
  211. </connections>
  212. </button>
  213. </subviews>
  214. <color key="backgroundColor" red="0.0" green="0.74901960784313726" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  215. <constraints>
  216. <constraint firstAttribute="bottom" secondItem="4BM-RU-1aG" secondAttribute="bottom" constant="99" id="3MI-Op-HMS"/>
  217. <constraint firstItem="4BM-RU-1aG" firstAttribute="leading" secondItem="kno-Tp-DgL" secondAttribute="leading" constant="20" id="GcG-lM-a1D"/>
  218. <constraint firstAttribute="trailing" secondItem="4BM-RU-1aG" secondAttribute="trailing" constant="20" id="dgV-mV-0bP"/>
  219. <constraint firstAttribute="bottom" secondItem="rkL-0Q-Vv4" secondAttribute="bottom" constant="51" id="nsj-HL-h6h"/>
  220. <constraint firstItem="rkL-0Q-Vv4" firstAttribute="centerX" secondItem="kno-Tp-DgL" secondAttribute="centerX" id="ogt-Ye-6io"/>
  221. <constraint firstItem="rkL-0Q-Vv4" firstAttribute="top" secondItem="4BM-RU-1aG" secondAttribute="bottom" constant="8" symbolic="YES" id="ohq-cs-H82"/>
  222. <constraint firstItem="4BM-RU-1aG" firstAttribute="top" secondItem="kno-Tp-DgL" secondAttribute="top" constant="41" id="xCU-UX-0O3"/>
  223. </constraints>
  224. </view>
  225. </subviews>
  226. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  227. <constraints>
  228. <constraint firstItem="kno-Tp-DgL" firstAttribute="leading" secondItem="E8Q-U3-hAh" secondAttribute="leading" id="AGk-at-CEy"/>
  229. <constraint firstItem="bKe-da-o5t" firstAttribute="top" secondItem="kno-Tp-DgL" secondAttribute="bottom" id="K3c-pN-lsE"/>
  230. <constraint firstAttribute="trailing" secondItem="kno-Tp-DgL" secondAttribute="trailing" id="YJV-IL-iPB"/>
  231. <constraint firstAttribute="trailing" secondItem="kno-Tp-DgL" secondAttribute="trailing" id="b1K-Jx-Iba"/>
  232. <constraint firstItem="kno-Tp-DgL" firstAttribute="leading" secondItem="E8Q-U3-hAh" secondAttribute="leading" id="sP7-lV-tit"/>
  233. <constraint firstItem="kno-Tp-DgL" firstAttribute="top" secondItem="Uv5-Hg-of9" secondAttribute="bottom" id="wq9-sU-xld"/>
  234. </constraints>
  235. </view>
  236. <tabBarItem key="tabBarItem" title="帮助" image="tab_help.png" id="lHx-Th-RK7"/>
  237. <simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
  238. <connections>
  239. <outlet property="HelpTextView" destination="4BM-RU-1aG" id="xTd-6p-LnI"/>
  240. <outlet property="JumpToTumblr" destination="rkL-0Q-Vv4" id="iTm-uH-Nn4"/>
  241. </connections>
  242. </viewController>
  243. <placeholder placeholderIdentifier="IBFirstResponder" id="AxE-YJ-0FY" userLabel="First Responder" sceneMemberID="firstResponder"/>
  244. </objects>
  245. <point key="canvasLocation" x="-28" y="-817"/>
  246. </scene>
  247. <!--View Controller-->
  248. <scene sceneID="PXu-Y3-cBB">
  249. <objects>
  250. <tabBarController id="FsU-Vj-dMB" customClass="ViewController" sceneMemberID="viewController">
  251. <simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
  252. <tabBar key="tabBar" contentMode="scaleToFill" translucent="NO" id="kql-wo-lwi">
  253. <rect key="frame" x="0.0" y="0.0" width="320" height="49"/>
  254. <autoresizingMask key="autoresizingMask"/>
  255. <color key="selectedImageTintColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  256. </tabBar>
  257. <connections>
  258. <segue destination="ChQ-OW-gSd" kind="relationship" relationship="viewControllers" id="Hrc-Al-8KY"/>
  259. <segue destination="lRI-Iw-dTA" kind="relationship" relationship="viewControllers" id="zuR-mL-s4n"/>
  260. <segue destination="KwW-wf-qCg" kind="relationship" relationship="viewControllers" id="fV7-Hr-yn4"/>
  261. <segue destination="uHM-on-S1a" kind="relationship" relationship="viewControllers" id="iO9-od-1hL"/>
  262. </connections>
  263. </tabBarController>
  264. <placeholder placeholderIdentifier="IBFirstResponder" id="rkm-RZ-l2D" userLabel="First Responder" sceneMemberID="firstResponder"/>
  265. </objects>
  266. <point key="canvasLocation" x="-28" y="-111"/>
  267. </scene>
  268. </scenes>
  269. <resources>
  270. <image name="tab_download.png" width="14" height="17"/>
  271. <image name="tab_help.png" width="20" height="20"/>
  272. <image name="tab_libraries.png" width="20" height="20"/>
  273. <image name="tab_stored.png" width="24" height="16"/>
  274. </resources>
  275. <color key="tintColor" red="0.98380684279999997" green="0.9814170069" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  276. </document>