O2StringPicker.xib 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="O2StringPicker" customModule="O2Platform" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3A7-rs-0AU" userLabel="MainView">
  18. <rect key="frame" x="0.0" y="912" width="414" height="270"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Kaq-8v-Ylc">
  21. <rect key="frame" x="24" y="8" width="48" height="48"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="48" id="pu5-wT-fTf"/>
  24. </constraints>
  25. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  26. <state key="normal" title="取消">
  27. <color key="titleColor" systemColor="labelColor" cocoaTouchSystemColor="darkTextColor"/>
  28. </state>
  29. <connections>
  30. <action selector="cancelBtnAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="HY3-ik-FeV"/>
  31. </connections>
  32. </button>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rXb-xN-l1U">
  34. <rect key="frame" x="96" y="8" width="222" height="48"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  36. <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FNp-a0-dWc" userLabel="SplitView">
  40. <rect key="frame" x="0.0" y="64" width="414" height="1"/>
  41. <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  42. <constraints>
  43. <constraint firstAttribute="height" constant="1" id="SFj-0T-7ul"/>
  44. </constraints>
  45. </view>
  46. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vfI-v2-Lba">
  47. <rect key="frame" x="342" y="8" width="48" height="48"/>
  48. <constraints>
  49. <constraint firstAttribute="width" constant="48" id="c1l-S5-QYd"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  52. <state key="normal" title="确定">
  53. <color key="titleColor" systemColor="labelColor" cocoaTouchSystemColor="darkTextColor"/>
  54. </state>
  55. <connections>
  56. <action selector="okBtnAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="fPe-wf-ocR"/>
  57. </connections>
  58. </button>
  59. <pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TN6-BB-tsr">
  60. <rect key="frame" x="0.0" y="65" width="414" height="205"/>
  61. </pickerView>
  62. </subviews>
  63. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  64. <constraints>
  65. <constraint firstAttribute="trailing" secondItem="TN6-BB-tsr" secondAttribute="trailing" id="5tN-Oi-BJo"/>
  66. <constraint firstItem="vfI-v2-Lba" firstAttribute="top" secondItem="3A7-rs-0AU" secondAttribute="top" constant="8" id="7Ey-CR-C5c"/>
  67. <constraint firstItem="vfI-v2-Lba" firstAttribute="leading" secondItem="rXb-xN-l1U" secondAttribute="trailing" constant="24" id="AFG-Lp-sND"/>
  68. <constraint firstItem="FNp-a0-dWc" firstAttribute="top" secondItem="3A7-rs-0AU" secondAttribute="top" constant="64" id="FIk-CB-7Ys"/>
  69. <constraint firstItem="FNp-a0-dWc" firstAttribute="top" secondItem="Kaq-8v-Ylc" secondAttribute="bottom" constant="8" id="G5k-l9-2Yi"/>
  70. <constraint firstAttribute="height" constant="270" id="NiP-Tw-Lsy"/>
  71. <constraint firstAttribute="bottom" secondItem="TN6-BB-tsr" secondAttribute="bottom" id="PBa-G0-kd2"/>
  72. <constraint firstItem="FNp-a0-dWc" firstAttribute="top" secondItem="vfI-v2-Lba" secondAttribute="bottom" constant="8" id="QLq-Mz-ZAG"/>
  73. <constraint firstItem="rXb-xN-l1U" firstAttribute="top" secondItem="3A7-rs-0AU" secondAttribute="top" constant="8" id="TYI-UU-uWx"/>
  74. <constraint firstAttribute="trailing" secondItem="FNp-a0-dWc" secondAttribute="trailing" id="YDG-f5-Zw6"/>
  75. <constraint firstItem="Kaq-8v-Ylc" firstAttribute="leading" secondItem="3A7-rs-0AU" secondAttribute="leading" constant="24" id="aH6-YP-1aH"/>
  76. <constraint firstItem="Kaq-8v-Ylc" firstAttribute="top" secondItem="3A7-rs-0AU" secondAttribute="top" constant="8" id="aV4-b3-HJO"/>
  77. <constraint firstAttribute="trailing" secondItem="vfI-v2-Lba" secondAttribute="trailing" constant="24" id="de7-PG-NlB"/>
  78. <constraint firstItem="FNp-a0-dWc" firstAttribute="top" secondItem="rXb-xN-l1U" secondAttribute="bottom" constant="8" id="fcW-vg-Ri6"/>
  79. <constraint firstItem="TN6-BB-tsr" firstAttribute="leading" secondItem="3A7-rs-0AU" secondAttribute="leading" id="gkV-uQ-5xn"/>
  80. <constraint firstItem="FNp-a0-dWc" firstAttribute="leading" secondItem="3A7-rs-0AU" secondAttribute="leading" id="go6-MS-8Q1"/>
  81. <constraint firstItem="rXb-xN-l1U" firstAttribute="leading" secondItem="Kaq-8v-Ylc" secondAttribute="trailing" constant="24" id="mRV-jM-IRH"/>
  82. <constraint firstItem="TN6-BB-tsr" firstAttribute="top" secondItem="FNp-a0-dWc" secondAttribute="bottom" id="o2z-yS-SIc"/>
  83. </constraints>
  84. </view>
  85. </subviews>
  86. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.40164811643835618" colorSpace="custom" customColorSpace="displayP3"/>
  87. <constraints>
  88. <constraint firstItem="3A7-rs-0AU" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="C9J-Ep-twg"/>
  89. <constraint firstAttribute="trailing" secondItem="3A7-rs-0AU" secondAttribute="trailing" id="Wcp-GX-rAZ"/>
  90. <constraint firstItem="3A7-rs-0AU" firstAttribute="bottom" secondItem="vUN-kp-3ea" secondAttribute="bottom" constant="320" id="pOe-Sv-tko"/>
  91. </constraints>
  92. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  93. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  94. <connections>
  95. <outlet property="mainView" destination="3A7-rs-0AU" id="2c0-FU-vly"/>
  96. <outlet property="mainViewBottomLayout" destination="pOe-Sv-tko" id="j2d-2I-Off"/>
  97. <outlet property="pickerView" destination="TN6-BB-tsr" id="xyq-dD-Rx0"/>
  98. <outlet property="titleLabel" destination="rXb-xN-l1U" id="Fz8-Fp-X3Z"/>
  99. </connections>
  100. <point key="canvasLocation" x="131.8840579710145" y="152.67857142857142"/>
  101. </view>
  102. </objects>
  103. </document>