O2StringPicker.xib 9.7 KB

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