123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
- <device id="retina4_7" orientation="portrait">
- <adaptation id="fullscreen"/>
- </device>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <scenes>
- <!--View Controller-->
- <scene sceneID="tne-QT-ifu">
- <objects>
- <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
- <layoutGuides>
- <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
- <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
- </layoutGuides>
- <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
- <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
- <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
- <subviews>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Unit" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fmz-Up-oVz">
- <rect key="frame" x="157.5" y="40" width="60" height="35"/>
- <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="width" constant="60" id="7Rz-lB-cl4"/>
- <constraint firstAttribute="height" constant="35" id="DFB-tq-8xi"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Lta-jT-th5">
- <rect key="frame" x="299" y="40" width="57" height="35"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="13"/>
- <state key="normal" title="zero">
- <color key="titleColor" red="0.98823529409999999" green="0.99215686270000003" blue="0.99607843139999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="zeroClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="5zL-qr-dOS"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="B7N-F7-BA1">
- <rect key="frame" x="20" y="40" width="129.5" height="35"/>
- <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="35" id="rU5-23-9sE"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="8"/>
- <state key="normal" title="disconnect and stop scan">
- <color key="titleColor" red="0.98823529409999999" green="0.99215686270000003" blue="0.99607843139999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="breakConnect:" destination="BYZ-38-t0r" eventType="touchUpInside" id="39x-By-0PS"/>
- </connections>
- </button>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Not Connected" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UZz-VA-4Ie">
- <rect key="frame" x="224.5" y="40" width="71" height="35"/>
- <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <accessibility key="accessibilityConfiguration">
- <accessibilityTraits key="traits" staticText="YES" adjustable="YES"/>
- </accessibility>
- <constraints>
- <constraint firstAttribute="height" constant="35" id="ELH-zL-gAe"/>
- <constraint firstAttribute="width" constant="71" id="igt-ey-5lV"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="13"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Weight" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hnA-sg-00L">
- <rect key="frame" x="19.5" y="87" width="336" height="93"/>
- <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="width" constant="336" id="ch8-HK-xxE"/>
- <constraint firstAttribute="height" constant="93" id="gde-Pm-oI2"/>
- </constraints>
- <fontDescription key="fontDescription" type="system" pointSize="20"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="K9U-Cb-Dss">
- <rect key="frame" x="244" y="188" width="112" height="35"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="13"/>
- <state key="normal" title="scan and connect">
- <color key="titleColor" red="0.98823529409999999" green="0.99215686270000003" blue="0.99607843139999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="linkBle:" destination="BYZ-38-t0r" eventType="touchUpInside" id="d12-LP-reJ"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QN0-5x-oiW">
- <rect key="frame" x="198" y="316" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="total calorie"/>
- <connections>
- <action selector="setTotalKcal:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Egm-sA-ekB"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dYC-aI-DOb">
- <rect key="frame" x="19" y="316" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="13"/>
- <state key="normal" title="set weight"/>
- <connections>
- <action selector="setweight:" destination="BYZ-38-t0r" eventType="touchUpInside" id="EnA-89-Ksr"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tjj-JY-AcA">
- <rect key="frame" x="281" y="316" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="total fat"/>
- <connections>
- <action selector="setTotalFat:" destination="BYZ-38-t0r" eventType="touchUpInside" id="W1i-RB-pCP"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aHd-SV-ClN">
- <rect key="frame" x="197" y="358" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="total fiber"/>
- <connections>
- <action selector="setTotalFiber:" destination="BYZ-38-t0r" eventType="touchUpInside" id="3BP-b7-CBe"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bB7-ch-hEd">
- <rect key="frame" x="184" y="316" width="6" height="160"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
- <connections>
- <action selector="setweight:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Sxa-0n-d5J"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jNP-VH-9Hs">
- <rect key="frame" x="102" y="358" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="8"/>
- <state key="normal" title="total carbohydrate"/>
- <connections>
- <action selector="setTotalCarbohydrates:" destination="BYZ-38-t0r" eventType="touchUpInside" id="DHh-1Q-DRV"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zhs-16-laT">
- <rect key="frame" x="18" y="358" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="total protein"/>
- <connections>
- <action selector="setTotalProtein:" destination="BYZ-38-t0r" eventType="touchUpInside" id="pSY-OV-hWL"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yav-W6-U1P">
- <rect key="frame" x="280" y="358" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="8"/>
- <state key="normal" title="total cholestenone"/>
- <connections>
- <action selector="setTotalCholesterol:" destination="BYZ-38-t0r" eventType="touchUpInside" id="F61-ss-WUg"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="62R-0M-lRo">
- <rect key="frame" x="197" y="400" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="fat"/>
- <connections>
- <action selector="setFat:" destination="BYZ-38-t0r" eventType="touchUpInside" id="nrd-fc-7Sx"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pfA-SF-uWV">
- <rect key="frame" x="101" y="400" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="total sugar"/>
- <connections>
- <action selector="setTotalSuger:" destination="BYZ-38-t0r" eventType="touchUpInside" id="1ou-ar-TDc"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Adl-yc-RgY">
- <rect key="frame" x="18" y="400" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="total Na"/>
- <connections>
- <action selector="setTotalSodium:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Ofn-kU-I0p"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BuN-Kd-HBC">
- <rect key="frame" x="280" y="400" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="protein"/>
- <connections>
- <action selector="setProtein:" destination="BYZ-38-t0r" eventType="touchUpInside" id="hTn-Ue-LoY"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GDF-5S-qGW">
- <rect key="frame" x="198" y="442" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="Na"/>
- <connections>
- <action selector="setSodium:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Qle-4d-ETI"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RDh-a4-8UP">
- <rect key="frame" x="102" y="442" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="fiber"/>
- <connections>
- <action selector="setFiber:" destination="BYZ-38-t0r" eventType="touchUpInside" id="EAX-Wh-O58"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5Hn-mG-UCU">
- <rect key="frame" x="19" y="442" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="11"/>
- <state key="normal" title="carbohydrate"/>
- <connections>
- <action selector="setCarbohydrates:" destination="BYZ-38-t0r" eventType="touchUpInside" id="fm4-4o-aqf"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5sx-HA-qoK">
- <rect key="frame" x="281" y="442" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="sugar"/>
- <connections>
- <action selector="setSuger:" destination="BYZ-38-t0r" eventType="touchUpInside" id="MmL-Ts-Uk7"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uP5-Uj-qbZ">
- <rect key="frame" x="20" y="484" width="73" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="11"/>
- <state key="normal" title="cholestenone"/>
- <connections>
- <action selector="setCholesterol:" destination="BYZ-38-t0r" eventType="touchUpInside" id="pyd-cM-3tQ"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EH8-Dz-J4n">
- <rect key="frame" x="102" y="316" width="75" height="34"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <state key="normal" title="calorie"/>
- <connections>
- <action selector="setKcal:" destination="BYZ-38-t0r" eventType="touchUpInside" id="8Qc-yN-dq8"/>
- </connections>
- </button>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="4rd-kO-TDn">
- <rect key="frame" x="20" y="232" width="90" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="WeightInput_one:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="eBa-7L-0Cf"/>
- </connections>
- </textField>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="dlV-Cm-f68">
- <rect key="frame" x="185" y="232" width="95" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="WeightInput_two:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="cd8-FT-1Wb"/>
- </connections>
- </textField>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="tNy-T9-sEZ">
- <rect key="frame" x="20" y="270" width="90" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="WeightInput_three:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="gvp-u6-iKa"/>
- </connections>
- </textField>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="OQ7-iN-9kk">
- <rect key="frame" x="185" y="270" width="95" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="WeightInput_four:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="DeN-ii-EPS"/>
- </connections>
- </textField>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oWY-3L-Jt2">
- <rect key="frame" x="124" y="231" width="53" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <state key="normal" title="set"/>
- <connections>
- <action selector="setWeight_one:" destination="BYZ-38-t0r" eventType="touchUpInside" id="LoH-pc-WXb"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mcy-pN-j9I">
- <rect key="frame" x="288" y="232" width="68" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <state key="normal" title="set"/>
- <connections>
- <action selector="setWeight_two:" destination="BYZ-38-t0r" eventType="touchUpInside" id="719-iY-Cc5"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qUs-lm-aZz">
- <rect key="frame" x="125" y="269" width="52" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <state key="normal" title="set"/>
- <connections>
- <action selector="SetWeight_three:" destination="BYZ-38-t0r" eventType="touchUpInside" id="YuA-cb-qe0"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ySq-f6-v6H">
- <rect key="frame" x="288" y="269" width="68" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <state key="normal" title="set"/>
- <connections>
- <action selector="setWeight_four:" destination="BYZ-38-t0r" eventType="touchUpInside" id="XvD-kk-jff"/>
- </connections>
- </button>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter the number and click thebutton to set" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gEn-KV-DuW">
- <rect key="frame" x="105" y="488" width="250" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="11"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="inputData:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="BGk-vl-biE"/>
- </connections>
- </textField>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="weight" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="TNU-bA-lwN">
- <rect key="frame" x="20" y="526" width="97" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="ForWeight:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="wQf-PB-uuc"/>
- </connections>
- </textField>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="totalKCAL" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Xq7-S2-1m0">
- <rect key="frame" x="140" y="526" width="97" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="ForKcal:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="dzs-in-g4h"/>
- </connections>
- </textField>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ssw-HO-QB3">
- <rect key="frame" x="20" y="564" width="74" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <color key="backgroundColor" red="0.0078431372550000003" green="0.59999999999999998" blue="0.76078431369999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <state key="normal" title="开始设置"/>
- <connections>
- <action selector="StartSet:" destination="BYZ-38-t0r" eventType="touchUpInside" id="udE-5m-GnR"/>
- </connections>
- </button>
- <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Kcal" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="zR6-bk-7KI">
- <rect key="frame" x="258" y="526" width="97" height="30"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <nil key="textColor"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <textInputTraits key="textInputTraits"/>
- <connections>
- <action selector="ForTotalKcal:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="wzH-CT-iHA"/>
- </connections>
- </textField>
- </subviews>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstItem="fmz-Up-oVz" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="3GX-95-Fu8"/>
- <constraint firstItem="fmz-Up-oVz" firstAttribute="leading" secondItem="B7N-F7-BA1" secondAttribute="trailing" constant="8" id="KQm-4Q-6bo"/>
- <constraint firstItem="hnA-sg-00L" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="N4g-42-oBP"/>
- <constraint firstItem="fmz-Up-oVz" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="PVK-DK-o7G"/>
- <constraint firstItem="B7N-F7-BA1" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" constant="20" id="SDq-0X-wvl"/>
- <constraint firstItem="UZz-VA-4Ie" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="XET-gw-t3U"/>
- <constraint firstItem="hnA-sg-00L" firstAttribute="top" secondItem="fmz-Up-oVz" secondAttribute="bottom" constant="12" id="eR6-TW-5dN"/>
- <constraint firstItem="B7N-F7-BA1" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="kSY-yP-gMn"/>
- <constraint firstItem="UZz-VA-4Ie" firstAttribute="leading" secondItem="fmz-Up-oVz" secondAttribute="trailing" constant="7" id="t0G-e4-Ec0"/>
- </constraints>
- </view>
- <connections>
- <outlet property="ForKcal_TF" destination="Xq7-S2-1m0" id="wMp-KC-4Rw"/>
- <outlet property="ForTotalKcal_TF" destination="zR6-bk-7KI" id="RYG-2V-rFC"/>
- <outlet property="ForWeight_TF" destination="TNU-bA-lwN" id="t6B-KG-8a4"/>
- <outlet property="WeightTF_four" destination="OQ7-iN-9kk" id="cAp-gL-9eF"/>
- <outlet property="WeightTF_one" destination="4rd-kO-TDn" id="a7f-mm-8yJ"/>
- <outlet property="WeightTF_three" destination="tNy-T9-sEZ" id="I74-VR-g4b"/>
- <outlet property="WeightTF_two" destination="dlV-Cm-f68" id="SOi-aW-tq9"/>
- <outlet property="bleStatus" destination="UZz-VA-4Ie" id="dvX-e2-gdR"/>
- <outlet property="dataTextFiled" destination="gEn-KV-DuW" id="NJc-qb-5JH"/>
- <outlet property="unitLabel" destination="fmz-Up-oVz" id="9ad-UK-kig"/>
- <outlet property="weightLabel" destination="hnA-sg-00L" id="YvR-3h-yRj"/>
- <outlet property="zerobutton" destination="Lta-jT-th5" id="f3P-g3-nBO"/>
- </connections>
- </viewController>
- <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
- </objects>
- <point key="canvasLocation" x="285.60000000000002" y="344.97751124437787"/>
- </scene>
- </scenes>
- </document>
|