|
@@ -106,11 +106,127 @@
|
|
|
</subviews>
|
|
</subviews>
|
|
|
</stackView>
|
|
</stackView>
|
|
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="51B-JU-npv" customClass="LineChartView" customModule="Charts">
|
|
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="51B-JU-npv" customClass="LineChartView" customModule="Charts">
|
|
|
- <rect key="frame" x="8" y="312" width="398" height="425"/>
|
|
|
|
|
|
|
+ <rect key="frame" x="8" y="312" width="398" height="317"/>
|
|
|
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
|
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="XsT-6R-Vym">
|
|
|
|
|
+ <rect key="frame" x="8" y="705" width="398" height="100"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hhh-F1-s1p" customClass="PieChartView" customModule="Charts">
|
|
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="100" height="100"/>
|
|
|
|
|
+ <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
|
|
|
|
+ <constraints>
|
|
|
|
|
+ <constraint firstAttribute="width" constant="100" id="hv8-WM-AJ7"/>
|
|
|
|
|
+ <constraint firstAttribute="height" constant="100" id="yN0-Vb-FTT"/>
|
|
|
|
|
+ </constraints>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="wy3-R2-YQR">
|
|
|
|
|
+ <rect key="frame" x="100" y="0.0" width="298" height="100"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" alignment="top" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="FTW-Gd-zoi">
|
|
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="298" height="50"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Xt9-qX-IQe">
|
|
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="92.666666666666671" height="50"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Low:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sUB-nL-H1B">
|
|
|
|
|
+ <rect key="frame" x="30.333333333333343" y="0.0" width="32" height="18"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TzL-hn-9qu">
|
|
|
|
|
+ <rect key="frame" x="13.333333333333329" y="18" width="66.333333333333329" height="32"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="n6P-oO-ivx">
|
|
|
|
|
+ <rect key="frame" x="102.66666666666666" y="0.0" width="92.666666666666657" height="50"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="In Range:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zBu-Uf-0IS">
|
|
|
|
|
+ <rect key="frame" x="14.333333333333343" y="0.0" width="64" height="18"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7mH-Np-j0L">
|
|
|
|
|
+ <rect key="frame" x="13.333333333333343" y="18" width="66.333333333333329" height="32"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="K2J-AH-Hj1">
|
|
|
|
|
+ <rect key="frame" x="205.33333333333331" y="0.0" width="92.666666666666686" height="50"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="High:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0Zq-6s-y8B">
|
|
|
|
|
+ <rect key="frame" x="28.333333333333375" y="0.0" width="36.333333333333343" height="18"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HON-rt-8pC">
|
|
|
|
|
+ <rect key="frame" x="13.333333333333371" y="18" width="66.333333333333329" height="32"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="jwr-iC-EjI">
|
|
|
|
|
+ <rect key="frame" x="0.0" y="50" width="298" height="50"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MsS-p8-G83">
|
|
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="144" height="50"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Avg BG:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tpy-y3-B9A">
|
|
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="87" height="50"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cDE-hR-Tao">
|
|
|
|
|
+ <rect key="frame" x="87" y="0.0" width="57" height="50"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JF5-Vh-r16">
|
|
|
|
|
+ <rect key="frame" x="154" y="0.0" width="144" height="50"/>
|
|
|
|
|
+ <subviews>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Est A1C:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BSh-qP-ZnD">
|
|
|
|
|
+ <rect key="frame" x="0.0" y="0.0" width="56.333333333333336" height="50"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Vxv-1M-W8k">
|
|
|
|
|
+ <rect key="frame" x="56.333333333333321" y="0.0" width="87.666666666666686" height="50"/>
|
|
|
|
|
+ <fontDescription key="fontDescription" type="system" pointSize="15"/>
|
|
|
|
|
+ <nil key="textColor"/>
|
|
|
|
|
+ <nil key="highlightedColor"/>
|
|
|
|
|
+ </label>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ </stackView>
|
|
|
|
|
+ </subviews>
|
|
|
|
|
+ <constraints>
|
|
|
|
|
+ <constraint firstAttribute="height" constant="100" id="vSk-uf-eTS"/>
|
|
|
|
|
+ </constraints>
|
|
|
|
|
+ </stackView>
|
|
|
<view autoresizesSubviews="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nml-lr-dgQ" userLabel="BGChartFull" customClass="LineChartView" customModule="Charts">
|
|
<view autoresizesSubviews="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nml-lr-dgQ" userLabel="BGChartFull" customClass="LineChartView" customModule="Charts">
|
|
|
- <rect key="frame" x="8" y="745" width="398" height="60"/>
|
|
|
|
|
|
|
+ <rect key="frame" x="8" y="637" width="398" height="60"/>
|
|
|
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
|
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
|
|
<constraints>
|
|
<constraints>
|
|
|
<constraint firstAttribute="height" priority="750" constant="60" id="qmO-ga-QWl"/>
|
|
<constraint firstAttribute="height" priority="750" constant="60" id="qmO-ga-QWl"/>
|
|
@@ -121,11 +237,14 @@
|
|
|
<constraints>
|
|
<constraints>
|
|
|
<constraint firstItem="51B-JU-npv" firstAttribute="top" secondItem="mJy-Ly-Jze" secondAttribute="bottom" constant="8" id="2Qj-m5-4Yj"/>
|
|
<constraint firstItem="51B-JU-npv" firstAttribute="top" secondItem="mJy-Ly-Jze" secondAttribute="bottom" constant="8" id="2Qj-m5-4Yj"/>
|
|
|
<constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="Nml-lr-dgQ" secondAttribute="trailing" constant="8" id="5dn-w0-XWn"/>
|
|
<constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="Nml-lr-dgQ" secondAttribute="trailing" constant="8" id="5dn-w0-XWn"/>
|
|
|
|
|
+ <constraint firstItem="PQr-Ze-W5v" firstAttribute="bottom" secondItem="XsT-6R-Vym" secondAttribute="bottom" constant="8" id="Baa-Eh-DAi"/>
|
|
|
<constraint firstItem="Nml-lr-dgQ" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="D6D-3r-YIy"/>
|
|
<constraint firstItem="Nml-lr-dgQ" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="D6D-3r-YIy"/>
|
|
|
|
|
+ <constraint firstItem="XsT-6R-Vym" firstAttribute="top" secondItem="Nml-lr-dgQ" secondAttribute="bottom" constant="8" id="Gkd-ML-hdj"/>
|
|
|
<constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="mJy-Ly-Jze" secondAttribute="trailing" constant="8" id="KcX-yW-Vnd"/>
|
|
<constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="mJy-Ly-Jze" secondAttribute="trailing" constant="8" id="KcX-yW-Vnd"/>
|
|
|
- <constraint firstItem="PQr-Ze-W5v" firstAttribute="bottom" secondItem="Nml-lr-dgQ" secondAttribute="bottom" constant="8" id="Sb3-4z-Qup"/>
|
|
|
|
|
|
|
+ <constraint firstItem="XsT-6R-Vym" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="N7t-TY-9hH"/>
|
|
|
<constraint firstItem="mJy-Ly-Jze" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="b30-Y0-qsu"/>
|
|
<constraint firstItem="mJy-Ly-Jze" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="b30-Y0-qsu"/>
|
|
|
<constraint firstItem="51B-JU-npv" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="dfE-Q6-SML"/>
|
|
<constraint firstItem="51B-JU-npv" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="dfE-Q6-SML"/>
|
|
|
|
|
+ <constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="XsT-6R-Vym" secondAttribute="trailing" constant="8" id="kqo-fO-gPZ"/>
|
|
|
<constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="51B-JU-npv" secondAttribute="trailing" constant="8" id="oqO-3J-e8a"/>
|
|
<constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="51B-JU-npv" secondAttribute="trailing" constant="8" id="oqO-3J-e8a"/>
|
|
|
<constraint firstItem="Nml-lr-dgQ" firstAttribute="top" secondItem="51B-JU-npv" secondAttribute="bottom" constant="8" id="woM-1z-QyB"/>
|
|
<constraint firstItem="Nml-lr-dgQ" firstAttribute="top" secondItem="51B-JU-npv" secondAttribute="bottom" constant="8" id="woM-1z-QyB"/>
|
|
|
<constraint firstItem="mJy-Ly-Jze" firstAttribute="top" secondItem="PQr-Ze-W5v" secondAttribute="top" constant="8" id="xem-Lc-bdU"/>
|
|
<constraint firstItem="mJy-Ly-Jze" firstAttribute="top" secondItem="PQr-Ze-W5v" secondAttribute="top" constant="8" id="xem-Lc-bdU"/>
|
|
@@ -143,6 +262,12 @@
|
|
|
<outlet property="MinAgoText" destination="UkG-hw-DVo" id="Xd2-fL-qYC"/>
|
|
<outlet property="MinAgoText" destination="UkG-hw-DVo" id="Xd2-fL-qYC"/>
|
|
|
<outlet property="PredictionLabel" destination="oiR-SM-6sg" id="2Sw-TR-SFo"/>
|
|
<outlet property="PredictionLabel" destination="oiR-SM-6sg" id="2Sw-TR-SFo"/>
|
|
|
<outlet property="infoTable" destination="kTs-7g-lp9" id="Khq-sV-EZ1"/>
|
|
<outlet property="infoTable" destination="kTs-7g-lp9" id="Khq-sV-EZ1"/>
|
|
|
|
|
+ <outlet property="statsAvgBG" destination="cDE-hR-Tao" id="SGK-z7-di4"/>
|
|
|
|
|
+ <outlet property="statsEstA1C" destination="Vxv-1M-W8k" id="CpH-4t-haS"/>
|
|
|
|
|
+ <outlet property="statsHighPercent" destination="HON-rt-8pC" id="283-3S-PCR"/>
|
|
|
|
|
+ <outlet property="statsInRangePercent" destination="7mH-Np-j0L" id="vUp-Pv-Mva"/>
|
|
|
|
|
+ <outlet property="statsLowPercent" destination="TzL-hn-9qu" id="0QR-Mz-KJe"/>
|
|
|
|
|
+ <outlet property="statsPieChart" destination="Hhh-F1-s1p" id="Rhh-Up-Kr0"/>
|
|
|
</connections>
|
|
</connections>
|
|
|
</viewController>
|
|
</viewController>
|
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="W5J-7L-Pyd" sceneMemberID="firstResponder"/>
|
|
<placeholder placeholderIdentifier="IBFirstResponder" id="W5J-7L-Pyd" sceneMemberID="firstResponder"/>
|