KSHomeButton.xib 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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_1" 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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="KSHomeButton">
  13. <rect key="frame" x="0.0" y="0.0" width="80" height="68"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="专项训练" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1ld-By-usD">
  17. <rect key="frame" x="2" y="51" width="76" height="17"/>
  18. <constraints>
  19. <constraint firstAttribute="height" constant="17" id="HmM-NJ-9X6"/>
  20. </constraints>
  21. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  22. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  23. <nil key="highlightedColor"/>
  24. </label>
  25. <button opaque="NO" tag="1003" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Z8s-SG-JhM">
  26. <rect key="frame" x="8.5" y="0.0" width="63.5" height="68"/>
  27. <constraints>
  28. <constraint firstAttribute="width" constant="63.5" id="JSo-aS-lFI"/>
  29. </constraints>
  30. </button>
  31. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fGp-yj-UZk">
  32. <rect key="frame" x="15" y="0.0" width="50" height="50"/>
  33. <constraints>
  34. <constraint firstAttribute="width" constant="50" id="a4B-wg-004"/>
  35. <constraint firstAttribute="height" constant="50" id="xmk-HE-99v"/>
  36. </constraints>
  37. </imageView>
  38. </subviews>
  39. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  40. <constraints>
  41. <constraint firstAttribute="bottom" secondItem="Z8s-SG-JhM" secondAttribute="bottom" id="3uz-SX-3Fy"/>
  42. <constraint firstItem="fGp-yj-UZk" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="6hu-0z-K7k"/>
  43. <constraint firstItem="Z8s-SG-JhM" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="QJA-gE-y6C"/>
  44. <constraint firstItem="1ld-By-usD" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="2" id="U4v-B2-GYo"/>
  45. <constraint firstItem="1ld-By-usD" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Zfj-98-cxn"/>
  46. <constraint firstAttribute="trailing" secondItem="1ld-By-usD" secondAttribute="trailing" constant="2" id="bfB-Zj-nct"/>
  47. <constraint firstItem="Z8s-SG-JhM" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="gyu-3P-I55"/>
  48. <constraint firstItem="1ld-By-usD" firstAttribute="top" secondItem="fGp-yj-UZk" secondAttribute="bottom" constant="1" id="rks-6W-iJb"/>
  49. <constraint firstItem="fGp-yj-UZk" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="t2k-gD-lM1"/>
  50. </constraints>
  51. <nil key="simulatedTopBarMetrics"/>
  52. <nil key="simulatedBottomBarMetrics"/>
  53. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  54. <connections>
  55. <outlet property="actionButton" destination="Z8s-SG-JhM" id="nuo-Py-54k"/>
  56. <outlet property="buttonImage" destination="fGp-yj-UZk" id="HYi-AM-zku"/>
  57. <outlet property="buttonTitle" destination="1ld-By-usD" id="XXN-y8-sA2"/>
  58. </connections>
  59. <point key="canvasLocation" x="46.376811594202906" y="4.3526785714285712"/>
  60. </view>
  61. </objects>
  62. </document>