| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14854.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="rUL-yg-cFX">
- <device id="retina4_7" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14806.4"/>
- <capability name="Safe area layout guides" minToolsVersion="9.0"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <scenes>
- <!--Carbohydrates-->
- <scene sceneID="CCS-LD-Cvq">
- <objects>
- <tableViewController storyboardIdentifier="CarbEntryTableViewController" id="rUL-yg-cFX" customClass="CarbEntryTableViewController" customModule="LoopKitUI" customModuleProvider="target" sceneMemberID="viewController">
- <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="b1s-8o-0Wp">
- <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" cocoaTouchSystemColor="whiteColor"/>
- <view key="tableHeaderView" hidden="YES" contentMode="scaleToFill" id="5Zp-NO-vMs">
- <rect key="frame" x="0.0" y="0.0" width="375" height="90"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <stackView opaque="NO" contentMode="scaleToFill" distribution="fillProportionally" alignment="center" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="cOU-SQ-x7W">
- <rect key="frame" x="15" y="8" width="345" height="74"/>
- <subviews>
- <stackView opaque="NO" contentMode="scaleToFill" alignment="lastBaseline" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="9Sg-Pm-2m0">
- <rect key="frame" x="0.0" y="0.0" width="169" height="74"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lbE-wQ-pFK">
- <rect key="frame" x="0.0" y="20" width="35" height="54"/>
- <fontDescription key="fontDescription" type="system" weight="light" pointSize="45"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="CzL-qw-IBz">
- <rect key="frame" x="37" y="0.0" width="132" height="66.5"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="g COB" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QZb-e1-xwb">
- <rect key="frame" x="0.0" y="0.0" width="132" height="16.5"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Eur-ji-qsH">
- <rect key="frame" x="0.0" y="16.5" width="132" height="50"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- </stackView>
- </subviews>
- </stackView>
- <stackView opaque="NO" contentMode="scaleToFill" alignment="lastBaseline" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="1Zc-wa-yKx">
- <rect key="frame" x="179" y="0.0" width="166" height="74"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WZV-l9-Ek1">
- <rect key="frame" x="0.0" y="20" width="35" height="54"/>
- <fontDescription key="fontDescription" type="system" weight="light" pointSize="45"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="PCb-FR-N60">
- <rect key="frame" x="37" y="0.0" width="129" height="66.5"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="g Total" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pHI-f4-pJp">
- <rect key="frame" x="0.0" y="0.0" width="129" height="16.5"/>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oBa-v1-XQP">
- <rect key="frame" x="0.0" y="16.5" width="129" height="50"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- </stackView>
- </subviews>
- </stackView>
- </subviews>
- </stackView>
- </subviews>
- <constraints>
- <constraint firstItem="cOU-SQ-x7W" firstAttribute="top" secondItem="5Zp-NO-vMs" secondAttribute="topMargin" id="SN9-4D-maL"/>
- <constraint firstItem="cOU-SQ-x7W" firstAttribute="leading" secondItem="5Zp-NO-vMs" secondAttribute="leadingMargin" constant="7" id="V0r-4W-z8O"/>
- <constraint firstAttribute="bottomMargin" secondItem="cOU-SQ-x7W" secondAttribute="bottom" id="jc7-pj-cCN"/>
- <constraint firstAttribute="trailingMargin" secondItem="cOU-SQ-x7W" secondAttribute="trailing" constant="7" id="w7E-8O-9j1"/>
- </constraints>
- </view>
- <view key="tableFooterView" contentMode="scaleToFill" id="icL-h4-vtz">
- <rect key="frame" x="0.0" y="190" width="375" height="8"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- </view>
- <prototypes>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CarbEntry" textLabel="vM9-H7-t3C" detailTextLabel="m95-PG-bTq" style="IBUITableViewCellStyleValue1" id="i7x-SU-PRi">
- <rect key="frame" x="0.0" y="118" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="i7x-SU-PRi" id="Fje-90-ner">
- <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="vM9-H7-t3C">
- <rect key="frame" x="16" y="12" width="33.5" height="20.5"/>
- <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="m95-PG-bTq">
- <rect key="frame" x="315" y="12" width="44" height="20.5"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
- <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- </tableViewCellContentView>
- <connections>
- <segue destination="LyL-9U-twn" kind="show" id="rV7-J1-5KP"/>
- </connections>
- </tableViewCell>
- </prototypes>
- <connections>
- <outlet property="dataSource" destination="rUL-yg-cFX" id="Mo4-jP-4be"/>
- <outlet property="delegate" destination="rUL-yg-cFX" id="Hwo-ME-91Z"/>
- </connections>
- </tableView>
- <navigationItem key="navigationItem" title="Carbohydrates" id="Qgq-n1-hm4">
- <barButtonItem key="rightBarButtonItem" enabled="NO" systemItem="add" id="ddV-Ce-IIn">
- <connections>
- <segue destination="wgu-gT-TgV" kind="presentation" id="jMZ-bg-GVE"/>
- </connections>
- </barButtonItem>
- </navigationItem>
- <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
- <connections>
- <outlet property="COBDateLabel" destination="Eur-ji-qsH" id="YHw-7r-Mw0"/>
- <outlet property="COBValueLabel" destination="lbE-wQ-pFK" id="um6-qB-9Od"/>
- <outlet property="authorizationRequiredMessageView" destination="tEe-h4-1UT" id="OK2-d8-aLn"/>
- <outlet property="totalDateLabel" destination="oBa-v1-XQP" id="hcX-ed-bel"/>
- <outlet property="totalValueLabel" destination="WZV-l9-Ek1" id="54A-72-11g"/>
- <outlet property="unavailableMessageView" destination="X5E-7c-9de" id="Bwk-Ig-goH"/>
- </connections>
- </tableViewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="y16-eD-Eid" userLabel="First Responder" sceneMemberID="firstResponder"/>
- <view contentMode="scaleToFill" id="tEe-h4-1UT">
- <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="euH-1G-uYm">
- <rect key="frame" x="20" y="94" width="260" height="112.5"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8sx-XB-DRV">
- <rect key="frame" x="93" y="79.5" width="74" height="33"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
- <state key="normal" title="Authorize"/>
- <connections>
- <action selector="authorizeHealth:" destination="rUL-yg-cFX" eventType="touchUpInside" id="QFA-0t-kNV"/>
- </connections>
- </button>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Authorize access to Health to continue" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7xi-Om-Y53">
- <rect key="frame" x="0.0" y="8" width="260" height="63.5"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleTitle1"/>
- <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="7xi-Om-Y53" secondAttribute="trailing" id="2xh-qh-j5n"/>
- <constraint firstItem="8sx-XB-DRV" firstAttribute="top" secondItem="7xi-Om-Y53" secondAttribute="bottom" constant="8" symbolic="YES" id="5uc-kK-cJK"/>
- <constraint firstAttribute="bottom" secondItem="8sx-XB-DRV" secondAttribute="bottom" id="D0X-zZ-WLA"/>
- <constraint firstAttribute="bottomMargin" secondItem="7xi-Om-Y53" secondAttribute="bottom" id="HjF-Tt-qJA"/>
- <constraint firstItem="7xi-Om-Y53" firstAttribute="leading" secondItem="euH-1G-uYm" secondAttribute="leading" id="jlM-P3-28N"/>
- <constraint firstItem="7xi-Om-Y53" firstAttribute="top" secondItem="euH-1G-uYm" secondAttribute="topMargin" id="jxD-mV-Cfa"/>
- <constraint firstItem="8sx-XB-DRV" firstAttribute="centerX" secondItem="euH-1G-uYm" secondAttribute="centerX" id="zof-l2-Nas"/>
- </constraints>
- <variation key="default">
- <mask key="constraints">
- <exclude reference="HjF-Tt-qJA"/>
- </mask>
- </variation>
- </view>
- </subviews>
- <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="euH-1G-uYm" secondAttribute="trailing" constant="20" symbolic="YES" id="GAi-Qi-Hzs"/>
- <constraint firstItem="euH-1G-uYm" firstAttribute="leading" secondItem="tEe-h4-1UT" secondAttribute="leading" constant="20" symbolic="YES" id="HFu-Pt-Zoi"/>
- <constraint firstItem="euH-1G-uYm" firstAttribute="centerY" secondItem="tEe-h4-1UT" secondAttribute="centerY" id="U6D-Sj-ilZ"/>
- <constraint firstItem="euH-1G-uYm" firstAttribute="centerX" secondItem="tEe-h4-1UT" secondAttribute="centerX" id="djl-i6-ieu"/>
- </constraints>
- <viewLayoutGuide key="safeArea" id="vOo-Rm-zxs"/>
- </view>
- <view contentMode="scaleToFill" id="X5E-7c-9de">
- <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="G0z-rK-KG9">
- <rect key="frame" x="20" y="110.5" width="260" height="79.5"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="HealthKit is not available on this device" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nXh-BM-MuC">
- <rect key="frame" x="0.0" y="8" width="260" height="63.5"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleTitle1"/>
- <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <constraints>
- <constraint firstItem="nXh-BM-MuC" firstAttribute="leading" secondItem="G0z-rK-KG9" secondAttribute="leading" id="8le-Wq-GTz"/>
- <constraint firstItem="nXh-BM-MuC" firstAttribute="top" secondItem="G0z-rK-KG9" secondAttribute="topMargin" id="VTU-gc-CDU"/>
- <constraint firstAttribute="bottomMargin" secondItem="nXh-BM-MuC" secondAttribute="bottom" id="aBM-Oq-wEQ"/>
- <constraint firstAttribute="trailing" secondItem="nXh-BM-MuC" secondAttribute="trailing" id="b21-g7-8Lb"/>
- </constraints>
- </view>
- </subviews>
- <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
- <constraints>
- <constraint firstItem="G0z-rK-KG9" firstAttribute="centerY" secondItem="X5E-7c-9de" secondAttribute="centerY" id="8bo-Je-Rz1"/>
- <constraint firstAttribute="trailing" secondItem="G0z-rK-KG9" secondAttribute="trailing" constant="20" symbolic="YES" id="B06-SX-PKB"/>
- <constraint firstItem="G0z-rK-KG9" firstAttribute="centerX" secondItem="X5E-7c-9de" secondAttribute="centerX" id="gRi-I4-p79"/>
- <constraint firstItem="G0z-rK-KG9" firstAttribute="leading" secondItem="X5E-7c-9de" secondAttribute="leading" constant="20" symbolic="YES" id="yo1-2T-5ph"/>
- </constraints>
- <viewLayoutGuide key="safeArea" id="k1h-jG-n3F"/>
- </view>
- </objects>
- <point key="canvasLocation" x="2445" y="-810"/>
- </scene>
- <!--Navigation Controller-->
- <scene sceneID="mfE-Nk-SIy">
- <objects>
- <navigationController id="wgu-gT-TgV" sceneMemberID="viewController">
- <navigationBar key="navigationBar" contentMode="scaleToFill" id="dds-bM-bvt">
- <rect key="frame" x="0.0" y="0.0" width="375" height="56"/>
- <autoresizingMask key="autoresizingMask"/>
- </navigationBar>
- <connections>
- <segue destination="LyL-9U-twn" kind="relationship" relationship="rootViewController" id="9fZ-7e-aMq"/>
- </connections>
- </navigationController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="UVT-Hv-hpW" userLabel="First Responder" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="3319" y="-1638"/>
- </scene>
- <!--Add/Edit Carb Entry-->
- <scene sceneID="BUy-hU-2jT">
- <objects>
- <tableViewController storyboardIdentifier="CarbEntryEditViewController" id="LyL-9U-twn" customClass="CarbEntryEditViewController" customModule="LoopKitUI" customModuleProvider="target" sceneMemberID="viewController">
- <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" keyboardDismissMode="onDrag" dataMode="prototypes" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" id="9Ci-XW-6nA">
- <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
- <prototypes>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="DecimalTextFieldTableViewCell" id="Ace-JU-zKh" customClass="DecimalTextFieldTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
- <rect key="frame" x="0.0" y="55.5" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Ace-JU-zKh" id="vvs-Vh-Dbj">
- <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="0" textAlignment="right" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="qU9-hG-hMu">
- <rect key="frame" x="171.5" y="15" width="175.5" height="14"/>
- <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
- <textInputTraits key="textInputTraits" keyboardType="decimalPad" returnKeyType="next"/>
- </textField>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="g" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="D2S-2h-yH6">
- <rect key="frame" x="349" y="11.5" width="10" height="20.5"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
- <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Amount Consumed" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K0S-my-3qL">
- <rect key="frame" x="16" y="12" width="147.5" height="20.5"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <constraints>
- <constraint firstItem="D2S-2h-yH6" firstAttribute="baseline" secondItem="qU9-hG-hMu" secondAttribute="baseline" id="AXU-cq-Gxc"/>
- <constraint firstItem="D2S-2h-yH6" firstAttribute="leading" secondItem="qU9-hG-hMu" secondAttribute="trailing" constant="2" id="G8z-4v-USb"/>
- <constraint firstAttribute="bottomMargin" secondItem="qU9-hG-hMu" secondAttribute="bottom" priority="750" constant="4" id="OX0-CW-gmF"/>
- <constraint firstItem="qU9-hG-hMu" firstAttribute="top" secondItem="vvs-Vh-Dbj" secondAttribute="topMargin" constant="4" id="bq2-k4-4AD"/>
- <constraint firstItem="K0S-my-3qL" firstAttribute="centerY" secondItem="vvs-Vh-Dbj" secondAttribute="centerY" id="dZW-pJ-gS5"/>
- <constraint firstAttribute="trailingMargin" secondItem="D2S-2h-yH6" secondAttribute="trailing" id="mfG-AP-DuG"/>
- <constraint firstItem="K0S-my-3qL" firstAttribute="leading" secondItem="vvs-Vh-Dbj" secondAttribute="leadingMargin" id="msn-9C-u2W"/>
- <constraint firstItem="qU9-hG-hMu" firstAttribute="leading" secondItem="K0S-my-3qL" secondAttribute="trailing" constant="8" symbolic="YES" id="sED-aS-6m4"/>
- <constraint firstItem="qU9-hG-hMu" firstAttribute="centerY" secondItem="vvs-Vh-Dbj" secondAttribute="centerY" id="z3u-0p-Mby"/>
- </constraints>
- </tableViewCellContentView>
- <connections>
- <outlet property="textField" destination="qU9-hG-hMu" id="PP5-os-4aH"/>
- <outlet property="unitLabel" destination="D2S-2h-yH6" id="HBr-nn-Pb2"/>
- </connections>
- </tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="TextFieldTableViewCell" id="99D-xi-Yp9" customClass="TextFieldTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
- <rect key="frame" x="0.0" y="99.5" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="99D-xi-Yp9" id="Zoy-aN-TbY">
- <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <textField opaque="NO" contentMode="scaleToFill" verticalCompressionResistancePriority="751" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" minimumFontSize="15" translatesAutoresizingMaskIntoConstraints="NO" id="BU1-sg-61t" customClass="CustomInputTextField" customModule="LoopKitUI" customModuleProvider="target">
- <rect key="frame" x="105" y="15" width="254" height="24"/>
- <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/>
- <textInputTraits key="textInputTraits" returnKeyType="next"/>
- </textField>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="Food Type" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bdP-2A-DB8">
- <rect key="frame" x="16" y="18" width="81" height="8"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <constraints>
- <constraint firstItem="BU1-sg-61t" firstAttribute="top" secondItem="Zoy-aN-TbY" secondAttribute="topMargin" constant="4" id="GR5-KC-idh"/>
- <constraint firstItem="BU1-sg-61t" firstAttribute="firstBaseline" secondItem="bdP-2A-DB8" secondAttribute="firstBaseline" id="Uw8-Ib-Aqx"/>
- <constraint firstAttribute="trailingMargin" secondItem="BU1-sg-61t" secondAttribute="trailing" id="W90-gg-fS0"/>
- <constraint firstItem="bdP-2A-DB8" firstAttribute="leading" secondItem="Zoy-aN-TbY" secondAttribute="leadingMargin" id="Yp5-s7-3kJ"/>
- <constraint firstItem="BU1-sg-61t" firstAttribute="leading" secondItem="bdP-2A-DB8" secondAttribute="trailing" constant="8" symbolic="YES" id="ato-cb-C4h"/>
- <constraint firstItem="bdP-2A-DB8" firstAttribute="centerY" secondItem="Zoy-aN-TbY" secondAttribute="centerY" id="cNN-yH-xbN"/>
- <constraint firstAttribute="bottomMargin" secondItem="BU1-sg-61t" secondAttribute="bottom" priority="750" constant="4" id="lSf-am-liy"/>
- </constraints>
- </tableViewCellContentView>
- <connections>
- <outlet property="textField" destination="BU1-sg-61t" id="onx-xO-uI7"/>
- </connections>
- </tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="FoodTypeShortcutCell" id="WC7-gw-ru6" customClass="FoodTypeShortcutCell" customModule="LoopKitUI" customModuleProvider="target">
- <rect key="frame" x="0.0" y="143.5" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="WC7-gw-ru6" id="9ds-EY-fUr">
- <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
- <autoresizingMask key="autoresizingMask"/>
- <subviews>
- <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="KGo-Jr-uxw">
- <rect key="frame" x="184" y="4" width="175" height="40"/>
- <subviews>
- <button opaque="NO" contentMode="center" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XaD-wV-oiS">
- <rect key="frame" x="0.0" y="0.0" width="40" height="40"/>
- <constraints>
- <constraint firstAttribute="width" secondItem="XaD-wV-oiS" secondAttribute="height" multiplier="1:1" id="4Hh-Pk-m4d"/>
- </constraints>
- <fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/>
- <inset key="contentEdgeInsets" minX="2" minY="0.0" maxX="0.0" maxY="0.0"/>
- <state key="normal" title="🍭"/>
- <state key="selected" backgroundImage="Oval Selection"/>
- <state key="highlighted" backgroundImage="Oval Selection"/>
- <connections>
- <action selector="buttonTapped:" destination="WC7-gw-ru6" eventType="touchUpInside" id="5Ft-9l-7gu"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="center" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Me5-3D-C34">
- <rect key="frame" x="45" y="0.0" width="40" height="40"/>
- <constraints>
- <constraint firstAttribute="width" secondItem="Me5-3D-C34" secondAttribute="height" multiplier="1:1" id="pPD-0m-Rie"/>
- </constraints>
- <fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/>
- <inset key="contentEdgeInsets" minX="3" minY="0.0" maxX="0.0" maxY="0.0"/>
- <state key="normal" title="🌮"/>
- <state key="selected" backgroundImage="Oval Selection"/>
- <state key="highlighted" backgroundImage="Oval Selection"/>
- <connections>
- <action selector="buttonTapped:" destination="WC7-gw-ru6" eventType="touchUpInside" id="8cP-Ht-Rdm"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="center" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dyX-Zv-8wU">
- <rect key="frame" x="90" y="0.0" width="40" height="40"/>
- <constraints>
- <constraint firstAttribute="width" secondItem="dyX-Zv-8wU" secondAttribute="height" multiplier="1:1" id="i1A-Yl-2K4"/>
- </constraints>
- <fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/>
- <inset key="contentEdgeInsets" minX="3" minY="0.0" maxX="0.0" maxY="0.0"/>
- <state key="normal" title="🍕"/>
- <state key="selected" backgroundImage="Oval Selection"/>
- <state key="highlighted" backgroundImage="Oval Selection"/>
- <connections>
- <action selector="buttonTapped:" destination="WC7-gw-ru6" eventType="touchUpInside" id="LMf-YH-Glr"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="center" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Mde-by-DTA">
- <rect key="frame" x="135" y="0.0" width="40" height="40"/>
- <constraints>
- <constraint firstAttribute="width" secondItem="Mde-by-DTA" secondAttribute="height" multiplier="1:1" id="WPt-ZL-25c"/>
- </constraints>
- <fontDescription key="fontDescription" style="UICTFontTextStyleTitle3"/>
- <inset key="contentEdgeInsets" minX="3" minY="0.0" maxX="0.0" maxY="0.0"/>
- <state key="normal" title="🍽"/>
- <state key="selected" backgroundImage="Oval Selection"/>
- <state key="highlighted" backgroundImage="Oval Selection"/>
- <connections>
- <action selector="buttonTapped:" destination="WC7-gw-ru6" eventType="touchUpInside" id="DSe-7Q-Kgv"/>
- </connections>
- </button>
- </subviews>
- <constraints>
- <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="40" id="pOj-cM-U6l"/>
- </constraints>
- </stackView>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="Food Type" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NRZ-dT-iqj">
- <rect key="frame" x="16" y="12" width="81" height="20.5"/>
- <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
- <nil key="textColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <constraints>
- <constraint firstAttribute="trailingMargin" secondItem="KGo-Jr-uxw" secondAttribute="trailing" id="3hY-2e-LYK"/>
- <constraint firstItem="KGo-Jr-uxw" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="NRZ-dT-iqj" secondAttribute="trailing" constant="8" symbolic="YES" id="7Qr-6r-lcu"/>
- <constraint firstItem="NRZ-dT-iqj" firstAttribute="centerY" secondItem="9ds-EY-fUr" secondAttribute="centerY" id="Atr-bf-Ddi"/>
- <constraint firstAttribute="bottom" secondItem="KGo-Jr-uxw" secondAttribute="bottom" priority="750" constant="4" id="cvP-zZ-cgY"/>
- <constraint firstItem="NRZ-dT-iqj" firstAttribute="leading" secondItem="9ds-EY-fUr" secondAttribute="leadingMargin" id="m6A-Bd-Uai"/>
- <constraint firstItem="KGo-Jr-uxw" firstAttribute="top" secondItem="9ds-EY-fUr" secondAttribute="top" constant="4" id="qZp-0X-xDh"/>
- </constraints>
- </tableViewCellContentView>
- <connections>
- <outlet property="buttonStack" destination="KGo-Jr-uxw" id="I4m-BA-Xwi"/>
- </connections>
- </tableViewCell>
- </prototypes>
- <sections/>
- <connections>
- <outlet property="dataSource" destination="LyL-9U-twn" id="5UQ-wx-mja"/>
- <outlet property="delegate" destination="LyL-9U-twn" id="2jX-b3-pDH"/>
- </connections>
- </tableView>
- <navigationItem key="navigationItem" title="Add/Edit Carb Entry" id="bM2-yI-YmX">
- <barButtonItem key="leftBarButtonItem" systemItem="cancel" id="7Qi-am-Msi">
- <connections>
- <segue destination="T5h-mI-vtL" kind="unwind" identifier="" unwindAction="unwindFromEditing:" id="UWh-NX-iGp"/>
- </connections>
- </barButtonItem>
- <barButtonItem key="rightBarButtonItem" style="done" systemItem="save" id="V0S-Me-oAl">
- <connections>
- <segue destination="T5h-mI-vtL" kind="unwind" unwindAction="unwindFromEditing:" id="h8M-r9-ToD"/>
- </connections>
- </barButtonItem>
- </navigationItem>
- <connections>
- <outlet property="saveButtonItem" destination="V0S-Me-oAl" id="jte-UB-Cfb"/>
- </connections>
- </tableViewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="71E-eW-u0n" userLabel="First Responder" sceneMemberID="firstResponder"/>
- <exit id="T5h-mI-vtL" userLabel="Exit" sceneMemberID="exit"/>
- </objects>
- <point key="canvasLocation" x="3317.5999999999999" y="-810.0449775112445"/>
- </scene>
- </scenes>
- <resources>
- <image name="Oval Selection" width="21" height="21"/>
- </resources>
- <inferredMetricsTieBreakers>
- <segue reference="rV7-J1-5KP"/>
- </inferredMetricsTieBreakers>
- </document>
|