Phone_Switch_Cell.xib 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" 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="13173"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CommonEditorCellSwitch" rowHeight="80" id="gnL-T2-l8F" customClass="CommonEditorCellSwitch">
  15. <rect key="frame" x="0.0" y="0.0" width="768" height="80"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gnL-T2-l8F" id="mc4-dx-gg3">
  18. <rect key="frame" x="0.0" y="0.0" width="768" height="79.5"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <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">
  22. <rect key="frame" x="15" y="11" width="42" height="21"/>
  23. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  24. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  25. <nil key="highlightedColor"/>
  26. </label>
  27. <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">
  28. <rect key="frame" x="57" y="6" width="10" height="30"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="25"/>
  30. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="69X-PI-jlV">
  34. <rect key="frame" x="709" y="40" width="51" height="31"/>
  35. </switch>
  36. </subviews>
  37. <constraints>
  38. <constraint firstItem="evX-qc-gHA" firstAttribute="top" secondItem="Ppl-ym-uvS" secondAttribute="top" constant="-5" id="1pR-Y4-tUN"/>
  39. <constraint firstItem="Ppl-ym-uvS" firstAttribute="width" relation="lessThanOrEqual" secondItem="mc4-dx-gg3" secondAttribute="width" constant="-30" id="5dF-ff-GOk"/>
  40. <constraint firstItem="evX-qc-gHA" firstAttribute="leading" secondItem="Ppl-ym-uvS" secondAttribute="trailing" id="Kqn-oq-g9K"/>
  41. <constraint firstItem="Ppl-ym-uvS" firstAttribute="leading" secondItem="mc4-dx-gg3" secondAttribute="leading" constant="15" id="iqz-55-ATf"/>
  42. <constraint firstItem="Ppl-ym-uvS" firstAttribute="top" secondItem="mc4-dx-gg3" secondAttribute="top" constant="11" id="jm9-eF-e4x"/>
  43. <constraint firstItem="69X-PI-jlV" firstAttribute="top" secondItem="mc4-dx-gg3" secondAttribute="top" constant="40" id="prO-wh-e7w"/>
  44. <constraint firstAttribute="trailing" secondItem="69X-PI-jlV" secondAttribute="trailing" constant="10" id="wKi-fI-pqu"/>
  45. </constraints>
  46. </tableViewCellContentView>
  47. <connections>
  48. <outlet property="labelTitle" destination="Ppl-ym-uvS" id="gpN-EX-fwQ"/>
  49. <outlet property="starMark" destination="evX-qc-gHA" id="KPw-jo-gWW"/>
  50. <outlet property="switchCtrl" destination="69X-PI-jlV" id="6CI-He-97N"/>
  51. </connections>
  52. </tableViewCell>
  53. </objects>
  54. </document>