Browse Source

Add TabViewController and three main ViewControllers with TableView inside to main storyboard

HonorLee 8 years ago
parent
commit
2cd01f2df4
1 changed files with 193 additions and 10 deletions
  1. 193 10
      TumblrDownloader/Base.lproj/Main.storyboard

+ 193 - 10
TumblrDownloader/Base.lproj/Main.storyboard

@@ -1,25 +1,208 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
+<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">
     <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
+        <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
     </dependencies>
     <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
+        <!--待下载-->
+        <scene sceneID="FFK-Lb-21b">
             <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
+                <viewController id="lRI-Iw-dTA" sceneMemberID="viewController">
                     <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
+                        <viewControllerLayoutGuide type="top" id="q0G-bX-9dp"/>
+                        <viewControllerLayoutGuide type="bottom" id="7rn-JY-4Jg"/>
                     </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
+                    <view key="view" contentMode="scaleToFill" id="Lr6-Ec-rxp">
                         <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+                        <subviews>
+                            <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">
+                                <rect key="frame" x="0.0" y="64" width="600" height="487"/>
+                                <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                <prototypes>
+                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="4y4-cp-ZPb">
+                                        <rect key="frame" x="0.0" y="28" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="4y4-cp-ZPb" id="xxK-hZ-vB4">
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                        </tableViewCellContentView>
+                                    </tableViewCell>
+                                </prototypes>
+                            </tableView>
+                            <navigationBar contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vdl-3W-IOG">
+                                <rect key="frame" x="0.0" y="20" width="600" height="44"/>
+                                <items>
+                                    <navigationItem title="Title" id="gWa-wn-rsp"/>
+                                </items>
+                            </navigationBar>
+                        </subviews>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                        <constraints>
+                            <constraint firstItem="vdl-3W-IOG" firstAttribute="leading" secondItem="Lr6-Ec-rxp" secondAttribute="leading" id="33m-17-kUC"/>
+                            <constraint firstAttribute="trailing" secondItem="vdl-3W-IOG" secondAttribute="trailing" id="Pxe-q0-uUZ"/>
+                            <constraint firstItem="DA9-pA-54O" firstAttribute="top" secondItem="vdl-3W-IOG" secondAttribute="bottom" id="VO4-t5-Cx7"/>
+                            <constraint firstAttribute="trailing" secondItem="DA9-pA-54O" secondAttribute="trailing" id="aaA-cO-0Pd"/>
+                            <constraint firstItem="7rn-JY-4Jg" firstAttribute="top" secondItem="DA9-pA-54O" secondAttribute="bottom" id="gQB-lG-jv5"/>
+                            <constraint firstItem="vdl-3W-IOG" firstAttribute="top" secondItem="q0G-bX-9dp" secondAttribute="bottom" id="hXr-Hu-NLz"/>
+                            <constraint firstItem="DA9-pA-54O" firstAttribute="leading" secondItem="Lr6-Ec-rxp" secondAttribute="leading" id="lYc-Bs-OuM"/>
+                        </constraints>
                     </view>
+                    <tabBarItem key="tabBarItem" title="待下载" id="Uvb-Oj-AKd"/>
                 </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="fOe-7E-bWh" userLabel="First Responder" sceneMemberID="firstResponder"/>
             </objects>
