GenreCollectionViewCell.xib 5.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" 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="14460.20"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="0xl-vS-wk4" customClass="GenreCollectionViewCell" customModule="VLC" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="261" height="50"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  19. <rect key="frame" x="0.0" y="0.0" width="261" height="50"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="CQh-8k-37l">
  23. <rect key="frame" x="5" y="5" width="40" height="40"/>
  24. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="CQh-8k-37l" secondAttribute="height" multiplier="1:1" id="A8I-aR-qlG"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vOa-BW-3T8" userLabel="Title">
  30. <rect key="frame" x="53" y="2" width="208" height="21"/>
  31. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  32. <nil key="textColor"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ar1-X1-nOK" userLabel="Number of Tracks">
  36. <rect key="frame" x="53" y="27" width="208" height="16"/>
  37. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="13"/>
  38. <nil key="textColor"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. </subviews>
  42. </view>
  43. <constraints>
  44. <constraint firstItem="ar1-X1-nOK" firstAttribute="leading" secondItem="vOa-BW-3T8" secondAttribute="leading" id="9hc-FQ-2Dn"/>
  45. <constraint firstItem="vOa-BW-3T8" firstAttribute="leading" secondItem="CQh-8k-37l" secondAttribute="trailing" constant="8" id="CB9-eT-nmE"/>
  46. <constraint firstItem="CQh-8k-37l" firstAttribute="top" secondItem="dse-0i-1qC" secondAttribute="top" constant="5" id="SHZ-2V-BGx"/>
  47. <constraint firstItem="ar1-X1-nOK" firstAttribute="trailing" secondItem="vOa-BW-3T8" secondAttribute="trailing" id="TSA-1j-hPM"/>
  48. <constraint firstItem="vOa-BW-3T8" firstAttribute="trailing" secondItem="dse-0i-1qC" secondAttribute="trailing" id="VxZ-fz-dbR"/>
  49. <constraint firstItem="CQh-8k-37l" firstAttribute="bottom" secondItem="dse-0i-1qC" secondAttribute="bottom" constant="-5" id="WJ4-tu-Two"/>
  50. <constraint firstItem="CQh-8k-37l" firstAttribute="leading" secondItem="dse-0i-1qC" secondAttribute="leading" constant="5" id="bei-Sv-jah"/>
  51. <constraint firstItem="ar1-X1-nOK" firstAttribute="top" secondItem="CQh-8k-37l" secondAttribute="centerY" constant="2" id="r9I-0d-NWF"/>
  52. <constraint firstItem="vOa-BW-3T8" firstAttribute="bottom" secondItem="CQh-8k-37l" secondAttribute="centerY" constant="-2" id="ySU-ZH-Wie"/>
  53. </constraints>
  54. <viewLayoutGuide key="safeArea" id="dse-0i-1qC"/>
  55. <size key="customSize" width="261" height="94"/>
  56. <connections>
  57. <outlet property="numberOfTracksLabel" destination="ar1-X1-nOK" id="H4P-mO-G89"/>
  58. <outlet property="thumbnailView" destination="CQh-8k-37l" id="qIb-cG-K0G"/>
  59. <outlet property="titleLabel" destination="vOa-BW-3T8" id="twv-gj-cWR"/>
  60. </connections>
  61. <point key="canvasLocation" x="628" y="110.64467766116942"/>
  62. </collectionViewCell>
  63. </objects>
  64. </document>