TableView Instantiated (to do: load on select, tableview for dropbox (check marking for upload, populating and check marking for download)

This commit is contained in:
2016-03-27 18:37:25 +02:00
parent 62438ae206
commit ff9b96d277
8 changed files with 227 additions and 5 deletions
+90 -1
View File
@@ -81,13 +81,99 @@
<view key="view" contentMode="scaleToFill" id="Q1M-LV-Smi">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MYC-QY-v42">
<rect key="frame" x="87" y="72" width="147" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="2iN-qg-kf5"/>
<constraint firstAttribute="width" constant="147" id="30a-wW-H5A"/>
</constraints>
<state key="normal" title="Connect to Dropbox"/>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="n9p-C2-IND">
<rect key="frame" x="91" y="110" width="138" height="30"/>
<constraints>
<constraint firstAttribute="width" constant="138" id="r6d-mz-hzw"/>
<constraint firstAttribute="height" constant="30" id="zix-yU-gXi"/>
</constraints>
<state key="normal" title="Upload to Dropbox"/>
<connections>
<segue destination="qw7-1R-cA8" kind="push" identifier="Upload" id="PbX-LR-FGE"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="V5o-Hb-Mk0">
<rect key="frame" x="73" y="148" width="175" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="NyA-gq-Qud"/>
<constraint firstAttribute="width" constant="175" id="gAm-kR-Mds"/>
</constraints>
<state key="normal" title="Download from Dropbox"/>
<connections>
<segue destination="qw7-1R-cA8" kind="push" identifier="Download" id="Inw-91-2L8"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xba-tH-5D0">
<rect key="frame" x="106" y="186" width="108" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="CUF-py-0j8"/>
<constraint firstAttribute="width" constant="108" id="y2w-le-Ge2"/>
</constraints>
<state key="normal" title="Manage Saves"/>
<connections>
<segue destination="qw7-1R-cA8" kind="push" identifier="Manage" id="Thn-Z7-qri"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="n9p-C2-IND" firstAttribute="leading" secondItem="Q1M-LV-Smi" secondAttribute="leading" constant="91" id="3OR-Oa-8cl"/>
<constraint firstAttribute="trailing" secondItem="n9p-C2-IND" secondAttribute="trailing" constant="91" id="6nb-b2-JUb"/>
<constraint firstItem="MYC-QY-v42" firstAttribute="top" secondItem="ggM-lD-yT2" secondAttribute="bottom" constant="8" id="7Aw-oA-8DT"/>
<constraint firstAttribute="trailing" secondItem="MYC-QY-v42" secondAttribute="trailing" constant="86" id="9o7-P0-T70"/>
<constraint firstItem="MYC-QY-v42" firstAttribute="leading" secondItem="Q1M-LV-Smi" secondAttribute="leading" constant="87" id="Clk-jD-xRP"/>
<constraint firstItem="V5o-Hb-Mk0" firstAttribute="leading" secondItem="Q1M-LV-Smi" secondAttribute="leading" constant="73" id="ISQ-lm-JNH"/>
<constraint firstItem="xba-tH-5D0" firstAttribute="top" secondItem="V5o-Hb-Mk0" secondAttribute="bottom" constant="8" id="UcB-x5-idK"/>
<constraint firstItem="n9p-C2-IND" firstAttribute="top" secondItem="MYC-QY-v42" secondAttribute="bottom" constant="8" id="fvc-m1-XMt"/>
<constraint firstItem="xba-tH-5D0" firstAttribute="leading" secondItem="Q1M-LV-Smi" secondAttribute="leading" constant="106" id="gPD-fO-cXe"/>
<constraint firstItem="V5o-Hb-Mk0" firstAttribute="top" secondItem="n9p-C2-IND" secondAttribute="bottom" constant="8" id="iyC-R1-ynj"/>
<constraint firstAttribute="trailing" secondItem="xba-tH-5D0" secondAttribute="trailing" constant="106" id="ucb-R9-rXU"/>
<constraint firstAttribute="trailing" secondItem="V5o-Hb-Mk0" secondAttribute="trailing" constant="72" id="w7R-ZC-VDc"/>
</constraints>
</view>
<navigationItem key="navigationItem" id="74M-cv-MGw"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="PNG-bU-UDR" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="883" y="346"/>
<point key="canvasLocation" x="856" y="344"/>
</scene>
<!--Table View Controller-->
<scene sceneID="F3q-5D-4t0">
<objects>
<tableViewController id="qw7-1R-cA8" customClass="TableViewController" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="0dH-a1-JuC">
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" id="GLu-S8-RZg">
<rect key="frame" x="0.0" y="92" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GLu-S8-RZg" id="r83-TH-eMI">
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
<autoresizingMask key="autoresizingMask"/>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="qw7-1R-cA8" id="TZz-Wq-5PI"/>
<outlet property="delegate" destination="qw7-1R-cA8" id="kgH-dp-dIF"/>
</connections>
</tableView>
<navigationItem key="navigationItem" id="zeC-W5-eig"/>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="deD-WD-0i0" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1236" y="344"/>
</scene>
<!--View Controller Keyboard-->
<scene sceneID="L6e-QQ-dPq">
@@ -960,4 +1046,7 @@
<image name="tri" width="15" height="21"/>
<image name="triFlip" width="15" height="21"/>
</resources>
<inferredMetricsTieBreakers>
<segue reference="PbX-LR-FGE"/>
</inferredMetricsTieBreakers>
</document>