+            <point key="canvasLocation" x="744" y="-93"/>
+        </scene>
+        <!--已完成-->
+        <scene sceneID="bhf-u7-DQ8">
+            <objects>
+                <viewController id="2Qi-2r-owq" sceneMemberID="viewController">
+                    <layoutGuides>
+                        <viewControllerLayoutGuide type="top" id="z1Y-37-Q03"/>
+                        <viewControllerLayoutGuide type="bottom" id="EbL-sS-eXJ"/>
+                    </layoutGuides>
+                    <view key="view" contentMode="scaleToFill" id="n4s-Xo-l55">
+                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <subviews>
+                            <navigationBar contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="h7A-WB-6OY">
+                                <rect key="frame" x="0.0" y="20" width="600" height="44"/>
+                                <items>
+                                    <navigationItem title="Title" id="VB3-Uk-rM5"/>
+                                </items>
+                            </navigationBar>
+                            <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="xix-k3-g5i">
+                                <rect key="frame" x="0.0" y="64" width="600" height="487"/>
+                                <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                <prototypes>
+                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="QGD-jM-2Yy">
+                                        <rect key="frame" x="0.0" y="28" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="QGD-jM-2Yy" id="Wz3-v1-7OT">
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                        </tableViewCellContentView>
+                                    </tableViewCell>
+                                </prototypes>
+                            </tableView>
+                        </subviews>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                        <constraints>
+                            <constraint firstItem="xix-k3-g5i" firstAttribute="top" secondItem="h7A-WB-6OY" secondAttribute="bottom" id="0CB-uX-qfT"/>
+                            <constraint firstAttribute="trailing" secondItem="xix-k3-g5i" secondAttribute="trailing" id="5W9-Vc-Ud5"/>
+                            <constraint firstItem="h7A-WB-6OY" firstAttribute="top" secondItem="z1Y-37-Q03" secondAttribute="bottom" id="9ml-Eq-kou"/>
+                            <constraint firstItem="xix-k3-g5i" firstAttribute="leading" secondItem="n4s-Xo-l55" secondAttribute="leading" id="U0q-EV-kUs"/>
+                            <constraint firstAttribute="trailing" secondItem="h7A-WB-6OY" secondAttribute="trailing" id="Wwg-1I-0cB"/>
+                            <constraint firstItem="EbL-sS-eXJ" firstAttribute="top" secondItem="xix-k3-g5i" secondAttribute="bottom" id="Z60-HN-8xD"/>
+                            <constraint firstItem="h7A-WB-6OY" firstAttribute="leading" secondItem="n4s-Xo-l55" secondAttribute="leading" id="dlm-Qt-7et"/>
+                            <constraint firstAttribute="trailing" secondItem="h7A-WB-6OY" secondAttribute="trailing" id="gzk-aV-5Wj"/>
+                            <constraint firstItem="h7A-WB-6OY" firstAttribute="leading" secondItem="n4s-Xo-l55" secondAttribute="leading" id="wV9-Md-8HS"/>
+                        </constraints>
+                    </view>
+                    <tabBarItem key="tabBarItem" title="已完成" id="l3s-Qp-SNw"/>
+                    <simulatedTabBarMetrics key="simulatedBottomBarMetrics"/>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="5jp-WD-NXT" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="744" y="670"/>
+        </scene>
+        <!--队列中-->
+        <scene sceneID="18H-WV-I8v">
+            <objects>
+                <viewController id="ChQ-OW-gSd" sceneMemberID="viewController">
+                    <layoutGuides>
+                        <viewControllerLayoutGuide type="top" id="92E-q4-lFM"/>
+                        <viewControllerLayoutGuide type="bottom" id="v3s-2H-iT2"/>
+                    </layoutGuides>
+                    <view key="view" contentMode="scaleToFill" id="HAj-gf-aZY">
+                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <subviews>
+                            <navigationBar contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="22F-fe-0Lo">
+                                <rect key="frame" x="0.0" y="20" width="600" height="44"/>
+                                <items>
+                                    <navigationItem title="Title" id="1bI-kf-fwy"/>
+                                </items>
+                            </navigationBar>
+                            <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="eXP-68-Xjx">
+                                <rect key="frame" x="0.0" y="64" width="600" height="487"/>
+                                <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                <constraints>
+                                    <constraint firstAttribute="width" constant="240" id="xQh-CS-9Gq"/>
+                                </constraints>
+                                <prototypes>
+                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="mVg-fm-U3u">
+                                        <rect key="frame" x="0.0" y="28" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mVg-fm-U3u" id="sVp-Fa-8AN">
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                        </tableViewCellContentView>
+                                    </tableViewCell>
+                                </prototypes>
+                                <variation key="default">
+                                    <mask key="constraints">
+                                        <exclude reference="xQh-CS-9Gq"/>
+                                    </mask>
+                                </variation>
+                            </tableView>
+                        </subviews>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                        <constraints>
+                            <constraint firstItem="eXP-68-Xjx" firstAttribute="leading" secondItem="HAj-gf-aZY" secondAttribute="leading" id="3W2-C7-61U"/>
+                            <constraint firstAttribute="trailing" secondItem="eXP-68-Xjx" secondAttribute="trailing" id="8JX-vD-a4S"/>
+                            <constraint firstItem="v3s-2H-iT2" firstAttribute="top" secondItem="eXP-68-Xjx" secondAttribute="bottom" id="9DZ-vu-4Vl"/>
+                            <constraint firstAttribute="trailing" secondItem="22F-fe-0Lo" secondAttribute="trailing" id="CFd-zu-ipR"/>
+                            <constraint firstItem="eXP-68-Xjx" firstAttribute="leading" secondItem="HAj-gf-aZY" secondAttribute="leading" id="IFh-o2-15C"/>
+                            <constraint firstAttribute="trailing" secondItem="eXP-68-Xjx" secondAttribute="trailing" id="JHa-NS-XeH"/>
+                            <constraint firstItem="eXP-68-Xjx" firstAttribute="top" secondItem="22F-fe-0Lo" secondAttribute="bottom" id="SwK-Mi-WxL"/>
+                            <constraint firstItem="v3s-2H-iT2" firstAttribute="top" secondItem="eXP-68-Xjx" secondAttribute="bottom" id="YnF-rQ-dVs"/>
+                            <constraint firstItem="v3s-2H-iT2" firstAttribute="top" secondItem="eXP-68-Xjx" secondAttribute="bottom" constant="273" id="Z3h-6p-Oze"/>
+                            <constraint firstItem="eXP-68-Xjx" firstAttribute="top" secondItem="22F-fe-0Lo" secondAttribute="bottom" id="dfo-dY-ai3"/>
+                            <constraint firstItem="22F-fe-0Lo" firstAttribute="top" secondItem="92E-q4-lFM" secondAttribute="bottom" id="grX-Uh-adu"/>
+                            <constraint firstItem="eXP-68-Xjx" firstAttribute="top" secondItem="22F-fe-0Lo" secondAttribute="bottom" constant="86" id="v4B-hK-2Ah"/>
+                            <constraint firstItem="22F-fe-0Lo" firstAttribute="leading" secondItem="HAj-gf-aZY" secondAttribute="leading" id="wUV-uA-0hQ"/>
+                            <constraint firstItem="eXP-68-Xjx" firstAttribute="leading" secondItem="HAj-gf-aZY" secondAttribute="leadingMargin" constant="52" id="xrq-FQ-dNB"/>
+                        </constraints>
+                        <variation key="default">
+                            <mask key="constraints">
+                                <exclude reference="8JX-vD-a4S"/>
+                                <exclude reference="IFh-o2-15C"/>
+                                <exclude reference="dfo-dY-ai3"/>
+                                <exclude reference="v4B-hK-2Ah"/>
+                                <exclude reference="xrq-FQ-dNB"/>
+                                <exclude reference="YnF-rQ-dVs"/>
+                                <exclude reference="Z3h-6p-Oze"/>
+                            </mask>
+                        </variation>
+                    </view>
+                    <tabBarItem key="tabBarItem" title="队列中" id="hcI-f6-L65"/>
+                </viewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="Doc-qT-UvO" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="744" y="-880"/>
+        </scene>
+        <!--Tab Bar Controller-->
+        <scene sceneID="PXu-Y3-cBB">
+            <objects>
+                <tabBarController id="FsU-Vj-dMB" sceneMemberID="viewController">
+                    <tabBar key="tabBar" contentMode="scaleToFill" id="kql-wo-lwi">
+                        <rect key="frame" x="0.0" y="0.0" width="320" height="49"/>
+                        <autoresizingMask key="autoresizingMask"/>
+                        <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
+                    </tabBar>
+                    <connections>
+                        <segue destination="ChQ-OW-gSd" kind="relationship" relationship="viewControllers" id="Hrc-Al-8KY"/>
+                        <segue destination="lRI-Iw-dTA" kind="relationship" relationship="viewControllers" id="zuR-mL-s4n"/>
+                        <segue destination="2Qi-2r-owq" kind="relationship" relationship="viewControllers" id="kP5-B8-Rf0"/>
+                    </connections>
+                </tabBarController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="rkm-RZ-l2D" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="-28" y="-111"/>
         </scene>
     </scenes>
 </document>