Phone_Switch_Cell.xib 5.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" 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="18093"/>
  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. </subviews>
  36. <constraints>
  37. <constraint firstItem="evX-qc-gHA" firstAttribute="top" secondItem="Ppl-ym-uvS" secondAttribute="top" constant="-5" id="1pR-Y4-tUN"/>
  38. <constraint firstItem="Ppl-ym-uvS" firstAttribute="width" relation="lessThanOrEqual" secondItem="mc4-dx-gg3" secondAttribute="width" constant="-30" id="5dF-ff-GOk"/>
  39. <constraint firstItem="evX-qc-gHA" firstAttribute="leading" secondItem="Ppl-ym-uvS" secondAttribute="trailing" id="Kqn-oq-g9K"/>
  40. <constraint firstItem="Ppl-ym-uvS" firstAttribute="leading" secondItem="mc4-dx-gg3" secondAttribute="leading" constant="15" id="iqz-55-ATf"/>
  41. <constraint firstItem="Ppl-ym-uvS" firstAttribute="top" secondItem="mc4-dx-gg3" secondAttribute="top" constant="11" id="jm9-eF-e4x"/>
  42. <constraint firstItem="69X-PI-jlV" firstAttribute="top" secondItem="mc4-dx-gg3" secondAttribute="top" constant="40" id="prO-wh-e7w"/>
  43. <constraint firstAttribute="trailing" secondItem="69X-PI-jlV" secondAttribute="trailing" constant="10" id="wKi-fI-pqu"/>
  44. </constraints>
  45. </tableViewCellContentView>
  46. <connections>
  47. <outlet property="labelTitle" destination="Ppl-ym-uvS" id="gpN-EX-fwQ"/>
  48. <outlet property="starMark" destination="evX-qc-gHA" id="KPw-jo-gWW"/>
  49. <outlet property="switchCtrl" destination="69X-PI-jlV" id="6CI-He-97N"/>
  50. </connections>
  51. <point key="canvasLocation" x="-30" y="60"/>
  52. </tableViewCell>
  53. </objects>
  54. <resources>
  55. <systemColor name="systemPinkColor">
  56. <color red="1" green="0.17647058823529413" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  57. </systemColor>
  58. </resources>
  59. </document>