SBTAddDeviceCell.xib 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" 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="14490.49"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="SBTAddDeviceCell" customModule="SolarBT" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  19. <rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="VG3-iJ-HG9">
  23. <rect key="frame" x="270" y="7.5" width="30" height="29"/>
  24. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  25. <state key="normal">
  26. <color key="titleColor" red="0.16078431369999999" green="0.69019607839999997" blue="0.035294117649999998" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  27. </state>
  28. <connections>
  29. <action selector="conectAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="uBA-QP-utK"/>
  30. </connections>
  31. </button>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MPB-xX-5er">
  33. <rect key="frame" x="25" y="12" width="36" height="20"/>
  34. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
  35. <nil key="textColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. </subviews>
  39. <constraints>
  40. <constraint firstItem="MPB-xX-5er" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="5NZ-kj-Zqq"/>
  41. <constraint firstItem="VG3-iJ-HG9" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="L0w-OV-4UP"/>
  42. <constraint firstAttribute="trailing" secondItem="VG3-iJ-HG9" secondAttribute="trailing" constant="20" id="lBR-sR-GwC"/>
  43. <constraint firstItem="MPB-xX-5er" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="25" id="sqB-2b-cAb"/>
  44. </constraints>
  45. </tableViewCellContentView>
  46. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  47. <connections>
  48. <outlet property="bleNameLabel" destination="MPB-xX-5er" id="Sdj-fL-CWm"/>
  49. <outlet property="connectBtn" destination="VG3-iJ-HG9" id="hSJ-Xk-mjM"/>
  50. </connections>
  51. </tableViewCell>
  52. </objects>
  53. </document>