NYFailSpecialExerciseCell.xib 5.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="NYFailSpecialExerciseCell">
  13. <rect key="frame" x="0.0" y="0.0" width="120" height="100"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="120" height="100"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="v4l-t6-8ZK">
  20. <rect key="frame" x="6" y="6" width="108" height="88"/>
  21. <subviews>
  22. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="扣分" translatesAutoresizingMaskIntoConstraints="NO" id="a5Q-Rq-HF8">
  23. <rect key="frame" x="39" y="16" width="30" height="30"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="30" id="1BN-bm-hOn"/>
  26. <constraint firstAttribute="width" constant="30" id="Lz5-6m-7MZ"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="扣分" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s4N-ai-wC2">
  30. <rect key="frame" x="5" y="51" width="98" height="18"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="18" id="9mQ-n6-4Y7"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  35. <color key="textColor" red="0.039215686274509803" green="0.10196078431372549" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. </subviews>
  39. <color key="backgroundColor" red="0.96862745098039216" green="0.97254901960784312" blue="0.98039215686274506" alpha="1" colorSpace="calibratedRGB"/>
  40. <constraints>
  41. <constraint firstItem="a5Q-Rq-HF8" firstAttribute="centerX" secondItem="v4l-t6-8ZK" secondAttribute="centerX" id="08S-38-BtS"/>
  42. <constraint firstAttribute="trailing" secondItem="s4N-ai-wC2" secondAttribute="trailing" constant="5" id="e2P-LL-ANb"/>
  43. <constraint firstItem="s4N-ai-wC2" firstAttribute="top" secondItem="a5Q-Rq-HF8" secondAttribute="bottom" constant="5" id="ngI-zc-dd4"/>
  44. <constraint firstItem="a5Q-Rq-HF8" firstAttribute="top" secondItem="v4l-t6-8ZK" secondAttribute="top" constant="16" id="rrc-G9-0ZD"/>
  45. <constraint firstItem="s4N-ai-wC2" firstAttribute="leading" secondItem="v4l-t6-8ZK" secondAttribute="leading" constant="5" id="sMs-Hi-BZ2"/>
  46. </constraints>
  47. <userDefinedRuntimeAttributes>
  48. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  49. <integer key="value" value="5"/>
  50. </userDefinedRuntimeAttribute>
  51. </userDefinedRuntimeAttributes>
  52. </view>
  53. </subviews>
  54. </view>
  55. <constraints>
  56. <constraint firstItem="v4l-t6-8ZK" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="6" id="Njq-Ma-Zem"/>
  57. <constraint firstItem="v4l-t6-8ZK" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="6" id="cQF-Z9-j1g"/>
  58. <constraint firstAttribute="trailing" secondItem="v4l-t6-8ZK" secondAttribute="trailing" constant="6" id="jMf-f3-eGI"/>
  59. <constraint firstAttribute="bottom" secondItem="v4l-t6-8ZK" secondAttribute="bottom" constant="6" id="t00-86-xEt"/>
  60. </constraints>
  61. <connections>
  62. <outlet property="icon_imageView" destination="a5Q-Rq-HF8" id="VTp-Xk-mbd"/>
  63. <outlet property="title_label" destination="s4N-ai-wC2" id="9nq-kf-9Hk"/>
  64. </connections>
  65. <point key="canvasLocation" x="23" y="-12"/>
  66. </collectionViewCell>
  67. </objects>
  68. <resources>
  69. <image name="扣分" width="30" height="30"/>
  70. </resources>
  71. </document>