PodLifeHUDView.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
  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="PodLifeHUDView" customModule="OmniBLE" customModuleProvider="target">
  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="3 days" 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="8" width="44" height="44"/>
  23. <subviews>
  24. <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pod_life" translatesAutoresizingMaskIntoConstraints="NO" id="zcH-tM-6Pm">
  25. <rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
  26. </imageView>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9wR-SP-Zkm" customClass="MKRingProgressView">
  28. <rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
  29. <subviews>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="!" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MGp-dJ-1MV">
  31. <rect key="frame" x="26" y="0.0" width="18" height="18"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="18" id="9m6-dX-sqJ"/>
  34. <constraint firstAttribute="width" constant="18" id="pwi-Jo-qGF"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" style="UICTFontTextStyleCaption2"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. </subviews>
  40. <constraints>
  41. <constraint firstItem="MGp-dJ-1MV" firstAttribute="leading" secondItem="9wR-SP-Zkm" secondAttribute="leading" constant="26" id="KyC-d4-vQq"/>
  42. <constraint firstItem="MGp-dJ-1MV" firstAttribute="top" secondItem="9wR-SP-Zkm" secondAttribute="top" id="VKN-Jw-45z"/>
  43. <constraint firstAttribute="width" constant="44" id="jvO-Ce-VCS"/>
  44. <constraint firstAttribute="height" constant="44" id="kPk-AM-cNL"/>
  45. <constraint firstItem="MGp-dJ-1MV" firstAttribute="top" secondItem="9wR-SP-Zkm" secondAttribute="top" id="rCS-cb-D9a"/>
  46. </constraints>
  47. <userDefinedRuntimeAttributes>
  48. <userDefinedRuntimeAttribute type="color" keyPath="startColor">
  49. <color key="value" systemColor="scrollViewTexturedBackgroundColor"/>
  50. </userDefinedRuntimeAttribute>
  51. <userDefinedRuntimeAttribute type="color" keyPath="endColor">
  52. <color key="value" red="0.99942404029999998" green="0.98555368190000003" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  53. </userDefinedRuntimeAttribute>
  54. <userDefinedRuntimeAttribute type="number" keyPath="ringWidth">
  55. <real key="value" value="8"/>
  56. </userDefinedRuntimeAttribute>
  57. <userDefinedRuntimeAttribute type="number" keyPath="progress">
  58. <real key="value" value="1.1000000000000001"/>
  59. </userDefinedRuntimeAttribute>
  60. <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
  61. <real key="value" value="0.0"/>
  62. </userDefinedRuntimeAttribute>
  63. <userDefinedRuntimeAttribute type="color" keyPath="backgroundRingColor">
  64. <color key="value" red="0.99840576838002437" green="0.97935621447257604" blue="1" alpha="0.0" colorSpace="custom" customColorSpace="displayP3"/>
  65. </userDefinedRuntimeAttribute>
  66. <userDefinedRuntimeAttribute type="boolean" keyPath="hidesRingForZeroProgress" value="NO"/>
  67. </userDefinedRuntimeAttributes>
  68. </view>
  69. </subviews>
  70. <constraints>
  71. <constraint firstAttribute="height" constant="44" id="Bbr-RV-LDU"/>
  72. <constraint firstItem="9wR-SP-Zkm" firstAttribute="top" secondItem="sSE-Jz-j8k" secondAttribute="top" id="FcT-GC-gga"/>
  73. <constraint firstAttribute="bottom" secondItem="zcH-tM-6Pm" secondAttribute="bottom" id="eNS-sV-TWI"/>
  74. <constraint firstItem="9wR-SP-Zkm" firstAttribute="leading" secondItem="sSE-Jz-j8k" secondAttribute="leading" id="er9-83-CRy"/>
  75. <constraint firstItem="zcH-tM-6Pm" firstAttribute="leading" secondItem="sSE-Jz-j8k" secondAttribute="leading" id="kKl-WM-ctU"/>
  76. <constraint firstAttribute="trailing" secondItem="zcH-tM-6Pm" secondAttribute="trailing" id="l3H-lf-Tur"/>
  77. <constraint firstAttribute="width" constant="44" id="s8k-0v-E3X"/>
  78. <constraint firstItem="zcH-tM-6Pm" firstAttribute="top" secondItem="sSE-Jz-j8k" secondAttribute="top" id="xM0-Di-QOf"/>
  79. </constraints>
  80. </view>
  81. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1h" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g9J-nS-4US">
  82. <rect key="frame" x="42" y="23" width="12.5" height="14"/>
  83. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
  84. <nil key="highlightedColor"/>
  85. </label>
  86. </subviews>
  87. <accessibility key="accessibilityConfiguration" label="Reservoir Volume">
  88. <bool key="isElement" value="YES"/>
  89. </accessibility>
  90. <constraints>
  91. <constraint firstItem="sSE-Jz-j8k" firstAttribute="top" secondItem="Fgu-h0-N6n" secondAttribute="top" constant="8" id="6WN-Ek-Oap"/>
  92. <constraint firstItem="g9J-nS-4US" firstAttribute="centerY" secondItem="sSE-Jz-j8k" secondAttribute="centerY" id="NeR-1T-w3W"/>
  93. <constraint firstItem="7G0-xU-Hfm" firstAttribute="top" secondItem="sSE-Jz-j8k" secondAttribute="bottom" constant="4" id="P5X-jo-6DP"/>
  94. <constraint firstItem="7G0-xU-Hfm" firstAttribute="leading" secondItem="Fgu-h0-N6n" secondAttribute="leading" constant="2" id="b2j-Qm-6Qv"/>
  95. <constraint firstAttribute="bottom" secondItem="7G0-xU-Hfm" secondAttribute="bottom" id="jdL-17-9Ay"/>
  96. <constraint firstItem="sSE-Jz-j8k" firstAttribute="centerX" secondItem="Fgu-h0-N6n" secondAttribute="centerX" id="wJy-gl-hZ3"/>
  97. <constraint firstAttribute="trailing" secondItem="7G0-xU-Hfm" secondAttribute="trailing" constant="2" id="xls-nE-tjt"/>
  98. <constraint firstItem="g9J-nS-4US" firstAttribute="centerX" secondItem="Fgu-h0-N6n" secondAttribute="centerX" id="yzL-VR-5rm"/>
  99. </constraints>
  100. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  101. <connections>
  102. <outlet property="alertLabel" destination="MGp-dJ-1MV" id="Nuf-Sh-0wM"/>
  103. <outlet property="backgroundRing" destination="zcH-tM-6Pm" id="pbk-sr-wSB"/>
  104. <outlet property="caption" destination="7G0-xU-Hfm" id="gzP-d7-lM6"/>
  105. <outlet property="progressRing" destination="9wR-SP-Zkm" id="LZQ-X5-6Z0"/>
  106. <outlet property="timeLabel" destination="g9J-nS-4US" id="7rv-go-9Ax"/>
  107. </connections>
  108. <point key="canvasLocation" x="-12.800000000000001" y="-136.28185907046478"/>
  109. </view>
  110. </objects>
  111. <resources>
  112. <image name="pod_life" width="44" height="44"/>
  113. <systemColor name="scrollViewTexturedBackgroundColor">
  114. <color red="0.43529411764705878" green="0.44313725490196082" blue="0.47450980392156861" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  115. </systemColor>
  116. </resources>
  117. </document>