iPadCommonEditorCellSwitch.xib 5.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="ipad9_7" orientation="portrait" layout="fullscreen" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15509"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="CommonEditorCellSwitch" rowHeight="44" id="ThR-kK-gie" customClass="CommonEditorCellSwitch">
  13. <rect key="frame" x="0.0" y="0.0" width="768" height="44"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="ThR-kK-gie" id="w7g-IY-pIg">
  16. <rect key="frame" x="0.0" y="0.0" width="768" height="44"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1yb-aG-D0d">
  20. <rect key="frame" x="15" y="11" width="681" height="22"/>
  21. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  22. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  23. <nil key="highlightedColor"/>
  24. </label>
  25. <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Klu-0H-fjS">
  26. <rect key="frame" x="704" y="6" width="51" height="32"/>
  27. </switch>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="*" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iie-Ve-kmY">
  29. <rect key="frame" x="5" y="11" width="10" height="22"/>
  30. <fontDescription key="fontDescription" type="system" pointSize="25"/>
  31. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. </subviews>
  35. <constraints>
  36. <constraint firstItem="1yb-aG-D0d" firstAttribute="centerY" secondItem="w7g-IY-pIg" secondAttribute="centerY" id="5Nl-ag-FQ8"/>
  37. <constraint firstAttribute="trailing" secondItem="Klu-0H-fjS" secondAttribute="trailing" constant="15" id="HPg-0e-qek"/>
  38. <constraint firstItem="1yb-aG-D0d" firstAttribute="top" secondItem="w7g-IY-pIg" secondAttribute="topMargin" id="bqZ-JP-SJb"/>
  39. <constraint firstItem="1yb-aG-D0d" firstAttribute="leading" secondItem="iie-Ve-kmY" secondAttribute="trailing" id="dNc-Vw-Pdt"/>
  40. <constraint firstItem="iie-Ve-kmY" firstAttribute="centerY" secondItem="w7g-IY-pIg" secondAttribute="centerY" id="ewW-IE-021"/>
  41. <constraint firstItem="Klu-0H-fjS" firstAttribute="leading" secondItem="1yb-aG-D0d" secondAttribute="trailing" constant="8" id="kaE-ZB-B1z"/>
  42. <constraint firstItem="Klu-0H-fjS" firstAttribute="top" secondItem="w7g-IY-pIg" secondAttribute="topMargin" constant="-5" id="tij-zb-9oh"/>
  43. <constraint firstItem="iie-Ve-kmY" firstAttribute="baseline" secondItem="1yb-aG-D0d" secondAttribute="firstBaseline" id="vGk-6e-FDY"/>
  44. <constraint firstItem="1yb-aG-D0d" firstAttribute="centerY" secondItem="Klu-0H-fjS" secondAttribute="centerY" id="vQx-eN-LHo"/>
  45. <constraint firstItem="1yb-aG-D0d" firstAttribute="leading" secondItem="w7g-IY-pIg" secondAttribute="leadingMargin" id="wlK-BP-fb6"/>
  46. </constraints>
  47. </tableViewCellContentView>
  48. <connections>
  49. <outlet property="labelTitle" destination="1yb-aG-D0d" id="UpQ-T5-o9I"/>
  50. <outlet property="starMark" destination="iie-Ve-kmY" id="g2j-ed-bES"/>
  51. <outlet property="switchCtrl" destination="Klu-0H-fjS" id="FQ0-Oj-Ytj"/>
  52. </connections>
  53. <point key="canvasLocation" x="130" y="192"/>
  54. </tableViewCell>
  55. </objects>
  56. </document>