ReservoirVolumeHUDView.xib 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22113.1" 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="22089"/>
  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="ReservoirVolumeHUDView" customModule="LoopKitUI">
  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="8Wy-Sh-GU2">
  18. <rect key="frame" x="0.0" y="3" width="42" height="38"/>
  19. <subviews>
  20. <view contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="gdW-RC-gEQ" customClass="LevelMaskView" customModule="LoopKitUI">
  21. <rect key="frame" x="9" y="1" width="25" height="36"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="25" id="I80-Th-OP7"/>
  24. </constraints>
  25. <userDefinedRuntimeAttributes>
  26. <userDefinedRuntimeAttribute type="image" keyPath="maskImage" value="generic-reservoir-mask"/>
  27. </userDefinedRuntimeAttributes>
  28. </view>
  29. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" horizontalCompressionResistancePriority="1000" verticalCompressionResistancePriority="1000" image="generic-reservoir" translatesAutoresizingMaskIntoConstraints="NO" id="SBs-52-9Ml">
  30. <rect key="frame" x="7.5" y="1" width="27" height="36"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="36" id="oSP-cc-UGI"/>
  33. <constraint firstAttribute="width" constant="27" id="ylV-k9-8QN"/>
  34. </constraints>
  35. </imageView>
  36. </subviews>
  37. <constraints>
  38. <constraint firstItem="SBs-52-9Ml" firstAttribute="centerX" secondItem="8Wy-Sh-GU2" secondAttribute="centerX" id="03L-OO-uVc"/>
  39. <constraint firstItem="gdW-RC-gEQ" firstAttribute="leading" secondItem="SBs-52-9Ml" secondAttribute="trailing" constant="-25.5" id="4FG-bk-RR9"/>
  40. <constraint firstItem="SBs-52-9Ml" firstAttribute="centerY" secondItem="8Wy-Sh-GU2" secondAttribute="centerY" id="7U6-2T-1wD"/>
  41. <constraint firstItem="gdW-RC-gEQ" firstAttribute="height" secondItem="SBs-52-9Ml" secondAttribute="height" id="AH7-6X-Gmk"/>
  42. <constraint firstAttribute="height" constant="38" id="olt-s8-seh"/>
  43. <constraint firstItem="gdW-RC-gEQ" firstAttribute="centerY" secondItem="SBs-52-9Ml" secondAttribute="centerY" id="pn0-yk-wiY"/>
  44. </constraints>
  45. </view>
  46. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="44U" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" adjustsLetterSpacingToFitWidth="YES" translatesAutoresizingMaskIntoConstraints="NO" id="1Li-Fa-L6E">
  47. <rect key="frame" x="11" y="9.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="1Li-Fa-L6E" firstAttribute="centerX" secondItem="8Wy-Sh-GU2" secondAttribute="centerX" id="NBh-f2-CSa"/>
  58. <constraint firstItem="8Wy-Sh-GU2" firstAttribute="width" secondItem="Fgu-h0-N6n" secondAttribute="width" id="Uvj-SW-7kR"/>
  59. <constraint firstItem="1Li-Fa-L6E" firstAttribute="centerY" secondItem="8Wy-Sh-GU2" secondAttribute="centerY" constant="-7" id="bpz-B1-aFe"/>
  60. <constraint firstItem="8Wy-Sh-GU2" firstAttribute="centerY" secondItem="Fgu-h0-N6n" secondAttribute="centerY" id="uQK-09-773"/>
  61. <constraint firstItem="8Wy-Sh-GU2" firstAttribute="centerX" secondItem="Fgu-h0-N6n" secondAttribute="centerX" id="y0x-aG-Cjj"/>
  62. </constraints>
  63. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  64. <connections>
  65. <outlet property="levelMaskView" destination="gdW-RC-gEQ" id="fWh-lY-58j"/>
  66. <outlet property="volumeLabel" destination="1Li-Fa-L6E" id="mPW-rC-N7A"/>
  67. </connections>
  68. <point key="canvasLocation" x="-12.800000000000001" y="-136.28185907046478"/>
  69. </view>
  70. </objects>
  71. <resources>
  72. <image name="generic-reservoir" width="78" height="106"/>
  73. <image name="generic-reservoir-mask" width="72" height="106"/>
  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>