Files
GitHawk/SwipeCellKit/Example/MailExample/Main.storyboard
2017-06-26 12:18:06 -04:00

269 lines
26 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16E195" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="LX8-Wu-PZs">
<device id="retina5_5" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="Segues with Peek and Pop" minToolsVersion="7.1"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Inbox-->
<scene sceneID="G8x-01-wca">
<objects>
<collectionViewController id="cmw-A4-aNK" customClass="MailCollectioViewController" customModule="MailExample" customModuleProvider="target" sceneMemberID="viewController">
<collectionView key="view" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" id="908-WI-Mtj">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="vcT-nn-5Lc">
<size key="itemSize" width="386" height="141"/>
<size key="headerReferenceSize" width="0.0" height="0.0"/>
<size key="footerReferenceSize" width="0.0" height="0.0"/>
<inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
</collectionViewFlowLayout>
<cells>
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="MailCell" id="fLQ-Wv-7IX" customClass="MailCollectionCell" customModule="MailExample" customModuleProvider="target">
<rect key="frame" x="14" y="0.0" width="386" height="141"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
<rect key="frame" x="0.0" y="0.0" width="386" height="141"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="1HJ-g8-owo">
<rect key="frame" x="5" y="9" width="376" height="80.333333333333329"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="6" translatesAutoresizingMaskIntoConstraints="NO" id="PS0-1N-UsZ">
<rect key="frame" x="0.0" y="0.0" width="370" height="20.333333333333336"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="John Doe" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mP8-DH-PmZ">
<rect key="frame" x="0.0" y="0.0" width="75.666666666666671" height="20.333333333333336"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12:16 AM" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1f9-ii-Bpm">
<rect key="frame" x="81.666666666666657" y="1.3333333333333321" width="268.33333333333337" height="18.000000000000004"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Disclosure" translatesAutoresizingMaskIntoConstraints="NO" id="hqu-np-szt">
<rect key="frame" x="356" y="3.3333333333333321" width="14" height="14.000000000000004"/>
<constraints>
<constraint firstAttribute="width" constant="14" id="Utg-5B-9hs"/>
<constraint firstAttribute="height" constant="14" id="bHQ-dV-xtu"/>
</constraints>
</imageView>
</subviews>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Fwd: Jane's independent studies" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z64-RE-lES">
<rect key="frame" x="0.0" y="22.333333333333336" width="224.33333333333334" height="18"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="55J-2s-TCz">
<rect key="frame" x="0.0" y="42.333333333333329" width="0.0" height="37.999999999999986"/>
<string key="text">Sra. Mendez - Thank you so MUCH for this. We know you do not have to do this and we are so grateful to you. Please let us know if there's anything else we can do.</string>
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="PS0-1N-UsZ" firstAttribute="width" secondItem="1HJ-g8-owo" secondAttribute="width" id="SlE-2p-q0h"/>
</constraints>
</stackView>
</subviews>
</view>
<constraints>
<constraint firstItem="1HJ-g8-owo" firstAttribute="top" secondItem="fLQ-Wv-7IX" secondAttribute="topMargin" constant="8" id="2lL-rO-DAu"/>
<constraint firstItem="1HJ-g8-owo" firstAttribute="leading" secondItem="fLQ-Wv-7IX" secondAttribute="leadingMargin" id="DGz-qr-x7U"/>
<constraint firstAttribute="bottomMargin" relation="greaterThanOrEqual" secondItem="1HJ-g8-owo" secondAttribute="bottom" constant="8" id="YoS-XG-3iv"/>
<constraint firstAttribute="trailingMargin" secondItem="1HJ-g8-owo" secondAttribute="trailing" id="j2K-l5-IEc"/>
</constraints>
<connections>
<outlet property="bodyLabel" destination="55J-2s-TCz" id="7h3-f1-1lY"/>
<outlet property="dateLabel" destination="1f9-ii-Bpm" id="s7e-5c-xlo"/>
<outlet property="fromLabel" destination="mP8-DH-PmZ" id="YOz-Wz-MQ9"/>
<outlet property="subjectLabel" destination="Z64-RE-lES" id="MfW-0O-Aae"/>
</connections>
</collectionViewCell>
</cells>
<connections>
<outlet property="dataSource" destination="cmw-A4-aNK" id="7yH-sI-5V9"/>
<outlet property="delegate" destination="cmw-A4-aNK" id="cAX-5G-GfZ"/>
</connections>
</collectionView>
<navigationItem key="navigationItem" title="Inbox" id="cNZ-i7-2vB"/>
</collectionViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="m70-AD-FEd" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1137" y="-370"/>
</scene>
<!--Inbox-->
<scene sceneID="HlW-7Y-kIf">
<objects>
<tableViewController id="6la-Rf-5vT" customClass="MailViewController" customModule="MailExample" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="141" sectionHeaderHeight="28" sectionFooterHeight="28" id="CnD-MW-SLC">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="MailCell" rowHeight="141" id="5Yy-lT-eDE" customClass="MailTableCell" customModule="MailExample" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="414" height="141"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" tableViewCell="5Yy-lT-eDE" id="4sX-Fn-82y">
<rect key="frame" x="0.0" y="0.0" width="414" height="140.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="QLZ-ve-Blz">
<rect key="frame" x="15" y="8" width="376" height="80.333333333333329"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="6" translatesAutoresizingMaskIntoConstraints="NO" id="mEo-oH-eCL">
<rect key="frame" x="0.0" y="0.0" width="376" height="20.333333333333332"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="John Doe" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C77-Oi-r7Y">
<rect key="frame" x="0.0" y="0.0" width="75.666666666666671" height="20.333333333333332"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12:16 AM" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MgJ-f3-Qel">
<rect key="frame" x="81.666666666666657" y="1.3333333333333339" width="274.33333333333337" height="18"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Disclosure" translatesAutoresizingMaskIntoConstraints="NO" id="UNG-rq-ulh">
<rect key="frame" x="362" y="3.333333333333333" width="14" height="14"/>
<constraints>
<constraint firstAttribute="width" constant="14" id="Ty6-tZ-2ee"/>
<constraint firstAttribute="height" constant="14" id="eoh-QM-XJN"/>
</constraints>
</imageView>
</subviews>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Fwd: Jane's independent studies" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kOp-Z7-e55">
<rect key="frame" x="0.0" y="22.333333333333336" width="224.33333333333334" height="18.000000000000007"/>
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wyD-6Z-4MU">
<rect key="frame" x="0.0" y="42.333333333333329" width="374.66666666666669" height="37.999999999999986"/>
<string key="text">Sra. Mendez - Thank you so MUCH for this. We know you do not have to do this and we are so grateful to you. Please let us know if there's anything else we can do.</string>
<fontDescription key="fontDescription" style="UICTFontTextStyleSubhead"/>
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="mEo-oH-eCL" firstAttribute="width" secondItem="QLZ-ve-Blz" secondAttribute="width" id="X8m-GN-Ton"/>
</constraints>
</stackView>
</subviews>
<constraints>
<constraint firstItem="QLZ-ve-Blz" firstAttribute="leading" secondItem="4sX-Fn-82y" secondAttribute="leadingMargin" id="1jo-sd-j9z"/>
<constraint firstAttribute="trailingMargin" secondItem="QLZ-ve-Blz" secondAttribute="trailing" constant="8" id="FdO-rr-69c"/>
<constraint firstItem="QLZ-ve-Blz" firstAttribute="top" secondItem="4sX-Fn-82y" secondAttribute="top" constant="8" id="nFw-f6-NF3"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="QLZ-ve-Blz" secondAttribute="bottom" constant="8" id="pEp-OB-V1T"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="bodyLabel" destination="wyD-6Z-4MU" id="MSP-7T-ocN"/>
<outlet property="dateLabel" destination="MgJ-f3-Qel" id="bBq-79-w1m"/>
<outlet property="fromLabel" destination="C77-Oi-r7Y" id="EqO-Vs-BwD"/>
<outlet property="subjectLabel" destination="kOp-Z7-e55" id="eAa-z9-y7H"/>
<segue destination="81m-9H-rJk" kind="show" id="jem-dB-OGt">
<segue key="commit" inheritsFrom="parent" id="y2C-s6-bBo"/>
<segue key="preview" inheritsFrom="commit" id="u0F-oO-kTk"/>
</segue>
</connections>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="6la-Rf-5vT" id="Efw-do-3sC"/>
<outlet property="delegate" destination="6la-Rf-5vT" id="M5W-j9-Dvc"/>
</connections>
</tableView>
<toolbarItems>
<barButtonItem image="MoreOutline" id="uNb-Nn-9h4">
<connections>
<action selector="moreTapped:" destination="6la-Rf-5vT" id="b3a-rO-t14"/>
</connections>
</barButtonItem>
<barButtonItem style="plain" systemItem="flexibleSpace" id="W67-Cg-GPa"/>
<barButtonItem systemItem="compose" id="JKa-4y-qF4"/>
</toolbarItems>
<navigationItem key="navigationItem" title="Inbox" id="OxT-d4-BSj">
<barButtonItem key="rightBarButtonItem" systemItem="edit" id="dHC-AY-Bdd"/>
</navigationItem>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="8lh-aK-vJ4" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1137" y="536"/>
</scene>
<!--View Controller-->
<scene sceneID="17V-AF-8zo">
<objects>
<viewController id="81m-9H-rJk" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Zvn-TP-vhq"/>
<viewControllerLayoutGuide type="bottom" id="7lK-sQ-N5i"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Wnv-we-QW8">
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</view>
<toolbarItems>
<barButtonItem systemItem="organize" id="anf-f8-yx4"/>
<barButtonItem style="plain" systemItem="flexibleSpace" id="utV-fK-yxL"/>
<barButtonItem systemItem="trash" id="mJb-1I-7hu"/>
<barButtonItem style="plain" systemItem="flexibleSpace" id="H5d-uO-1Uq"/>
<barButtonItem systemItem="reply" id="fbW-zE-I1v"/>
<barButtonItem style="plain" systemItem="flexibleSpace" id="7fs-2F-D0z"/>
<barButtonItem systemItem="compose" id="WlO-zb-3kD"/>
</toolbarItems>
<navigationItem key="navigationItem" id="EIm-x7-h3d"/>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="pAA-dO-BBI" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1914" y="166"/>
</scene>
<!--Navigation Controller-->
<scene sceneID="t3H-qW-IeR">
<objects>
<navigationController automaticallyAdjustsScrollViewInsets="NO" toolbarHidden="NO" id="LX8-Wu-PZs" sceneMemberID="viewController">
<toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" id="J9z-jV-3U7">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</navigationBar>
<nil name="viewControllers"/>
<toolbar key="toolbar" opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="bOW-0N-oQR">
<rect key="frame" x="0.0" y="692" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
</toolbar>
<connections>
<segue destination="cmw-A4-aNK" kind="relationship" relationship="rootViewController" id="a6O-e5-iEC"/>
</connections>
</navigationController>
<placeholder placeholderIdentifier="IBFirstResponder" id="teA-Er-8PS" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="204" y="164.16791604197903"/>
</scene>
</scenes>
<resources>
<image name="Disclosure" width="14" height="14"/>
<image name="MoreOutline" width="23" height="23"/>
</resources>
<inferredMetricsTieBreakers>
<segue reference="jem-dB-OGt"/>
</inferredMetricsTieBreakers>
</document>