A WIP iOS app for Mastodon and Pleroma.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InstanceTableViewCell.xib 7.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15701" 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. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15703"/>
  6. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="120" id="KGk-i7-Jjw" customClass="InstanceTableViewCell" customModule="Tusker" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="320" height="120"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="120"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <stackView opaque="NO" contentMode="scaleToFill" alignment="top" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="H4g-D1-WTr">
  20. <rect key="frame" x="16" y="11" width="288" height="98"/>
  21. <subviews>
  22. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="e2C-wt-pkK">
  23. <rect key="frame" x="0.0" y="0.0" width="80" height="60"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="60" id="1HP-TQ-xFZ"/>
  26. <constraint firstAttribute="width" constant="80" id="qlF-tY-b1W"/>
  27. </constraints>
  28. </imageView>
  29. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="QG1-xB-nmt">
  30. <rect key="frame" x="88" y="0.0" width="200" height="47"/>
  31. <subviews>
  32. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="XtJ-BL-iHb">
  33. <rect key="frame" x="0.0" y="0.0" width="200" height="26.5"/>
  34. <subviews>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="domain.tld" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsLetterSpacingToFitWidth="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SjP-Nk-sSH">
  36. <rect key="frame" x="0.0" y="0.0" width="164" height="26.5"/>
  37. <fontDescription key="fontDescription" type="boldSystem" pointSize="22"/>
  38. <nil key="textColor"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="18+" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ekk-aL-7Pq">
  42. <rect key="frame" x="164" y="1.5" width="36" height="24"/>
  43. <color key="backgroundColor" systemColor="systemBlueColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="24" id="CNa-UL-LJh"/>
  46. <constraint firstAttribute="width" constant="36" id="tzn-KZ-r2f"/>
  47. </constraints>
  48. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  49. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. </subviews>
  53. </stackView>
  54. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="Instance Description" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aD6-LG-BWG" customClass="ContentLabel" customModule="Tusker" customModuleProvider="target">
  55. <rect key="frame" x="0.0" y="26.5" width="200" height="20.5"/>
  56. <accessibility key="accessibilityConfiguration">
  57. <accessibilityTraits key="traits" staticText="YES" notEnabled="YES"/>
  58. </accessibility>
  59. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  60. <nil key="textColor"/>
  61. <nil key="highlightedColor"/>
  62. </label>
  63. </subviews>
  64. </stackView>
  65. </subviews>
  66. </stackView>
  67. </subviews>
  68. <constraints>
  69. <constraint firstItem="H4g-D1-WTr" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leadingMargin" id="eJu-AI-eBw"/>
  70. <constraint firstAttribute="bottomMargin" secondItem="H4g-D1-WTr" secondAttribute="bottom" id="gIC-zx-CfT"/>
  71. <constraint firstItem="H4g-D1-WTr" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="topMargin" id="qNO-nz-Buy"/>
  72. <constraint firstAttribute="trailingMargin" secondItem="H4g-D1-WTr" secondAttribute="trailing" id="xTY-Rm-P02"/>
  73. </constraints>
  74. </tableViewCellContentView>
  75. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  76. <connections>
  77. <outlet property="adultLabel" destination="ekk-aL-7Pq" id="vzP-Gm-QF7"/>
  78. <outlet property="descriptionLabel" destination="aD6-LG-BWG" id="KNk-Gq-cDU"/>
  79. <outlet property="domainLabel" destination="SjP-Nk-sSH" id="QPQ-n6-yoK"/>
  80. <outlet property="thumbnailImageView" destination="e2C-wt-pkK" id="KeP-Xf-0Tn"/>
  81. </connections>
  82. <point key="canvasLocation" x="131.8840579710145" y="178.79464285714286"/>
  83. </tableViewCell>
  84. </objects>
  85. </document>