SearchBarView.xib 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" 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="13772"/>
  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. <view contentMode="scaleToFill" id="w4a-Xz-Bef" customClass="SearchBarView" customModule="SwiftBilibili" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="523" height="74"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="m5a-bt-tYE">
  20. <rect key="frame" x="10" y="29" width="503" height="16"/>
  21. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  22. <inset key="titleEdgeInsets" minX="10" minY="0.0" maxX="0.0" maxY="0.0"/>
  23. <state key="normal" title="搜索房间或主播" image="home_search_live">
  24. <color key="titleColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  25. </state>
  26. </button>
  27. </subviews>
  28. <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
  29. <constraints>
  30. <constraint firstItem="oSi-6a-hLC" firstAttribute="trailing" secondItem="m5a-bt-tYE" secondAttribute="trailing" constant="10" id="Pt6-f0-RBQ"/>
  31. <constraint firstItem="m5a-bt-tYE" firstAttribute="leading" secondItem="oSi-6a-hLC" secondAttribute="leading" constant="10" id="USb-C5-OBt"/>
  32. <constraint firstItem="m5a-bt-tYE" firstAttribute="centerY" secondItem="oSi-6a-hLC" secondAttribute="centerY" id="wbQ-YH-k6T"/>
  33. </constraints>
  34. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  35. <viewLayoutGuide key="safeArea" id="oSi-6a-hLC"/>
  36. <userDefinedRuntimeAttributes>
  37. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  38. <real key="value" value="6"/>
  39. </userDefinedRuntimeAttribute>
  40. </userDefinedRuntimeAttributes>
  41. <point key="canvasLocation" x="36.5" y="-302"/>
  42. </view>
  43. </objects>
  44. <resources>
  45. <image name="home_search_live" width="16" height="16"/>
  46. </resources>
  47. </document>