BallotHeaderView.xib 8.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="BallotHeaderView">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="72"/>
  17. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kjL-ta-xP1">
  20. <rect key="frame" x="0.0" y="0.0" width="320" height="71"/>
  21. <subviews>
  22. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="xBallot Name" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="m3k-Ak-Bbb">
  23. <rect key="frame" x="8" y="25.5" width="304" height="20.5"/>
  24. <fontDescription key="fontDescription" style="UICTFontTextStyleHeadline"/>
  25. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. </subviews>
  29. <color key="backgroundColor" red="0.96159905195236206" green="0.96159905195236206" blue="0.96159905195236206" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  30. <constraints>
  31. <constraint firstItem="m3k-Ak-Bbb" firstAttribute="leading" secondItem="kjL-ta-xP1" secondAttribute="leadingMargin" id="Vlc-7S-PdL"/>
  32. <constraint firstAttribute="trailingMargin" secondItem="m3k-Ak-Bbb" secondAttribute="trailing" id="sUa-Ny-jca"/>
  33. <constraint firstItem="m3k-Ak-Bbb" firstAttribute="centerY" secondItem="kjL-ta-xP1" secondAttribute="centerY" id="yLJ-8Q-Er0"/>
  34. </constraints>
  35. </view>
  36. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RsH-x1-Xfq">
  37. <rect key="frame" x="320" y="0.0" width="200" height="71"/>
  38. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" heightSizable="YES"/>
  39. <subviews>
  40. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" fixedFrame="YES" image="UnknownPerson" translatesAutoresizingMaskIntoConstraints="NO" id="1h9-Iz-idj">
  41. <rect key="frame" x="10" y="8" width="56" height="56"/>
  42. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  43. </imageView>
  44. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="xName" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8C3-kc-PNf">
  45. <rect key="frame" x="76" y="11" width="116" height="17"/>
  46. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  47. <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
  48. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="xDate" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="mHg-ph-LeD">
  52. <rect key="frame" x="76" y="46.5" width="116" height="14.5"/>
  53. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  54. <fontDescription key="fontDescription" style="UICTFontTextStyleCaption1"/>
  55. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  56. <nil key="highlightedColor"/>
  57. </label>
  58. </subviews>
  59. <color key="backgroundColor" red="0.39824643342391308" green="0.39824643342391308" blue="0.39824643342391308" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  60. </view>
  61. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bk1-aS-nO3">
  62. <rect key="frame" x="0.0" y="71" width="320" height="1"/>
  63. <color key="backgroundColor" red="0.73699933290481567" green="0.73166358470916748" blue="0.75551497936248779" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="1" id="erO-TA-VCy"/>
  66. </constraints>
  67. </view>
  68. </subviews>
  69. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  70. <constraints>
  71. <constraint firstItem="bk1-aS-nO3" firstAttribute="top" secondItem="kjL-ta-xP1" secondAttribute="bottom" id="0aQ-BA-UcX"/>
  72. <constraint firstItem="bk1-aS-nO3" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="AqU-PH-xNx"/>
  73. <constraint firstItem="kjL-ta-xP1" firstAttribute="leading" secondItem="tLB-zA-zTt" secondAttribute="leading" id="KCq-Yc-QbA"/>
  74. <constraint firstAttribute="trailing" secondItem="kjL-ta-xP1" secondAttribute="trailing" id="O9s-tW-Baz"/>
  75. <constraint firstItem="kjL-ta-xP1" firstAttribute="top" secondItem="tLB-zA-zTt" secondAttribute="top" id="gOF-Sb-ccd"/>
  76. <constraint firstAttribute="trailing" secondItem="bk1-aS-nO3" secondAttribute="trailing" id="wTY-kI-l1E"/>
  77. <constraint firstItem="bk1-aS-nO3" firstAttribute="bottom" secondItem="tLB-zA-zTt" secondAttribute="bottom" id="yXp-ht-51c"/>
  78. </constraints>
  79. <nil key="simulatedStatusBarMetrics"/>
  80. <nil key="simulatedTopBarMetrics"/>
  81. <nil key="simulatedBottomBarMetrics"/>
  82. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  83. <viewLayoutGuide key="safeArea" id="tLB-zA-zTt"/>
  84. <connections>
  85. <outlet property="accessoryView" destination="RsH-x1-Xfq" id="cMm-qT-IRW"/>
  86. <outlet property="createdByNameLabel" destination="8C3-kc-PNf" id="7Ex-X8-gKR"/>
  87. <outlet property="dateLabel" destination="mHg-ph-LeD" id="yu8-PZ-utc"/>
  88. <outlet property="imageView" destination="1h9-Iz-idj" id="wx9-cl-M3p"/>
  89. <outlet property="mainView" destination="kjL-ta-xP1" id="TB6-Z1-bUA"/>
  90. <outlet property="titleLabel" destination="m3k-Ak-Bbb" id="fVD-oJ-aCX"/>
  91. </connections>
  92. <point key="canvasLocation" x="218" y="310"/>
  93. </view>
  94. </objects>
  95. <resources>
  96. <image name="UnknownPerson" width="56" height="56"/>
  97. </resources>
  98. </document>