HWToolListCell.xib 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="HWToolListCell" id="gTV-IL-0wX" customClass="HWToolListCell">
  14. <rect key="frame" x="0.0" y="0.0" width="103" height="101"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="103" height="101"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="tianjia_icon" translatesAutoresizingMaskIntoConstraints="NO" id="lA5-PY-LTY">
  21. <rect key="frame" x="41.5" y="32.5" width="20" height="20"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="20" id="Jik-wv-QVa"/>
  24. <constraint firstAttribute="width" constant="20" id="KCw-wG-Yj0"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="添加书签" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FVw-Tf-Nhd">
  28. <rect key="frame" x="24.5" y="62.5" width="54" height="16"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  30. <nil key="textColor"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. </subviews>
  34. </view>
  35. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  36. <constraints>
  37. <constraint firstItem="FVw-Tf-Nhd" firstAttribute="top" secondItem="lA5-PY-LTY" secondAttribute="bottom" constant="10" id="AKA-gv-KPL"/>
  38. <constraint firstItem="lA5-PY-LTY" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" constant="-8" id="RfH-W7-K98"/>
  39. <constraint firstItem="lA5-PY-LTY" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="WM0-5r-4Tg"/>
  40. <constraint firstItem="FVw-Tf-Nhd" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="xX4-zf-Lu5"/>
  41. </constraints>
  42. <size key="customSize" width="103" height="101"/>
  43. <connections>
  44. <outlet property="iconImageView" destination="lA5-PY-LTY" id="X1n-5Z-Oz6"/>
  45. <outlet property="nameLabel" destination="FVw-Tf-Nhd" id="hYu-iP-T8y"/>
  46. </connections>
  47. <point key="canvasLocation" x="176.08695652173915" y="151.00446428571428"/>
  48. </collectionViewCell>
  49. </objects>
  50. <resources>
  51. <image name="tianjia_icon" width="20" height="20"/>
  52. </resources>
  53. </document>