ReservoirVolumeHUDView.xib 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14810.11" 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="14766.13"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="Fgu-h0-N6n" customClass="ReservoirVolumeHUDView" customModule="LoopKitUI">
  13. <rect key="frame" x="0.0" y="0.0" width="96" height="73"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <subviews>
  16. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="10:09 AM" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumScaleFactor="0.80000001192092896" adjustsLetterSpacingToFitWidth="YES" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7G0-xU-Hfm">
  17. <rect key="frame" x="2" y="56" width="92" height="17"/>
  18. <fontDescription key="fontDescription" style="UICTFontTextStyleCaption2"/>
  19. <nil key="highlightedColor"/>
  20. </label>
  21. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sSE-Jz-j8k">
  22. <rect key="frame" x="26" y="9" width="44" height="44"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UOD-1q-wHA" customClass="LevelMaskView" customModule="LoopKitUI">
  25. <rect key="frame" x="0.0" y="5" width="44" height="39"/>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="image" keyPath="maskImage" value="reservoir_mask"/>
  28. </userDefinedRuntimeAttributes>
  29. </view>
  30. <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="reservoir" translatesAutoresizingMaskIntoConstraints="NO" id="zcH-tM-6Pm">
  31. <rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
  32. </imageView>
  33. </subviews>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="44" id="Bbr-RV-LDU"/>
  36. <constraint firstItem="UOD-1q-wHA" firstAttribute="leading" secondItem="sSE-Jz-j8k" secondAttribute="leading" id="SXN-bj-sAO"/>
  37. <constraint firstAttribute="trailing" secondItem="UOD-1q-wHA" secondAttribute="trailing" id="co9-t4-Q4a"/>
  38. <constraint firstAttribute="bottom" secondItem="zcH-tM-6Pm" secondAttribute="bottom" id="eNS-sV-TWI"/>
  39. <constraint firstItem="zcH-tM-6Pm" firstAttribute="leading" secondItem="sSE-Jz-j8k" secondAttribute="leading" id="kKl-WM-ctU"/>
  40. <constraint firstAttribute="trailing" secondItem="zcH-tM-6Pm" secondAttribute="trailing" id="l3H-lf-Tur"/>
  41. <constraint firstAttribute="bottom" secondItem="UOD-1q-wHA" secondAttribute="bottom" id="n3j-1B-03F"/>
  42. <constraint firstAttribute="width" constant="44" id="s8k-0v-E3X"/>
  43. <constraint firstItem="zcH-tM-6Pm" firstAttribute="top" secondItem="sSE-Jz-j8k" secondAttribute="top" id="xM0-Di-QOf"/>
  44. <constraint firstItem="UOD-1q-wHA" firstAttribute="top" secondItem="sSE-Jz-j8k" secondAttribute="top" constant="5" id="xVz-y5-INC"/>
  45. </constraints>
  46. </view>
  47. <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">
  48. <rect key="frame" x="36.5" y="27.5" width="23" height="13.5"/>
  49. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
  50. <nil key="textColor"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. </subviews>
  54. <accessibility key="accessibilityConfiguration" label="Reservoir Volume">
  55. <bool key="isElement" value="YES"/>
  56. </accessibility>
  57. <constraints>
  58. <constraint firstItem="sSE-Jz-j8k" firstAttribute="top" secondItem="Fgu-h0-N6n" secondAttribute="top" constant="9" id="6WN-Ek-Oap"/>
  59. <constraint firstItem="g9J-nS-4US" firstAttribute="centerY" secondItem="sSE-Jz-j8k" secondAttribute="centerY" constant="3" id="NeR-1T-w3W"/>
  60. <constraint firstItem="7G0-xU-Hfm" firstAttribute="top" secondItem="sSE-Jz-j8k" secondAttribute="bottom" constant="3" id="P5X-jo-6DP"/>
  61. <constraint firstItem="7G0-xU-Hfm" firstAttribute="leading" secondItem="Fgu-h0-N6n" secondAttribute="leading" constant="2" id="b2j-Qm-6Qv"/>
  62. <constraint firstAttribute="bottom" secondItem="7G0-xU-Hfm" secondAttribute="bottom" id="jdL-17-9Ay"/>
  63. <constraint firstItem="sSE-Jz-j8k" firstAttribute="centerX" secondItem="Fgu-h0-N6n" secondAttribute="centerX" id="wJy-gl-hZ3"/>
  64. <constraint firstAttribute="trailing" secondItem="7G0-xU-Hfm" secondAttribute="trailing" constant="2" id="xls-nE-tjt"/>
  65. <constraint firstItem="g9J-nS-4US" firstAttribute="centerX" secondItem="Fgu-h0-N6n" secondAttribute="centerX" id="yzL-VR-5rm"/>
  66. </constraints>
  67. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  68. <connections>
  69. <outlet property="caption" destination="7G0-xU-Hfm" id="gzP-d7-lM6"/>
  70. <outlet property="levelMaskView" destination="UOD-1q-wHA" id="nsX-iI-myz"/>
  71. <outlet property="volumeLabel" destination="g9J-nS-4US" id="5ki-bV-jMd"/>
  72. </connections>
  73. <point key="canvasLocation" x="-12.800000000000001" y="-136.28185907046478"/>
  74. </view>
  75. </objects>
  76. <resources>
  77. <image name="reservoir" width="28" height="44"/>
  78. <image name="reservoir_mask" width="28" height="39"/>
  79. </resources>
  80. </document>