WidgetSpeedView.xib 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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="iN0-l3-epB" customClass="WidgetSpeedView">
  14. <rect key="frame" x="0.0" y="0.0" width="373" height="300"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xgb-CP-q8k">
  18. <rect key="frame" x="36.5" y="0.0" width="300" height="300"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="speed_background" translatesAutoresizingMaskIntoConstraints="NO" id="M3y-XL-rfN">
  21. <rect key="frame" x="0.0" y="0.0" width="300" height="300"/>
  22. </imageView>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="136" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e9W-bt-jeB">
  24. <rect key="frame" x="115.5" y="126" width="69" height="48"/>
  25. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="40"/>
  26. <nil key="textColor"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="quarter_node" translatesAutoresizingMaskIntoConstraints="NO" id="7gk-Eb-b8E">
  30. <rect key="frame" x="108" y="100" width="20" height="20"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="20" id="7Ln-ex-jSv"/>
  33. <constraint firstAttribute="width" constant="20" id="jtJ-h3-wy8"/>
  34. </constraints>
  35. </imageView>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="=" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tZK-hU-4GH">
  37. <rect key="frame" x="128" y="101.5" width="9" height="17"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  39. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. </subviews>
  43. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstItem="7gk-Eb-b8E" firstAttribute="leading" secondItem="xgb-CP-q8k" secondAttribute="leading" constant="108" id="9Z5-8o-0mh"/>
  46. <constraint firstItem="e9W-bt-jeB" firstAttribute="centerY" secondItem="xgb-CP-q8k" secondAttribute="centerY" id="Atr-A9-US6"/>
  47. <constraint firstItem="e9W-bt-jeB" firstAttribute="centerX" secondItem="xgb-CP-q8k" secondAttribute="centerX" id="B3Z-Wx-QmF"/>
  48. <constraint firstItem="tZK-hU-4GH" firstAttribute="leading" secondItem="7gk-Eb-b8E" secondAttribute="trailing" id="B9k-F1-kxz"/>
  49. <constraint firstAttribute="trailing" secondItem="M3y-XL-rfN" secondAttribute="trailing" id="Fff-ft-9mF"/>
  50. <constraint firstItem="tZK-hU-4GH" firstAttribute="centerY" secondItem="7gk-Eb-b8E" secondAttribute="centerY" id="FrH-5b-gLZ"/>
  51. <constraint firstAttribute="bottom" secondItem="M3y-XL-rfN" secondAttribute="bottom" id="ONf-RV-cOi"/>
  52. <constraint firstAttribute="height" constant="300" id="Ort-HP-5YW"/>
  53. <constraint firstItem="M3y-XL-rfN" firstAttribute="leading" secondItem="xgb-CP-q8k" secondAttribute="leading" id="bS2-Qj-cqY"/>
  54. <constraint firstItem="7gk-Eb-b8E" firstAttribute="top" secondItem="xgb-CP-q8k" secondAttribute="top" constant="100" id="k83-31-D35"/>
  55. <constraint firstAttribute="width" constant="300" id="liP-q8-rba"/>
  56. <constraint firstItem="M3y-XL-rfN" firstAttribute="top" secondItem="xgb-CP-q8k" secondAttribute="top" id="m8Z-QB-sEg"/>
  57. </constraints>
  58. </view>
  59. </subviews>
  60. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  61. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  62. <constraints>
  63. <constraint firstItem="xgb-CP-q8k" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="2Aa-Aa-9Gq"/>
  64. <constraint firstItem="xgb-CP-q8k" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="6cd-Mf-ZSX"/>
  65. </constraints>
  66. <nil key="simulatedTopBarMetrics"/>
  67. <nil key="simulatedBottomBarMetrics"/>
  68. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  69. <connections>
  70. <outlet property="bgView" destination="xgb-CP-q8k" id="991-9V-bEO"/>
  71. <outlet property="nodeImage" destination="7gk-Eb-b8E" id="WZ2-0a-Alb"/>
  72. <outlet property="speedLabel" destination="e9W-bt-jeB" id="n90-IA-ARD"/>
  73. </connections>
  74. <point key="canvasLocation" x="161.59420289855075" y="11.383928571428571"/>
  75. </view>
  76. </objects>
  77. <resources>
  78. <image name="quarter_node" width="20" height="20"/>
  79. <image name="speed_background" width="300" height="300"/>
  80. </resources>
  81. </document>