<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="jGX-GA-nlH">
    <device id="retina4_7" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
        <capability name="System colors in document resources" minToolsVersion="11.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <scenes>
        <!--Insulin Delivery-->
        <scene sceneID="chM-uK-wOq">
            <objects>
                <tableViewController id="jGX-GA-nlH" customClass="InsulinDeliveryTableViewController" customModule="Loop" sceneMemberID="viewController">
                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="ccM-3y-LQM">
                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                        <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                        <view key="tableHeaderView" hidden="YES" contentMode="scaleToFill" layoutMarginsFollowReadableWidth="YES" id="zFy-ot-4Na">
                            <rect key="frame" x="0.0" y="0.0" width="375" height="110"/>
                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                            <subviews>
                                <stackView opaque="NO" contentMode="scaleToFill" distribution="fillProportionally" alignment="bottom" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="5b0-Ph-jbn">
                                    <rect key="frame" x="15" y="8" width="345" height="86"/>
                                    <subviews>
                                        <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="-5" translatesAutoresizingMaskIntoConstraints="NO" id="eoz-5l-vdV">
                                            <rect key="frame" x="0.0" y="0.0" width="165" height="86"/>
                                            <subviews>
                                                <stackView opaque="NO" contentMode="scaleToFill" alignment="lastBaseline" translatesAutoresizingMaskIntoConstraints="NO" id="TWr-RZ-2bG">
                                                    <rect key="frame" x="0.0" y="0.0" width="165" height="41"/>
                                                    <subviews>
                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PZQ-gO-084">
                                                            <rect key="frame" x="0.0" y="0.0" width="29.5" height="41"/>
                                                            <fontDescription key="fontDescription" type="system" weight="light" pointSize="45"/>
                                                            <nil key="textColor"/>
                                                            <nil key="highlightedColor"/>
                                                        </label>
                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="U IOB" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dZi-Ta-IHm">
                                                            <rect key="frame" x="29.5" y="14" width="135.5" height="20.5"/>
                                                            <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                                            <nil key="highlightedColor"/>
                                                        </label>
                                                    </subviews>
                                                </stackView>
                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="none" adjustsLetterSpacingToFitWidth="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="92n-81-9sl">
                                                    <rect key="frame" x="0.0" y="36" width="165" height="50"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
                                                    <color key="textColor" systemColor="secondaryLabelColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                            </subviews>
                                        </stackView>
                                        <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="-5" translatesAutoresizingMaskIntoConstraints="NO" id="Sim-jn-gtO">
                                            <rect key="frame" x="175" y="0.0" width="170" height="86"/>
                                            <subviews>
                                                <stackView opaque="NO" contentMode="scaleToFill" alignment="lastBaseline" translatesAutoresizingMaskIntoConstraints="NO" id="9eP-Ak-U7j">
                                                    <rect key="frame" x="0.0" y="0.0" width="170" height="41"/>
                                                    <subviews>
                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Fy-gG-Zof">
                                                            <rect key="frame" x="0.0" y="0.0" width="29.5" height="41"/>
                                                            <fontDescription key="fontDescription" type="system" weight="light" pointSize="45"/>
                                                            <nil key="textColor"/>
                                                            <nil key="highlightedColor"/>
                                                        </label>
                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="U Total" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kys-by-14s">
                                                            <rect key="frame" x="29.5" y="14" width="140.5" height="20.5"/>
                                                            <fontDescription key="fontDescription" type="system" pointSize="17"/>
                                                            <nil key="highlightedColor"/>
                                                        </label>
                                                    </subviews>
                                                </stackView>
                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="none" adjustsLetterSpacingToFitWidth="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DZX-KL-BBc">
                                                    <rect key="frame" x="0.0" y="36" width="170" height="50"/>
                                                    <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
                                                    <color key="textColor" systemColor="secondaryLabelColor"/>
                                                    <nil key="highlightedColor"/>
                                                </label>
                                            </subviews>
                                        </stackView>
                                    </subviews>
                                </stackView>
                                <segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" apportionsSegmentWidthsByContent="YES" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="TyZ-xm-mVN">
                                    <rect key="frame" x="8" y="102" width="359" height="1"/>
                                    <segments>
                                        <segment title="Reservoir"/>
                                        <segment title="Event History"/>
                                        <segment title="Non-Pump Insulin"/>
                                    </segments>
                                    <connections>
                                        <action selector="selectedSegmentChanged:" destination="jGX-GA-nlH" eventType="valueChanged" id="UCQ-qX-Szs"/>
                                    </connections>
                                </segmentedControl>
                            </subviews>
                            <constraints>
                                <constraint firstAttribute="trailingMargin" secondItem="5b0-Ph-jbn" secondAttribute="trailing" constant="7" id="78w-nE-H93"/>
                                <constraint firstAttribute="trailingMargin" secondItem="TyZ-xm-mVN" secondAttribute="trailing" id="BWA-80-OcC"/>
                                <constraint firstItem="5b0-Ph-jbn" firstAttribute="top" secondItem="zFy-ot-4Na" secondAttribute="topMargin" id="Ex5-NQ-tGR"/>
                                <constraint firstItem="TyZ-xm-mVN" firstAttribute="top" secondItem="5b0-Ph-jbn" secondAttribute="bottom" constant="8" symbolic="YES" id="Jiw-6E-mOs"/>
                                <constraint firstItem="5b0-Ph-jbn" firstAttribute="leading" secondItem="zFy-ot-4Na" secondAttribute="leadingMargin" constant="7" id="T01-La-LpY"/>
                                <constraint firstItem="TyZ-xm-mVN" firstAttribute="leading" secondItem="zFy-ot-4Na" secondAttribute="leadingMargin" id="YTO-uY-2p3"/>
                                <constraint firstItem="TyZ-xm-mVN" firstAttribute="bottom" secondItem="zFy-ot-4Na" secondAttribute="bottomMargin" id="lcG-Yi-v1w"/>
                            </constraints>
                        </view>
                        <view key="tableFooterView" contentMode="scaleToFill" id="LWR-rA-Wch">
                            <rect key="frame" x="0.0" y="220.5" width="375" height="8"/>
                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                        </view>
                        <prototypes>
                            <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Right Detail" textLabel="7Fi-wD-gf2" detailTextLabel="9jm-X6-3QA" style="IBUITableViewCellStyleValue1" id="AqV-Zc-0gE">
                                <rect key="frame" x="0.0" y="154.5" width="375" height="43.5"/>
                                <autoresizingMask key="autoresizingMask"/>
                                <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="AqV-Zc-0gE" id="tlN-Wx-uRJ">
                                    <rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
                                    <autoresizingMask key="autoresizingMask"/>
                                    <subviews>
                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="7Fi-wD-gf2">
                                            <rect key="frame" x="16" y="14" width="28.5" height="17"/>
                                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                            <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                            <nil key="textColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Detail" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="9jm-X6-3QA">
                                            <rect key="frame" x="321.5" y="14" width="37.5" height="17"/>
                                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                                            <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
                                            <color key="textColor" systemColor="secondaryLabelColor"/>
                                            <nil key="highlightedColor"/>
                                        </label>
                                    </subviews>
                                </tableViewCellContentView>
                            </tableViewCell>
                        </prototypes>
                        <connections>
                            <outlet property="dataSource" destination="jGX-GA-nlH" id="10P-RW-fsO"/>
                            <outlet property="delegate" destination="jGX-GA-nlH" id="0lL-zA-VWU"/>
                        </connections>
                    </tableView>
                    <navigationItem key="navigationItem" title="Insulin Delivery" id="vls-EW-uwI"/>
                    <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
                    <connections>
                        <outlet property="dataSourceSegmentedControl" destination="TyZ-xm-mVN" id="czB-fW-hbq"/>
                        <outlet property="iobDateLabel" destination="92n-81-9sl" id="7e6-Mz-IAr"/>
                        <outlet property="iobValueLabel" destination="PZQ-gO-084" id="alx-jA-8he"/>
                        <outlet property="needsConfigurationMessageView" destination="Y29-PZ-u5S" id="Qxg-VM-tc5"/>
                        <outlet property="totalDateLabel" destination="DZX-KL-BBc" id="N0E-Tz-HvM"/>
                        <outlet property="totalValueLabel" destination="7Fy-gG-Zof" id="25M-Da-1BQ"/>
                    </connections>
                </tableViewController>
                <placeholder placeholderIdentifier="IBFirstResponder" id="Kcp-aB-fqr" userLabel="First Responder" sceneMemberID="firstResponder"/>
                <view contentMode="scaleToFill" id="Y29-PZ-u5S" customClass="ErrorBackgroundView" customModule="LoopKitUI" customModuleProvider="target">
                    <rect key="frame" x="0.0" y="0.0" width="300" height="300"/>
                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                    <subviews>
                        <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kUD-gG-MJ0">
                            <rect key="frame" x="20" y="127" width="260" height="46"/>
                            <subviews>
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="No pump configured" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jSc-64-2tZ">
                                    <rect key="frame" x="0.0" y="8" width="260" height="30"/>
                                    <fontDescription key="fontDescription" style="UICTFontTextStyleTitle1"/>
                                    <color key="textColor" systemColor="secondaryLabelColor"/>
                                    <nil key="highlightedColor"/>
                                </label>
                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lWe-YQ-Y9t">
                                    <rect key="frame" x="130" y="46" width="0.0" height="0.0"/>
                                    <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
                                    <color key="textColor" systemColor="secondaryLabelColor"/>
                                    <nil key="highlightedColor"/>
                                </label>
                            </subviews>
                            <constraints>
                                <constraint firstAttribute="bottom" secondItem="lWe-YQ-Y9t" secondAttribute="bottom" id="BGa-JJ-GTW"/>
                                <constraint firstItem="jSc-64-2tZ" firstAttribute="leading" secondItem="kUD-gG-MJ0" secondAttribute="leading" id="PaD-X6-foE"/>
                                <constraint firstItem="lWe-YQ-Y9t" firstAttribute="top" secondItem="jSc-64-2tZ" secondAttribute="bottom" constant="8" symbolic="YES" id="UzB-Uu-Xgw"/>
                                <constraint firstItem="lWe-YQ-Y9t" firstAttribute="centerX" secondItem="kUD-gG-MJ0" secondAttribute="centerX" id="Xk6-yg-x9A"/>
                                <constraint firstItem="jSc-64-2tZ" firstAttribute="top" secondItem="kUD-gG-MJ0" secondAttribute="topMargin" id="jSV-zR-96Y"/>
                                <constraint firstAttribute="trailing" secondItem="jSc-64-2tZ" secondAttribute="trailing" id="yhs-13-bfO"/>
                            </constraints>
                        </view>
                    </subviews>
                    <color key="backgroundColor" systemColor="systemBackgroundColor"/>
                    <constraints>
                        <constraint firstItem="kUD-gG-MJ0" firstAttribute="centerX" secondItem="Y29-PZ-u5S" secondAttribute="centerX" id="3wF-VE-Xqe"/>
                        <constraint firstItem="kUD-gG-MJ0" firstAttribute="centerY" secondItem="Y29-PZ-u5S" secondAttribute="centerY" id="CwQ-vi-eix"/>
                        <constraint firstAttribute="trailing" secondItem="kUD-gG-MJ0" secondAttribute="trailing" constant="20" symbolic="YES" id="Tep-gH-uWI"/>
                        <constraint firstItem="kUD-gG-MJ0" firstAttribute="leading" secondItem="Y29-PZ-u5S" secondAttribute="leading" constant="20" symbolic="YES" id="nqT-pj-sMb"/>
                    </constraints>
                    <connections>
                        <outlet property="errorDescriptionLabel" destination="lWe-YQ-Y9t" id="FcM-I8-B89"/>
                    </connections>
                </view>
            </objects>
            <point key="canvasLocation" x="2445" y="-810"/>
        </scene>
    </scenes>
    <resources>
        <systemColor name="secondaryLabelColor">
            <color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
        </systemColor>
        <systemColor name="systemBackgroundColor">
            <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
        </systemColor>
    </resources>
</document>
