commit a66497b0b577b794b026056ca3899e57f9da0e31
parent dad009297dccd06e9c546daadffbb9daa3561e98
Author: Kyle Milz <kyle@Kyles-MacBook-Pro.local>
Date: Sun, 20 Sep 2015 17:01:27 -0600
ios: get settings view going
Diffstat:
1 file changed, 157 insertions(+), 7 deletions(-)
diff --git a/ios-ng/shlist/Base.lproj/Main.storyboard b/ios-ng/shlist/Base.lproj/Main.storyboard
@@ -309,10 +309,10 @@
<scene sceneID="tne-QT-ifu">
<objects>
<tableViewController id="BYZ-38-t0r" customClass="NewListTableViewController" sceneMemberID="viewController">
- <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="Phb-re-ztE">
+ <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="Phb-re-ztE">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<sections>
<tableViewSection headerTitle="Details" id="ir8-Yn-Ee9">
<cells>
@@ -336,7 +336,7 @@
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="n3s-JI-Clc">
+ <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="n3s-JI-Clc">
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="n3s-JI-Clc" id="8WY-QD-XTP">
<autoresizingMask key="autoresizingMask"/>
@@ -359,6 +359,25 @@
</constraints>
</tableViewCellContentView>
</tableViewCell>
+ <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" id="Eio-uC-eIV">
+ <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Eio-uC-eIV" id="GxB-ho-h09">
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Filter" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3TM-pU-nxd">
+ <rect key="frame" x="16" y="11" width="38" height="21"/>
+ <fontDescription key="fontDescription" type="system" pointSize="17"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ </subviews>
+ <constraints>
+ <constraint firstItem="3TM-pU-nxd" firstAttribute="leading" secondItem="GxB-ho-h09" secondAttribute="leadingMargin" constant="8" id="ADi-VP-AOO"/>
+ <constraint firstAttribute="centerY" secondItem="3TM-pU-nxd" secondAttribute="centerY" id="xqK-IK-0Gd"/>
+ </constraints>
+ </tableViewCellContentView>
+ </tableViewCell>
</cells>
</tableViewSection>
<tableViewSection headerTitle="Pick Deadline" id="ZYQ-vQ-gWY">
@@ -369,16 +388,17 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="pqt-jd-Mtr">
- <rect key="frame" x="16" y="-59" width="584" height="162"/>
+ <rect key="frame" x="8" y="-60" width="584" height="162"/>
<date key="date" timeIntervalSinceReferenceDate="464480445.847435">
<!--2015-09-20 22:20:45 +0000-->
</date>
</datePicker>
</subviews>
<constraints>
- <constraint firstAttribute="trailingMargin" secondItem="pqt-jd-Mtr" secondAttribute="trailing" constant="-8" id="0Wx-Rm-8nn"/>
- <constraint firstAttribute="centerY" secondItem="pqt-jd-Mtr" secondAttribute="centerY" id="Ueo-8k-pgD"/>
- <constraint firstItem="pqt-jd-Mtr" firstAttribute="leading" secondItem="gp1-BX-Ej3" secondAttribute="leadingMargin" constant="8" id="mef-KR-118"/>
+ <constraint firstAttribute="trailingMargin" secondItem="pqt-jd-Mtr" secondAttribute="trailing" id="0Wx-Rm-8nn"/>
+ <constraint firstItem="pqt-jd-Mtr" firstAttribute="top" secondItem="gp1-BX-Ej3" secondAttribute="topMargin" id="GlD-Ya-Tjv"/>
+ <constraint firstAttribute="bottomMargin" secondItem="pqt-jd-Mtr" secondAttribute="bottom" id="age-8u-E2q"/>
+ <constraint firstItem="pqt-jd-Mtr" firstAttribute="leading" secondItem="gp1-BX-Ej3" secondAttribute="leadingMargin" id="mef-KR-118"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
@@ -420,6 +440,7 @@
<connections>
<segue destination="0GJ-5e-Vr4" kind="relationship" relationship="viewControllers" id="nLJ-0v-l7T"/>
<segue destination="H4q-bc-jfz" kind="relationship" relationship="viewControllers" id="9us-ML-Tfz"/>
+ <segue destination="iFp-sd-hAj" kind="relationship" relationship="viewControllers" id="Mqj-Ki-W7Z"/>
</connections>
</tabBarController>
<placeholder placeholderIdentifier="IBFirstResponder" id="PWN-St-ASU" userLabel="First Responder" sceneMemberID="firstResponder"/>
@@ -492,6 +513,116 @@
</objects>
<point key="canvasLocation" x="432" y="1098"/>
</scene>
+ <!--Settings-->
+ <scene sceneID="VVW-AV-daH">
+ <objects>
+ <tableViewController id="fV5-WH-d49" userLabel="Settings" sceneMemberID="viewController">
+ <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="0rU-JR-ipU">
+ <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
+ <sections>
+ <tableViewSection id="YTa-rE-rSC">
+ <cells>
+ <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" indentationWidth="10" textLabel="ZPp-x1-VLQ" detailTextLabel="8ae-6U-Vfz" style="IBUITableViewCellStyleValue1" id="AhR-8T-ydA">
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="AhR-8T-ydA" id="bbM-sr-U3w">
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Phone Number" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="ZPp-x1-VLQ">
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <fontDescription key="fontDescription" type="system" pointSize="16"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Detail" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="8ae-6U-Vfz">
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <fontDescription key="fontDescription" type="system" pointSize="16"/>
+ <color key="textColor" red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="calibratedRGB"/>
+ <nil key="highlightedColor"/>
+ </label>
+ </subviews>
+ </tableViewCellContentView>
+ <connections>
+ <segue destination="2wR-ox-ygu" kind="show" id="nZh-So-yMA"/>
+ </connections>
+ </tableViewCell>
+ <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" textLabel="0kV-we-bvq" detailTextLabel="hcO-PG-uAA" style="IBUITableViewCellStyleValue1" id="pLe-rJ-ITY">
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="pLe-rJ-ITY" id="RsW-FA-jWb">
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Device Id" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="0kV-we-bvq">
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <fontDescription key="fontDescription" type="system" pointSize="16"/>
+ <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+ <nil key="highlightedColor"/>
+ </label>
+ <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Detail" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="hcO-PG-uAA">
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <fontDescription key="fontDescription" type="system" pointSize="16"/>
+ <color key="textColor" red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="calibratedRGB"/>
+ <nil key="highlightedColor"/>
+ </label>
+ </subviews>
+ </tableViewCellContentView>
+ </tableViewCell>
+ </cells>
+ </tableViewSection>
+ </sections>
+ <connections>
+ <outlet property="dataSource" destination="fV5-WH-d49" id="WdW-Qf-xpY"/>
+ <outlet property="delegate" destination="fV5-WH-d49" id="MeO-vq-pxS"/>
+ </connections>
+ </tableView>
+ <navigationItem key="navigationItem" title="Settings" id="zoA-Im-wFY"/>
+ </tableViewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="BHt-9T-HOU" userLabel="First Responder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="432" y="2022"/>
+ </scene>
+ <!--Edit Line Table View Controller-->
+ <scene sceneID="2u4-qw-YzR">
+ <objects>
+ <tableViewController id="2wR-ox-ygu" userLabel="Edit Line Table View Controller" sceneMemberID="viewController">
+ <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="wHL-jK-gRV">
+ <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
+ <sections>
+ <tableViewSection id="ebc-84-rdp">
+ <cells>
+ <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="Czg-pt-9Mt">
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Czg-pt-9Mt" id="f3R-s3-9jK">
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="oqT-NG-UTN">
+ <rect key="frame" x="16" y="13" width="568" height="17"/>
+ <fontDescription key="fontDescription" type="system" pointSize="14"/>
+ <textInputTraits key="textInputTraits"/>
+ </textField>
+ </subviews>
+ <constraints>
+ <constraint firstAttribute="centerY" secondItem="oqT-NG-UTN" secondAttribute="centerY" id="7Ve-1d-Cpw"/>
+ <constraint firstItem="oqT-NG-UTN" firstAttribute="leading" secondItem="f3R-s3-9jK" secondAttribute="leadingMargin" constant="8" id="eSu-Yc-MqZ"/>
+ <constraint firstAttribute="trailingMargin" secondItem="oqT-NG-UTN" secondAttribute="trailing" constant="8" id="lbw-eK-c0a"/>
+ </constraints>
+ </tableViewCellContentView>
+ </tableViewCell>
+ </cells>
+ </tableViewSection>
+ </sections>
+ <connections>
+ <outlet property="dataSource" destination="2wR-ox-ygu" id="bUa-Cn-Q2o"/>
+ <outlet property="delegate" destination="2wR-ox-ygu" id="1xC-c0-Wev"/>
+ </connections>
+ </tableView>
+ </tableViewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="Ysr-vN-7Hy" userLabel="First Responder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="1261" y="2019"/>
+ </scene>
<!--Shared Lists-->
<scene sceneID="vP4-SE-UGa">
<objects>
@@ -566,6 +697,25 @@
</objects>
<point key="canvasLocation" x="-380" y="1098"/>
</scene>
+ <!--Settings-->
+ <scene sceneID="8ML-It-fz6">
+ <objects>
+ <navigationController automaticallyAdjustsScrollViewInsets="NO" id="iFp-sd-hAj" userLabel="Settings" sceneMemberID="viewController">
+ <tabBarItem key="tabBarItem" title="Settings" id="C0E-KW-0oq"/>
+ <toolbarItems/>
+ <navigationBar key="navigationBar" contentMode="scaleToFill" id="ngx-HQ-EfX">
+ <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </navigationBar>
+ <nil name="viewControllers"/>
+ <connections>
+ <segue destination="fV5-WH-d49" kind="relationship" relationship="rootViewController" id="TiQ-6N-7bX"/>
+ </connections>
+ </navigationController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="77K-lC-3Qx" userLabel="First Responder" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="-380" y="2022"/>
+ </scene>
</scenes>
<inferredMetricsTieBreakers>
<segue reference="7nF-P4-5L6"/>