Autoconnect: cosmetic changes
Better compatibility for iPhone 4s
This commit is contained in:
parent
380891dceb
commit
cdf816f848
6 changed files with 166 additions and 131 deletions
|
|
@ -402,19 +402,19 @@
|
|||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="scanning_background" translatesAutoresizingMaskIntoConstraints="NO" id="8C3-rm-MeC">
|
||||
<rect key="frame" x="40.333333333333343" y="290.33333333333337" width="333.33333333333326" height="333.33333333333337"/>
|
||||
<rect key="frame" x="-126" y="124" width="666" height="666"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="8C3-rm-MeC" secondAttribute="height" multiplier="1:1" id="Om7-9I-uA7"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="scanning_background" translatesAutoresizingMaskIntoConstraints="NO" id="CWZ-b3-xqm">
|
||||
<rect key="frame" x="40.333333333333343" y="290.33333333333337" width="333.33333333333326" height="333.33333333333337"/>
|
||||
<rect key="frame" x="-126" y="124" width="666" height="666"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="CWZ-b3-xqm" secondAttribute="height" multiplier="1:1" id="1kq-aH-pC6"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="scanning_background" translatesAutoresizingMaskIntoConstraints="NO" id="8Ft-ej-FAg">
|
||||
<rect key="frame" x="40.333333333333343" y="290.33333333333337" width="333.33333333333326" height="333.33333333333337"/>
|
||||
<rect key="frame" x="-126" y="124" width="666" height="666"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="8Ft-ej-FAg" secondAttribute="height" multiplier="1:1" id="b0q-mr-GjX"/>
|
||||
</constraints>
|
||||
|
|
@ -443,51 +443,58 @@
|
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sJD-SS-iyf">
|
||||
<rect key="frame" x="0.0" y="61.666666666666686" width="374" height="210"/>
|
||||
<subviews>
|
||||
<imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="board_clue_front" translatesAutoresizingMaskIntoConstraints="NO" id="G6d-n2-Oq8">
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="board_clue_front" translatesAutoresizingMaskIntoConstraints="NO" id="G6d-n2-Oq8">
|
||||
<rect key="frame" x="82" y="0.0" width="210" height="210"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="G6d-n2-Oq8" secondAttribute="height" multiplier="1:1" id="DHH-To-vrj"/>
|
||||
<constraint firstAttribute="width" secondItem="G6d-n2-Oq8" secondAttribute="height" multiplier="1:1" id="Gid-hR-5j3"/>
|
||||
<constraint firstAttribute="width" constant="210" id="LGq-WC-QNU"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.0" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="250" image="board_clue_front" translatesAutoresizingMaskIntoConstraints="NO" id="nGZ-62-yA2">
|
||||
<rect key="frame" x="82" y="0.0" width="210" height="210"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="210" id="Y5Z-c5-1Dc"/>
|
||||
<constraint firstAttribute="width" secondItem="nGZ-62-yA2" secondAttribute="height" multiplier="1:1" id="gRc-CW-eqN"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="nGZ-62-yA2" firstAttribute="width" secondItem="nGZ-62-yA2" secondAttribute="height" multiplier="1:1" id="E4o-BY-uLb"/>
|
||||
<constraint firstItem="nGZ-62-yA2" firstAttribute="width" secondItem="G6d-n2-Oq8" secondAttribute="width" id="FXD-JV-pFB"/>
|
||||
<constraint firstItem="G6d-n2-Oq8" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="sJD-SS-iyf" secondAttribute="leading" id="HaJ-T2-0jh"/>
|
||||
<constraint firstAttribute="bottom" secondItem="G6d-n2-Oq8" secondAttribute="bottom" id="JyV-y8-IUU"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="G6d-n2-Oq8" secondAttribute="trailing" id="OaL-hO-Cao"/>
|
||||
<constraint firstItem="nGZ-62-yA2" firstAttribute="height" secondItem="G6d-n2-Oq8" secondAttribute="height" id="Tap-5c-v8u"/>
|
||||
<constraint firstItem="nGZ-62-yA2" firstAttribute="centerX" secondItem="G6d-n2-Oq8" secondAttribute="centerX" id="VDe-ic-gGO"/>
|
||||
<constraint firstItem="G6d-n2-Oq8" firstAttribute="top" secondItem="sJD-SS-iyf" secondAttribute="top" id="t8V-oV-Gf5"/>
|
||||
<constraint firstItem="G6d-n2-Oq8" firstAttribute="centerX" secondItem="sJD-SS-iyf" secondAttribute="centerX" id="vdF-nk-Y7R"/>
|
||||
<constraint firstItem="nGZ-62-yA2" firstAttribute="centerY" secondItem="G6d-n2-Oq8" secondAttribute="centerY" id="vit-Pq-aV2"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" horizontalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="txx-RA-Rid">
|
||||
<rect key="frame" x="0.0" y="311.66666666666669" width="374" height="21.666666666666686"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" verticalCompressionResistancePriority="1000" text="Discovering Services..." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="n3Z-2E-692">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="21.666666666666668"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" horizontalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="RzY-tA-gYI">
|
||||
<rect key="frame" x="76.666666666666686" y="0.0" width="221" height="21.666666666666668"/>
|
||||
<subviews>
|
||||
<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" animating="YES" style="white" translatesAutoresizingMaskIntoConstraints="NO" id="2wD-eu-wfY">
|
||||
<rect key="frame" x="0.0" y="1" width="20" height="20"/>
|
||||
</activityIndicatorView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" text="Discovering Services..." lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Npi-VC-6sC">
|
||||
<rect key="frame" x="31.999999999999986" y="0.0" width="189" height="21.666666666666668"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="Npi-VC-6sC" secondAttribute="trailing" id="0Sb-RN-2tJ"/>
|
||||
<constraint firstAttribute="bottom" secondItem="Npi-VC-6sC" secondAttribute="bottom" id="2Jm-1W-CFd"/>
|
||||
<constraint firstItem="2wD-eu-wfY" firstAttribute="leading" secondItem="RzY-tA-gYI" secondAttribute="leading" id="GVl-vd-IWB"/>
|
||||
<constraint firstItem="Npi-VC-6sC" firstAttribute="top" secondItem="RzY-tA-gYI" secondAttribute="top" id="PxB-9C-nCI"/>
|
||||
<constraint firstItem="Npi-VC-6sC" firstAttribute="leading" secondItem="2wD-eu-wfY" secondAttribute="trailing" constant="12" id="jlw-dh-a8s"/>
|
||||
<constraint firstItem="2wD-eu-wfY" firstAttribute="centerY" secondItem="RzY-tA-gYI" secondAttribute="centerY" id="k6p-ev-S43"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="n3Z-2E-692" firstAttribute="leading" secondItem="txx-RA-Rid" secondAttribute="leading" id="6rI-09-ifD"/>
|
||||
<constraint firstAttribute="trailing" secondItem="n3Z-2E-692" secondAttribute="trailing" id="Yfw-aK-H9l"/>
|
||||
<constraint firstItem="n3Z-2E-692" firstAttribute="top" secondItem="txx-RA-Rid" secondAttribute="top" id="rX8-st-Tbs"/>
|
||||
<constraint firstAttribute="bottom" secondItem="n3Z-2E-692" secondAttribute="bottom" id="wiU-LG-f7f"/>
|
||||
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="RzY-tA-gYI" secondAttribute="trailing" id="ARO-kj-8Bs"/>
|
||||
<constraint firstItem="RzY-tA-gYI" firstAttribute="top" secondItem="txx-RA-Rid" secondAttribute="top" id="F64-fX-wFW"/>
|
||||
<constraint firstItem="RzY-tA-gYI" firstAttribute="centerX" secondItem="txx-RA-Rid" secondAttribute="centerX" id="XDd-lk-Tp0"/>
|
||||
<constraint firstAttribute="bottom" secondItem="RzY-tA-gYI" secondAttribute="bottom" id="b7k-eY-jmV"/>
|
||||
<constraint firstItem="RzY-tA-gYI" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="txx-RA-Rid" secondAttribute="leading" id="sHO-l9-Qg0"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
|
|
@ -569,9 +576,10 @@
|
|||
<navigationItem key="navigationItem" title="XXXFinding CPB" id="cBL-Z7-EQh"/>
|
||||
<connections>
|
||||
<outlet property="actionsContainerView" destination="ahy-Dt-R11" id="Iar-ty-2Rt"/>
|
||||
<outlet property="cpbContainerView" destination="sJD-SS-iyf" id="q6o-HQ-9sO"/>
|
||||
<outlet property="cpbImageView" destination="nGZ-62-yA2" id="oxA-fm-TPL"/>
|
||||
<outlet property="detailLabel" destination="n3Z-2E-692" id="xg8-nd-tII"/>
|
||||
<outlet property="boardContainerView" destination="sJD-SS-iyf" id="q6o-HQ-9sO"/>
|
||||
<outlet property="boardImageView" destination="G6d-n2-Oq8" id="gGd-vO-jFX"/>
|
||||
<outlet property="detailContainerView" destination="RzY-tA-gYI" id="gyP-z2-vTM"/>
|
||||
<outlet property="detailLabel" destination="Npi-VC-6sC" id="ucf-vQ-yAT"/>
|
||||
<outlet property="problemButton" destination="YuH-eo-kN1" id="t7C-7K-6cI"/>
|
||||
<outlet property="scanManuallyButton" destination="BLa-CB-oaz" id="Obr-2l-rRH"/>
|
||||
<outlet property="statusLabel" destination="QEs-Rd-8BM" id="Nwp-g2-tTb"/>
|
||||
|
|
@ -597,14 +605,14 @@
|
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<prototypes>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="HelpCell" id="U5T-Rn-JoM" customClass="HelpTableViewCell" customModule="BluefruitPlayground_SimulateBluetooth" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="28" width="414" height="216.66667175292969"/>
|
||||
<rect key="frame" x="0.0" y="28" width="414" height="217"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="U5T-Rn-JoM" id="luQ-sf-H0h">
|
||||
<rect key="frame" x="0.0" y="0.0" width="414" height="216.66667175292969"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="414" height="217"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="W6j-6k-zao">
|
||||
<rect key="frame" x="20" y="19" width="374" height="186.66666666666666"/>
|
||||
<rect key="frame" x="20" y="19" width="374" height="187"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="NeJ-ep-YDO">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="40.666666666666664"/>
|
||||
|
|
@ -654,10 +662,10 @@
|
|||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" verticalHuggingPriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="lX3-kv-DYx">
|
||||
<rect key="frame" x="0.0" y="101.33333333333334" width="374" height="85.333333333333343"/>
|
||||
<rect key="frame" x="0.0" y="101.33333333333331" width="374" height="85.666666666666686"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="bottom" horizontalHuggingPriority="251" verticalHuggingPriority="1000" verticalCompressionResistancePriority="1000" image="scanproblems_powerup" translatesAutoresizingMaskIntoConstraints="NO" id="UAb-G3-y7N">
|
||||
<rect key="frame" x="12" y="10.000000000000014" width="350" height="75.333333333333329"/>
|
||||
<rect key="frame" x="0.0" y="10.000000000000014" width="374" height="75.666666666666671"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" name="cell_light"/>
|
||||
|
|
@ -848,19 +856,19 @@
|
|||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="1000" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Sed-sJ-Bks">
|
||||
<rect key="frame" x="38" y="8.0000000000000018" width="304" height="21.666666666666671"/>
|
||||
<rect key="frame" x="38" y="8.0000000000000018" width="292" height="21.666666666666671"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" text="Subtitle subtitle subtitle subtitle subtitle subtitle" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="onF-zN-PM3">
|
||||
<rect key="frame" x="38" y="31.666666666666661" width="304" height="38.333333333333343"/>
|
||||
<rect key="frame" x="38" y="31.666666666666661" width="292" height="38.333333333333343"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="16"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="251" image="disclosure" translatesAutoresizingMaskIntoConstraints="NO" id="fdq-Op-BkP">
|
||||
<rect key="frame" x="350" y="29" width="12" height="20"/>
|
||||
<rect key="frame" x="338" y="19" width="24" height="40"/>
|
||||
<color key="tintColor" white="0.80000000000000004" alpha="0.80330230496453903" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
|
|
@ -914,19 +922,19 @@
|
|||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="1000" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="jjJ-q6-e8z">
|
||||
<rect key="frame" x="38" y="8.0000000000000018" width="304" height="21.666666666666671"/>
|
||||
<rect key="frame" x="38" y="8.0000000000000018" width="292" height="21.666666666666671"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" text="Subtitle subtitle subtitle subtitle subtitle subtitle" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rOY-0f-W7p">
|
||||
<rect key="frame" x="38" y="31.666666666666668" width="304" height="40.666666666666657"/>
|
||||
<rect key="frame" x="38" y="31.666666666666668" width="292" height="40.666666666666657"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="251" image="disclosure" translatesAutoresizingMaskIntoConstraints="NO" id="fTM-eg-YMl">
|
||||
<rect key="frame" x="350" y="30.333333333333336" width="12" height="20"/>
|
||||
<rect key="frame" x="338" y="20.333333333333329" width="24" height="40"/>
|
||||
<color key="tintColor" white="0.80000000000000004" alpha="0.80330230499999999" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
|
|
@ -1056,19 +1064,19 @@
|
|||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="1000" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="fTD-3i-zkW">
|
||||
<rect key="frame" x="46" y="8.0000000000000018" width="296" height="21.666666666666671"/>
|
||||
<rect key="frame" x="46" y="8.0000000000000018" width="284" height="21.666666666666671"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" text="Subtitle subtitle subtitle subtitle subtitle subtitle" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sQJ-U4-6NT">
|
||||
<rect key="frame" x="46" y="29.666666666666668" width="296" height="40.666666666666657"/>
|
||||
<rect key="frame" x="46" y="29.666666666666668" width="284" height="40.666666666666657"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="251" image="disclosure" translatesAutoresizingMaskIntoConstraints="NO" id="t4j-Bn-dSU">
|
||||
<rect key="frame" x="350" y="29.333333333333336" width="12" height="20"/>
|
||||
<rect key="frame" x="338" y="19.333333333333329" width="24" height="40"/>
|
||||
<color key="tintColor" white="0.80000000000000004" alpha="0.80330230499999999" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
|
|
@ -1562,24 +1570,24 @@
|
|||
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tQU-ml-Eiz">
|
||||
<rect key="frame" x="0.0" y="0.0" width="414" height="251"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="414" height="356"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BN3-jQ-GBi" userLabel="titleView">
|
||||
<rect key="frame" x="67" y="20" width="280" height="147"/>
|
||||
<rect key="frame" x="8" y="20" width="398" height="252"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" alpha="0.80000001192092896" contentMode="scaleAspectFit" verticalHuggingPriority="1000" image="info_adafruit_logo" translatesAutoresizingMaskIntoConstraints="NO" id="v29-ih-FFw">
|
||||
<rect key="frame" x="0.0" y="0.0" width="280" height="105"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="398" height="210"/>
|
||||
<color key="tintColor" name="text_default"/>
|
||||
</imageView>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="App Name" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="izk-pv-hGR">
|
||||
<rect key="frame" x="75" y="109" width="205" height="19"/>
|
||||
<rect key="frame" x="75" y="214" width="323" height="19"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<color key="shadowColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</label>
|
||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="v.2.0" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NGh-Xb-KmR" userLabel="versionLabel">
|
||||
<rect key="frame" x="75" y="128" width="205" height="19"/>
|
||||
<rect key="frame" x="75" y="233" width="323" height="19"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
|
|
@ -1601,7 +1609,7 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" text="Details details details details details details details details details details details details" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="gM0-9c-k2j" customClass="ActiveLabel" customModule="ActiveLabel">
|
||||
<rect key="frame" x="8" y="207" width="398" height="36"/>
|
||||
<rect key="frame" x="8" y="312" width="398" height="36"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" name="text_default"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
@ -1701,13 +1709,13 @@
|
|||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="aDl-bl-Snv">
|
||||
<rect key="frame" x="20" y="268.33333333333326" width="374" height="329.66666666666674"/>
|
||||
<rect key="frame" x="20" y="200.66666666666666" width="374" height="464.66666666666674"/>
|
||||
<subviews>
|
||||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="bluetooth_status" translatesAutoresizingMaskIntoConstraints="NO" id="Yms-Ya-hqI">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="135"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="270"/>
|
||||
</imageView>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="6" translatesAutoresizingMaskIntoConstraints="NO" id="Dph-8N-wNh">
|
||||
<rect key="frame" x="0.0" y="155" width="374" height="70.666666666666686"/>
|
||||
<rect key="frame" x="0.0" y="290" width="374" height="70.666666666666686"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Enable Bluetooth" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ppt-z7-z9u">
|
||||
<rect key="frame" x="106.66666666666667" y="0.0" width="160.66666666666663" height="24"/>
|
||||
|
|
@ -1716,7 +1724,7 @@
|
|||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bluetooth permission should be granted to connect to the Circuit Playground Device" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hCn-Cu-eSJ">
|
||||
<rect key="frame" x="22.333333333333343" y="29.999999999999996" width="329.66666666666663" height="40.666666666666657"/>
|
||||
<rect key="frame" x="22.333333333333343" y="29.99999999999994" width="329.66666666666663" height="40.666666666666657"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
@ -1724,7 +1732,7 @@
|
|||
</subviews>
|
||||
</stackView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9ix-t9-34H">
|
||||
<rect key="frame" x="0.0" y="245.66666666666669" width="374" height="84"/>
|
||||
<rect key="frame" x="0.0" y="380.66666666666674" width="374" height="84"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" verticalCompressionResistancePriority="1000" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HMY-4d-aqM" customClass="CornerShadowButton" customModule="BluefruitPlayground_SimulateBluetooth" customModuleProvider="target">
|
||||
<rect key="frame" x="20" y="20" width="334" height="44"/>
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@
|
|||
<rect key="frame" x="20" y="0.0" width="374" height="423"/>
|
||||
</containerView>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="xKj-ea-39A">
|
||||
<rect key="frame" x="8" y="263" width="76" height="152"/>
|
||||
<rect key="frame" x="8" y="327" width="44" height="88"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ga4-d9-1lz">
|
||||
<rect key="frame" x="0.0" y="0.0" width="76" height="76"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
|
||||
<inset key="contentEdgeInsets" minX="6" minY="6" maxX="6" maxY="6"/>
|
||||
<state key="normal" image="circuit_all"/>
|
||||
<connections>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xLL-a0-gwf">
|
||||
<rect key="frame" x="0.0" y="76" width="76" height="76"/>
|
||||
<rect key="frame" x="0.0" y="44" width="44" height="44"/>
|
||||
<inset key="contentEdgeInsets" minX="6" minY="6" maxX="6" maxY="6"/>
|
||||
<state key="normal" image="circuit_clear"/>
|
||||
<connections>
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
</subviews>
|
||||
</stackView>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="12T-bB-WIy">
|
||||
<rect key="frame" x="330" y="339" width="76" height="76"/>
|
||||
<rect key="frame" x="362" y="371" width="44" height="44"/>
|
||||
<inset key="contentEdgeInsets" minX="6" minY="6" maxX="6" maxY="6"/>
|
||||
<state key="normal" image="circuit_reset"/>
|
||||
<connections>
|
||||
|
|
@ -615,10 +615,10 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="FYu-kC-2q0">
|
||||
<rect key="frame" x="70" y="730" width="274" height="44"/>
|
||||
<rect key="frame" x="74" y="730" width="266" height="44"/>
|
||||
<subviews>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nxH-er-ZBM" customClass="CornerShadowButton" customModule="BluefruitPlayground_SimulateBluetooth" customModuleProvider="target">
|
||||
<rect key="frame" x="0.0" y="0.0" width="46" height="44"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="44" id="LHV-xq-UoT"/>
|
||||
<constraint firstAttribute="height" constant="44" id="YUR-JQ-XXD"/>
|
||||
|
|
@ -632,7 +632,7 @@
|
|||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jLv-tG-qa5" customClass="CornerShadowButton" customModule="BluefruitPlayground_SimulateBluetooth" customModuleProvider="target">
|
||||
<rect key="frame" x="76" y="0.0" width="46" height="44"/>
|
||||
<rect key="frame" x="74" y="0.0" width="44" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="44" id="Eay-1g-IGd"/>
|
||||
<constraint firstAttribute="height" constant="44" id="hqq-CF-25R"/>
|
||||
|
|
@ -646,7 +646,7 @@
|
|||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ta7-LK-awK" customClass="CornerShadowButton" customModule="BluefruitPlayground_SimulateBluetooth" customModuleProvider="target">
|
||||
<rect key="frame" x="152" y="0.0" width="46" height="44"/>
|
||||
<rect key="frame" x="148" y="0.0" width="44" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="44" id="ccz-yG-CgQ"/>
|
||||
<constraint firstAttribute="height" constant="44" id="gLO-Cf-PUP"/>
|
||||
|
|
@ -660,7 +660,7 @@
|
|||
</connections>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0uY-jB-1Ht" customClass="CornerShadowButton" customModule="BluefruitPlayground_SimulateBluetooth" customModuleProvider="target">
|
||||
<rect key="frame" x="228" y="0.0" width="46" height="44"/>
|
||||
<rect key="frame" x="222" y="0.0" width="44" height="44"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="44" id="CWM-0O-ns9"/>
|
||||
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="44" id="o2R-dn-3uf"/>
|
||||
|
|
@ -718,7 +718,7 @@
|
|||
<rect key="frame" x="0.0" y="12" width="414" height="510"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="750" verticalHuggingPriority="750" image="temperature_gauge" translatesAutoresizingMaskIntoConstraints="NO" id="eYC-Gt-apS">
|
||||
<rect key="frame" x="20" y="67" width="374" height="376"/>
|
||||
<rect key="frame" x="97" y="144.5" width="220" height="221"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="eYC-Gt-apS" secondAttribute="height" multiplier="220:221" id="Tur-P3-pES"/>
|
||||
</constraints>
|
||||
|
|
@ -730,7 +730,7 @@
|
|||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OKs-DM-Ka8">
|
||||
<rect key="frame" x="342" y="438" width="64" height="64"/>
|
||||
<rect key="frame" x="374" y="470" width="32" height="32"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
|
||||
<inset key="contentEdgeInsets" minX="6" minY="6" maxX="6" maxY="6"/>
|
||||
<state key="normal" title="ºC" backgroundImage="temperature_swap">
|
||||
|
|
@ -846,27 +846,27 @@
|
|||
<rect key="frame" x="0.0" y="12" width="414" height="510"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" horizontalHuggingPriority="249" verticalHuggingPriority="249" horizontalCompressionResistancePriority="249" verticalCompressionResistancePriority="249" translatesAutoresizingMaskIntoConstraints="NO" id="zLf-Fi-H66">
|
||||
<rect key="frame" x="20" y="51" width="374" height="408"/>
|
||||
<rect key="frame" x="87" y="124" width="240" height="262"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Xxj-ol-hAb">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="408"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="240" height="262"/>
|
||||
<subviews>
|
||||
<view alpha="0.0" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jZX-SK-33o">
|
||||
<rect key="frame" x="0.0" y="0.0" width="374" height="81.5"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="240" height="52.5"/>
|
||||
<color key="backgroundColor" systemColor="systemRedColor" red="1" green="0.23137254900000001" blue="0.18823529410000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PqL-CE-oDP">
|
||||
<rect key="frame" x="0.0" y="81.5" width="374" height="322.5"/>
|
||||
<rect key="frame" x="0.0" y="52.5" width="240" height="207"/>
|
||||
<subviews>
|
||||
<view alpha="0.0" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EJt-MV-fsH">
|
||||
<rect key="frame" x="0.0" y="0.0" width="138.5" height="322.5"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="89" height="207"/>
|
||||
<color key="backgroundColor" systemColor="systemGreenColor" red="0.20392156859999999" green="0.78039215689999997" blue="0.34901960780000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dvq-By-eaI">
|
||||
<rect key="frame" x="138.5" y="0.0" width="228" height="322.5"/>
|
||||
<rect key="frame" x="89" y="0.0" width="146" height="207"/>
|
||||
<subviews>
|
||||
<imageView opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="249" verticalHuggingPriority="249" horizontalCompressionResistancePriority="249" verticalCompressionResistancePriority="249" image="humidity_fill" translatesAutoresizingMaskIntoConstraints="NO" id="B9g-ei-Fcg">
|
||||
<rect key="frame" x="0.0" y="0.0" width="228" height="322.5"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="146" height="207"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
|
@ -878,13 +878,13 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<view alpha="0.0" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="d1M-64-lqP">
|
||||
<rect key="frame" x="366.5" y="0.0" width="7.5" height="322.5"/>
|
||||
<rect key="frame" x="235" y="0.0" width="5" height="207"/>
|
||||
<color key="backgroundColor" systemColor="systemOrangeColor" red="1" green="0.58431372550000005" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
</subviews>
|
||||
</stackView>
|
||||
<view alpha="0.0" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="V1f-go-Uqz">
|
||||
<rect key="frame" x="0.0" y="404" width="374" height="4"/>
|
||||
<rect key="frame" x="0.0" y="259.5" width="240" height="2.5"/>
|
||||
<color key="backgroundColor" systemColor="systemPurpleColor" red="0.68627450980000004" green="0.32156862749999998" blue="0.87058823529999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
</view>
|
||||
</subviews>
|
||||
|
|
@ -903,16 +903,16 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" image="humidity_outline" translatesAutoresizingMaskIntoConstraints="NO" id="g1O-iQ-qQu">
|
||||
<rect key="frame" x="20" y="51" width="374" height="408"/>
|
||||
<rect key="frame" x="87" y="124" width="240" height="262"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="g1O-iQ-qQu" secondAttribute="height" multiplier="120:131" id="nSg-Im-mfj"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JhQ-aW-u6h">
|
||||
<rect key="frame" x="154.5" y="194" width="239.5" height="265"/>
|
||||
<rect key="frame" x="173.5" y="215.5" width="153.5" height="170.5"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" alignment="bottom" translatesAutoresizingMaskIntoConstraints="NO" id="DQU-f5-FTT">
|
||||
<rect key="frame" x="93" y="107" width="53.5" height="50.5"/>
|
||||
<rect key="frame" x="50" y="60" width="53.5" height="50.5"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" text="0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="BCi-JJ-WJB">
|
||||
<rect key="frame" x="0.0" y="0.0" width="27.5" height="50.5"/>
|
||||
|
|
@ -1056,30 +1056,30 @@
|
|||
<rect key="frame" x="0.0" y="12" width="414" height="510"/>
|
||||
<subviews>
|
||||
<imageView opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="249" verticalHuggingPriority="249" horizontalCompressionResistancePriority="249" verticalCompressionResistancePriority="249" image="pressure_hand" translatesAutoresizingMaskIntoConstraints="NO" id="Pys-h6-hWK">
|
||||
<rect key="frame" x="193.5" y="72.5" width="27" height="365"/>
|
||||
<rect key="frame" x="197.5" y="128" width="19" height="254"/>
|
||||
</imageView>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" image="pressure_outline" translatesAutoresizingMaskIntoConstraints="NO" id="qar-Qw-2fa">
|
||||
<rect key="frame" x="20" y="72.5" width="374" height="365"/>
|
||||
<rect key="frame" x="77" y="128" width="260" height="254"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" secondItem="qar-Qw-2fa" secondAttribute="height" multiplier="130:127" id="fut-ab-EWu"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JYL-Re-hQN">
|
||||
<rect key="frame" x="95" y="412.5" width="224" height="50.5"/>
|
||||
<rect key="frame" x="129" y="357" width="156" height="50.5"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" alignment="bottom" translatesAutoresizingMaskIntoConstraints="NO" id="TuZ-t8-AxA">
|
||||
<rect key="frame" x="46" y="0.0" width="132.5" height="50.5"/>
|
||||
<rect key="frame" x="1" y="0.0" width="154.5" height="50.5"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" text="990" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="3fc-lA-gKu">
|
||||
<rect key="frame" x="0.0" y="0.0" width="81" height="50.5"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="103" height="50.5"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="42"/>
|
||||
<color key="textColor" red="1" green="0.99998790029999995" blue="0.9999920726" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="x8M-ib-7Cw">
|
||||
<rect key="frame" x="81" y="0.5" width="51.5" height="50"/>
|
||||
<rect key="frame" x="103" y="0.5" width="51.5" height="50"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" verticalCompressionResistancePriority="1000" text="hPa" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="9ki-oQ-uBM">
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="749" verticalCompressionResistancePriority="1000" text="hPa" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="9ki-oQ-uBM">
|
||||
<rect key="frame" x="0.0" y="10" width="51.5" height="36"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="30"/>
|
||||
<color key="textColor" red="1" green="0.99998790029999995" blue="0.9999920726" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
|
|
@ -1095,6 +1095,9 @@
|
|||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="3fc-lA-gKu" firstAttribute="width" relation="greaterThanOrEqual" secondItem="9ki-oQ-uBM" secondAttribute="width" multiplier="2" id="ceW-HG-eC6"/>
|
||||
</constraints>
|
||||
</stackView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
|
@ -1107,13 +1110,13 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" verticalCompressionResistancePriority="1000" text="max" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="mQS-JG-YLL">
|
||||
<rect key="frame" x="339" y="428.5" width="28.5" height="18"/>
|
||||
<rect key="frame" x="305" y="373" width="28.5" height="18"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" red="1" green="0.99998790029999995" blue="0.9999920726" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" verticalCompressionResistancePriority="1000" text="min" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="6zY-bT-18t">
|
||||
<rect key="frame" x="50" y="428.5" width="25" height="18"/>
|
||||
<rect key="frame" x="84" y="373" width="25" height="18"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" red="1" green="0.99998790029999995" blue="0.9999920726" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
@ -1236,16 +1239,16 @@
|
|||
<rect key="frame" x="20" y="0.0" width="374" height="510"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="PZf-yf-AWg">
|
||||
<rect key="frame" x="40" y="-25" width="334" height="560"/>
|
||||
<rect key="frame" x="85" y="115" width="244" height="280"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ljR-bi-cvW">
|
||||
<rect key="frame" x="0.0" y="0.0" width="196" height="560"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="106" height="280"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" image="sound_level_dimmed" translatesAutoresizingMaskIntoConstraints="NO" id="LlW-Yf-hDl">
|
||||
<rect key="frame" x="0.0" y="0.0" width="196" height="560"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="106" height="280"/>
|
||||
</imageView>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="249" verticalHuggingPriority="249" horizontalCompressionResistancePriority="249" verticalCompressionResistancePriority="249" image="sound_level" translatesAutoresizingMaskIntoConstraints="NO" id="xqN-Wx-HD5">
|
||||
<rect key="frame" x="0.0" y="0.0" width="196" height="560"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="106" height="280"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
|
@ -1261,19 +1264,19 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" horizontalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="yug-x0-ADE">
|
||||
<rect key="frame" x="204" y="0.0" width="130" height="560"/>
|
||||
<rect key="frame" x="114" y="0.0" width="130" height="280"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" alignment="bottom" translatesAutoresizingMaskIntoConstraints="NO" id="qoc-mM-xcg">
|
||||
<rect key="frame" x="20.5" y="0.0" width="109.5" height="560"/>
|
||||
<rect key="frame" x="20.5" y="0.0" width="109.5" height="280"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="750" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" text="120" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Knc-sL-2af">
|
||||
<rect key="frame" x="0.0" y="509.5" width="72.5" height="50.5"/>
|
||||
<rect key="frame" x="0.0" y="229.5" width="72.5" height="50.5"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="42"/>
|
||||
<color key="textColor" red="1" green="0.99998790029999995" blue="0.9999920726" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KJ5-tm-SpG">
|
||||
<rect key="frame" x="72.5" y="510" width="37" height="50"/>
|
||||
<rect key="frame" x="72.5" y="230" width="37" height="50"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" verticalCompressionResistancePriority="1000" text="dB" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Q4H-RL-ETg">
|
||||
<rect key="frame" x="0.0" y="10" width="37" height="36"/>
|
||||
|
|
@ -1408,11 +1411,11 @@
|
|||
<rect key="frame" x="0.0" y="0.0" width="414" height="808"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9cd-cz-wWH">
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9cd-cz-wWH">
|
||||
<rect key="frame" x="0.0" y="12" width="414" height="350"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" image="tonegenerator_speaker" translatesAutoresizingMaskIntoConstraints="NO" id="Y70-SD-9rD">
|
||||
<rect key="frame" x="28" y="85" width="358" height="180"/>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="tonegenerator_speaker" translatesAutoresizingMaskIntoConstraints="NO" id="Y70-SD-9rD">
|
||||
<rect key="frame" x="77" y="85" width="260" height="180"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
|
|
@ -1425,7 +1428,7 @@
|
|||
<constraint firstAttribute="trailingMargin" relation="greaterThanOrEqual" secondItem="Y70-SD-9rD" secondAttribute="trailing" constant="20" id="z0e-dB-Eew"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" verticalHuggingPriority="751" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bWw-lC-Emh">
|
||||
<view contentMode="scaleToFill" verticalHuggingPriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="bWw-lC-Emh">
|
||||
<rect key="frame" x="0.0" y="374" width="414" height="400"/>
|
||||
<subviews>
|
||||
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Gc2-PQ-UgW">
|
||||
|
|
@ -2123,7 +2126,7 @@
|
|||
<rect key="frame" x="0.0" y="71" width="348" height="60.5"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="251" image="lightsensor_min" translatesAutoresizingMaskIntoConstraints="NO" id="xIf-cH-XwT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="32" height="60.5"/>
|
||||
<rect key="frame" x="0.0" y="14" width="32" height="32"/>
|
||||
<color key="tintColor" name="panel_text"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="32" id="Cnh-ct-KRE"/>
|
||||
|
|
@ -2161,7 +2164,7 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="251" image="lightsensor_max" translatesAutoresizingMaskIntoConstraints="NO" id="Syp-9X-v8i">
|
||||
<rect key="frame" x="316" y="0.0" width="32" height="60.5"/>
|
||||
<rect key="frame" x="316" y="14" width="32" height="32"/>
|
||||
<color key="tintColor" name="panel_text"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="32" id="ph4-zE-oZL"/>
|
||||
|
|
@ -2245,25 +2248,25 @@
|
|||
<rect key="frame" x="20" y="0.0" width="319" height="224"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" text="Title" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2w2-fb-yU1">
|
||||
<rect key="frame" x="0.0" y="16" width="319" height="0.0"/>
|
||||
<rect key="frame" x="0.0" y="16" width="319" height="26.5"/>
|
||||
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="22"/>
|
||||
<color key="textColor" name="panel_text"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<view contentMode="scaleToFill" verticalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="LE8-Xm-MyC">
|
||||
<rect key="frame" x="8" y="36" width="303" height="158"/>
|
||||
<rect key="frame" x="8" y="62.5" width="303" height="131.5"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" alignment="center" spacing="40" translatesAutoresizingMaskIntoConstraints="NO" id="aGX-eE-4cQ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="303" height="158"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="303" height="131.5"/>
|
||||
<subviews>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="a9L-nV-v5t">
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="158"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="131.5"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CJ1-3n-P8S">
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="150"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="103"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" image="status_left" translatesAutoresizingMaskIntoConstraints="NO" id="YGm-Cb-2wM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="150"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="103"/>
|
||||
<color key="tintColor" red="1" green="0.4073752891886665" blue="0.12012620532416363" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
|
|
@ -2276,7 +2279,7 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="751" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="XXXSlide Switch" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lva-OC-wlT">
|
||||
<rect key="frame" x="0.0" y="158" width="74.5" height="0.0"/>
|
||||
<rect key="frame" x="0.0" y="111" width="74.5" height="20.5"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" name="panel_text"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
@ -2284,13 +2287,13 @@
|
|||
</subviews>
|
||||
</stackView>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="thZ-V9-9zx">
|
||||
<rect key="frame" x="114.5" y="0.0" width="74" height="158"/>
|
||||
<rect key="frame" x="114.5" y="0.0" width="74" height="131.5"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jzv-K5-VcG">
|
||||
<rect key="frame" x="0.0" y="0.0" width="74" height="150"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="74" height="103"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" image="status_a" translatesAutoresizingMaskIntoConstraints="NO" id="Di5-wa-clX">
|
||||
<rect key="frame" x="0.0" y="0.0" width="74" height="150"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="74" height="103"/>
|
||||
<color key="tintColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
|
|
@ -2303,7 +2306,7 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="751" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="XXXButton A" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4sg-ww-Cfh">
|
||||
<rect key="frame" x="0.0" y="158" width="74" height="0.0"/>
|
||||
<rect key="frame" x="0.0" y="111" width="74" height="20.5"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" name="panel_text"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
@ -2311,13 +2314,13 @@
|
|||
</subviews>
|
||||
</stackView>
|
||||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="WS9-eS-UNJ">
|
||||
<rect key="frame" x="228.5" y="0.0" width="74.5" height="158"/>
|
||||
<rect key="frame" x="228.5" y="0.0" width="74.5" height="131.5"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fXs-km-nko">
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="150"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="103"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" image="status_b" translatesAutoresizingMaskIntoConstraints="NO" id="eoc-2h-ygp">
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="150"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="74.5" height="103"/>
|
||||
<color key="tintColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</imageView>
|
||||
</subviews>
|
||||
|
|
@ -2330,7 +2333,7 @@
|
|||
</constraints>
|
||||
</view>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="751" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="XXXButtonB" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xf1-zu-lRO">
|
||||
<rect key="frame" x="0.0" y="158" width="74.5" height="0.0"/>
|
||||
<rect key="frame" x="0.0" y="111" width="74.5" height="20.5"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" name="panel_text"/>
|
||||
<nil key="highlightedColor"/>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import Foundation
|
|||
*/
|
||||
class PeripheralAutoConnect {
|
||||
// Config
|
||||
private static let kMinScanningTimeToAutoconnect: TimeInterval = Config.isDebugEnabled ? 10 : 1.5 // 5
|
||||
private static let kMinScanningTimeToAutoconnect: TimeInterval = 1.5 // 5
|
||||
private static let kMinRssiToAutoConnect = -47//-56 // in dBM
|
||||
private static let kMinTimeDetectingPeripheralForAutoconnect: TimeInterval = 1
|
||||
|
||||
|
|
|
|||
|
|
@ -23,10 +23,11 @@ class AutoConnectViewController: UIViewController {
|
|||
@IBOutlet weak var wave1ImageView: UIImageView!
|
||||
@IBOutlet weak var wave2ImageView: UIImageView!
|
||||
@IBOutlet weak var detailLabel: UILabel!
|
||||
@IBOutlet weak var cpbContainerView: UIView!
|
||||
@IBOutlet weak var cpbImageView: UIImageView!
|
||||
@IBOutlet weak var boardContainerView: UIView!
|
||||
@IBOutlet weak var boardImageView: UIImageView!
|
||||
@IBOutlet weak var actionsContainerView: UIStackView!
|
||||
|
||||
@IBOutlet weak var detailContainerView: UIView!
|
||||
|
||||
// Data
|
||||
private let bleManager = Config.bleManager
|
||||
private var peripheralList = PeripheralList(bleManager: Config.bleManager)
|
||||
|
|
@ -48,6 +49,9 @@ class AutoConnectViewController: UIViewController {
|
|||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
self.boardImageView.alpha = 0
|
||||
|
||||
|
||||
// Localization
|
||||
let localizationManager = LocalizationManager.shared
|
||||
self.title = localizationManager.localizedString("autoconnect_title")
|
||||
|
|
@ -204,7 +208,18 @@ class AutoConnectViewController: UIViewController {
|
|||
}
|
||||
|
||||
private func willDiscoverServices(notification: Notification) {
|
||||
detailLabel.text = LocalizationManager.shared.localizedString("scanner_discoveringservices")
|
||||
|
||||
// Change text (animated fade-out / fade-in)
|
||||
UIView.animate(withDuration: 0.15, animations: {
|
||||
self.detailContainerView.alpha = 0
|
||||
}) { finished in
|
||||
self.detailLabel.text = LocalizationManager.shared.localizedString("scanner_discoveringservices")
|
||||
if finished {
|
||||
UIView.animate(withDuration: 0.2) {
|
||||
self.detailContainerView.alpha = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private func didDisconnectFromPeripheral(notification: Notification) {
|
||||
|
|
@ -280,29 +295,35 @@ class AutoConnectViewController: UIViewController {
|
|||
let statusText: String
|
||||
if let selectedPeripheral = selectedPeripheral {
|
||||
statusText = "Device found:\n\(selectedPeripheral.name ?? localizationManager.localizedString("scanner_unnamed"))"
|
||||
cpbImageView.image = AdafruitBoard.assetFrontImage(model: selectedPeripheral.adafruitManufacturerData()?.boardModel)
|
||||
boardImageView.image = AdafruitBoard.assetFrontImage(model: selectedPeripheral.adafruitManufacturerData()?.boardModel)
|
||||
|
||||
// Animate found CPB
|
||||
UIView.animate(withDuration: 0.1, animations: {
|
||||
self.cpbContainerView.transform = CGAffineTransform(scaleX: 0.8, y: 0.8)
|
||||
// Animate found board
|
||||
self.boardImageView.alpha = 0.8
|
||||
UIView.animate(withDuration: 0.15, animations: {
|
||||
self.boardContainerView.transform = CGAffineTransform(scaleX: 0.75, y: 0.75)
|
||||
}) { didFinish in
|
||||
if didFinish {
|
||||
UIView.animate(withDuration: 0.3, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0.5, options: [.curveEaseOut], animations: {
|
||||
self.cpbContainerView.transform = .identity
|
||||
UIView.animate(withDuration: 0.3, delay: 0, usingSpringWithDamping: 0.5, initialSpringVelocity: 0.5, options: [.curveEaseOut], animations: {
|
||||
self.boardContainerView.transform = .identity
|
||||
}, completion: nil)
|
||||
|
||||
UIView.animate(withDuration: 0.3) {
|
||||
self.cpbImageView.alpha = 1
|
||||
self.boardImageView.alpha = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Show details
|
||||
UIView.animate(withDuration: 0.2) {
|
||||
self.detailContainerView.alpha = 1
|
||||
}
|
||||
|
||||
} else {
|
||||
UIView.animate(withDuration: 0.3) {
|
||||
self.cpbImageView.alpha = 0
|
||||
self.boardImageView.alpha = 0
|
||||
}
|
||||
statusText = localizationManager.localizedString("autoconnect_searching")
|
||||
detailLabel.text = " "
|
||||
detailContainerView.alpha = 0
|
||||
}
|
||||
|
||||
statusLabel.text = statusText
|
||||
|
|
|
|||
|
|
@ -51,7 +51,10 @@ class ChartPanelViewController: ModulePanelViewController {
|
|||
|
||||
internal func reloadChartEntries(dataSeries: SensorDataSeries<Float>) {
|
||||
|
||||
originTimestamp = dataSeries.first?.timestamp ?? CFAbsoluteTimeGetCurrent()
|
||||
let maxTimestamp = dataSeries.max { (a, b) -> Bool in
|
||||
return a.timestamp < b.timestamp
|
||||
}?.timestamp
|
||||
originTimestamp = maxTimestamp ?? CFAbsoluteTimeGetCurrent()
|
||||
let entries = chartEntries(dataSeries: dataSeries)
|
||||
|
||||
// Add Dataset
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ class SoundViewController: ModuleViewController {
|
|||
static let kIdentifier = "SoundViewController"
|
||||
|
||||
// Config
|
||||
private static let kScaleMinDBFS: Double = -110 // What is a sensible value here?
|
||||
private static let kScaleMinDBFS: Double = -120 // What is a sensible value here?
|
||||
private static let kScaleMaxDBFS: Double = 0
|
||||
|
||||
// UI
|
||||
|
|
|
|||
Loading…
Reference in a new issue