Phone_Switch_Cell.xib 6.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CommonEditorCellSwitch" rowHeight="80" id="gnL-T2-l8F" customClass="CommonEditorCellSwitch">
  14. <rect key="frame" x="0.0" y="0.0" width="768" height="80"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gnL-T2-l8F" id="mc4-dx-gg3">
  17. <rect key="frame" x="0.0" y="0.0" width="768" height="80"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ppl-ym-uvS">
  21. <rect key="frame" x="15" y="11" width="42" height="21"/>
  22. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  23. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="evX-qc-gHA">
  27. <rect key="frame" x="57" y="6" width="10" height="30"/>
  28. <fontDescription key="fontDescription" type="system" pointSize="25"/>
  29. <color key="textColor" systemColor="systemPinkColor"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="69X-PI-jlV">
  33. <rect key="frame" x="709" y="40" width="51" height="31"/>
  34. </switch>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gcL-Te-pNl">
  36. <rect key="frame" x="15" y="48" width="686" height="21"/>
  37. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  39. <nil key="textColor"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. </subviews>
  43. <constraints>
  44. <constraint firstItem="evX-qc-gHA" firstAttribute="top" secondItem="Ppl-ym-uvS" secondAttribute="top" constant="-5" id="1pR-Y4-tUN"/>
  45. <constraint firstItem="Ppl-ym-uvS" firstAttribute="width" relation="lessThanOrEqual" secondItem="mc4-dx-gg3" secondAttribute="width" constant="-30" id="5dF-ff-GOk"/>
  46. <constraint firstItem="evX-qc-gHA" firstAttribute="leading" secondItem="Ppl-ym-uvS" secondAttribute="trailing" id="Kqn-oq-g9K"/>
  47. <constraint firstItem="Ppl-ym-uvS" firstAttribute="leading" secondItem="mc4-dx-gg3" secondAttribute="leading" constant="15" id="iqz-55-ATf"/>
  48. <constraint firstItem="Ppl-ym-uvS" firstAttribute="top" secondItem="mc4-dx-gg3" secondAttribute="top" constant="11" id="jm9-eF-e4x"/>
  49. <constraint firstItem="69X-PI-jlV" firstAttribute="top" secondItem="mc4-dx-gg3" secondAttribute="top" constant="40" id="prO-wh-e7w"/>
  50. <constraint firstAttribute="trailing" secondItem="69X-PI-jlV" secondAttribute="trailing" constant="10" id="wKi-fI-pqu"/>
  51. </constraints>
  52. </tableViewCellContentView>
  53. <connections>
  54. <outlet property="labelDesc" destination="gcL-Te-pNl" id="FZ9-RJ-8eQ"/>
  55. <outlet property="labelTitle" destination="Ppl-ym-uvS" id="gpN-EX-fwQ"/>
  56. <outlet property="starMark" destination="evX-qc-gHA" id="KPw-jo-gWW"/>
  57. <outlet property="switchCtrl" destination="69X-PI-jlV" id="6CI-He-97N"/>
  58. </connections>
  59. <point key="canvasLocation" x="-30.399999999999999" y="59.370314842578715"/>
  60. </tableViewCell>
  61. </objects>
  62. <resources>
  63. <systemColor name="systemPinkColor">
  64. <color red="1" green="0.17647058823529413" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  65. </systemColor>
  66. </resources>
  67. </document>