ReservoirHUDView.xib 6.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17506" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17505"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="Fgu-h0-N6n" customClass="ReservoirHUDView" customModule="MinimedKitUI" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="42" height="44"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <subviews>
  17. <view clipsSubviews="YES" contentMode="center" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="sSE-Jz-j8k">
  18. <rect key="frame" x="0.0" y="5" width="42" height="34"/>
  19. <subviews>
  20. <view contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="UOD-1q-wHA" customClass="LevelMaskView" customModule="LoopKitUI">
  21. <rect key="frame" x="10" y="5" width="22" height="29"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="29" id="gdu-Kp-mV8"/>
  24. </constraints>
  25. <userDefinedRuntimeAttributes>
  26. <userDefinedRuntimeAttribute type="image" keyPath="maskImage" value="reservoir_mask"/>
  27. </userDefinedRuntimeAttributes>
  28. </view>
  29. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" image="reservoir" translatesAutoresizingMaskIntoConstraints="NO" id="zcH-tM-6Pm">
  30. <rect key="frame" x="10" y="0.0" width="22" height="34"/>
  31. <constraints>
  32. <constraint firstAttribute="width" constant="22" id="27G-w5-6JR"/>
  33. <constraint firstAttribute="height" constant="34" id="iHS-ze-rHu"/>
  34. </constraints>
  35. </imageView>
  36. </subviews>
  37. <constraints>
  38. <constraint firstItem="UOD-1q-wHA" firstAttribute="centerX" secondItem="zcH-tM-6Pm" secondAttribute="centerX" id="2qh-7U-U7N"/>
  39. <constraint firstItem="UOD-1q-wHA" firstAttribute="width" secondItem="zcH-tM-6Pm" secondAttribute="width" id="PWW-DH-nVr"/>
  40. <constraint firstItem="zcH-tM-6Pm" firstAttribute="centerX" secondItem="sSE-Jz-j8k" secondAttribute="centerX" id="WDC-Uo-EVH"/>
  41. <constraint firstItem="UOD-1q-wHA" firstAttribute="top" secondItem="zcH-tM-6Pm" secondAttribute="top" constant="5" id="hKN-SU-NsT"/>
  42. <constraint firstItem="zcH-tM-6Pm" firstAttribute="centerY" secondItem="sSE-Jz-j8k" secondAttribute="centerY" id="orx-zV-Uqu"/>
  43. <constraint firstAttribute="height" constant="34" id="r0H-AZ-Q6h"/>
  44. </constraints>
  45. </view>
  46. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="44U" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g9J-nS-4US">
  47. <rect key="frame" x="11" y="14.5" width="20.5" height="11"/>
  48. <fontDescription key="fontDescription" type="system" weight="heavy" pointSize="9"/>
  49. <color key="textColor" systemColor="systemBlueColor"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. </subviews>
  53. <accessibility key="accessibilityConfiguration" label="Reservoir Volume">
  54. <bool key="isElement" value="YES"/>
  55. </accessibility>
  56. <constraints>
  57. <constraint firstItem="sSE-Jz-j8k" firstAttribute="width" secondItem="Fgu-h0-N6n" secondAttribute="width" id="587-U6-odp"/>
  58. <constraint firstItem="sSE-Jz-j8k" firstAttribute="centerY" secondItem="Fgu-h0-N6n" secondAttribute="centerY" id="7BA-aC-c4z"/>
  59. <constraint firstItem="g9J-nS-4US" firstAttribute="centerX" secondItem="sSE-Jz-j8k" secondAttribute="centerX" id="ADM-vN-GBJ"/>
  60. <constraint firstItem="g9J-nS-4US" firstAttribute="centerY" secondItem="sSE-Jz-j8k" secondAttribute="centerY" constant="-2" id="NeR-1T-w3W"/>
  61. <constraint firstItem="sSE-Jz-j8k" firstAttribute="centerX" secondItem="Fgu-h0-N6n" secondAttribute="centerX" id="VWt-od-IHu"/>
  62. </constraints>
  63. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  64. <connections>
  65. <outlet property="levelMaskView" destination="UOD-1q-wHA" id="nsX-iI-myz"/>
  66. <outlet property="volumeLabel" destination="g9J-nS-4US" id="5ki-bV-jMd"/>
  67. </connections>
  68. <point key="canvasLocation" x="-12.800000000000001" y="-136.28185907046478"/>
  69. </view>
  70. </objects>
  71. <resources>
  72. <image name="reservoir" width="28" height="44"/>
  73. <image name="reservoir_mask" width="28" height="39"/>
  74. <systemColor name="systemBlueColor">
  75. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  76. </systemColor>
  77. </resources>
  78. </document>