KMAdvertisementCollectionViewItem.xib 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
  5. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  6. </dependencies>
  7. <objects>
  8. <customObject id="-2" userLabel="File's Owner" customClass="KMAdvertisementCollectionViewItem" customModule="KMAdvertisement">
  9. <connections>
  10. <outlet property="contentView" destination="LdM-b2-48C" id="hxf-ZH-gmW"/>
  11. <outlet property="iconImageView" destination="EPJ-sc-6wa" id="qq0-MW-YTG"/>
  12. <outlet property="titleLabel" destination="8KY-8V-DxN" id="tt2-Pa-lKm"/>
  13. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  14. </connections>
  15. </customObject>
  16. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  17. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  18. <customView id="Hz6-mo-xeY">
  19. <rect key="frame" x="0.0" y="0.0" width="480" height="40"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  21. <subviews>
  22. <customView translatesAutoresizingMaskIntoConstraints="NO" id="LdM-b2-48C">
  23. <rect key="frame" x="8" y="0.0" width="464" height="40"/>
  24. <subviews>
  25. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="EPJ-sc-6wa">
  26. <rect key="frame" x="16" y="10" width="20" height="20"/>
  27. <constraints>
  28. <constraint firstAttribute="width" constant="20" id="Ywl-Eq-mjQ"/>
  29. <constraint firstAttribute="height" constant="20" id="hZR-Bt-Rqf"/>
  30. </constraints>
  31. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="3Et-Pz-ChQ"/>
  32. </imageView>
  33. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8KY-8V-DxN">
  34. <rect key="frame" x="42" y="12" width="37" height="16"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="16" id="Uy1-J7-rZg"/>
  37. </constraints>
  38. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="Ikm-0K-43v">
  39. <font key="font" metaFont="system"/>
  40. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  41. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  42. </textFieldCell>
  43. </textField>
  44. </subviews>
  45. <constraints>
  46. <constraint firstItem="8KY-8V-DxN" firstAttribute="centerY" secondItem="LdM-b2-48C" secondAttribute="centerY" id="QhX-B6-0Gz"/>
  47. <constraint firstItem="EPJ-sc-6wa" firstAttribute="centerY" secondItem="LdM-b2-48C" secondAttribute="centerY" id="S3d-gc-JcD"/>
  48. <constraint firstItem="8KY-8V-DxN" firstAttribute="leading" secondItem="EPJ-sc-6wa" secondAttribute="trailing" constant="8" id="WvN-xe-2DQ"/>
  49. <constraint firstItem="EPJ-sc-6wa" firstAttribute="leading" secondItem="LdM-b2-48C" secondAttribute="leading" constant="16" id="ySs-Bg-GIy"/>
  50. </constraints>
  51. </customView>
  52. </subviews>
  53. <constraints>
  54. <constraint firstItem="LdM-b2-48C" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="8" id="3Z0-5E-Ft2"/>
  55. <constraint firstAttribute="trailing" secondItem="LdM-b2-48C" secondAttribute="trailing" constant="8" id="QxU-Q6-tXm"/>
  56. <constraint firstAttribute="bottom" secondItem="LdM-b2-48C" secondAttribute="bottom" id="Yfe-zv-dSm"/>
  57. <constraint firstItem="LdM-b2-48C" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="vKN-hS-h44"/>
  58. </constraints>
  59. <point key="canvasLocation" x="157" y="45"/>
  60. </customView>
  61. </objects>
  62. </document>