ReplaceFoodView.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
  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. <view contentMode="scaleToFill" id="Mmv-MA-0RE" customClass="ReplaceFoodView" customModule="ADHTuanCan" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <subviews>
  17. <view alpha="0.29999999999999999" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2CY-vX-pwU">
  18. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  19. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  20. </view>
  21. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dFe-8m-xwN">
  22. <rect key="frame" x="25" y="214.66666666666663" width="343" height="423"/>
  23. <subviews>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="替换菜品" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0hw-GK-UDD">
  25. <rect key="frame" x="25.000000000000007" y="25" width="81.666666666666686" height="24"/>
  26. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="20"/>
  27. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="对早餐“海鲜大杂烩”进行替换" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pyq-PF-Zdx">
  31. <rect key="frame" x="25" y="54.000000000000028" width="293" height="18"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  33. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="hRf-dT-hxS">
  37. <rect key="frame" x="0.0" y="82.000000000000028" width="343" height="283"/>
  38. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="283" id="ZgH-vv-OhM"/>
  41. </constraints>
  42. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="ob5-wi-ib5">
  43. <size key="itemSize" width="128" height="128"/>
  44. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  45. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  46. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  47. </collectionViewFlowLayout>
  48. <userDefinedRuntimeAttributes>
  49. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  50. <real key="value" value="24"/>
  51. </userDefinedRuntimeAttribute>
  52. </userDefinedRuntimeAttributes>
  53. <connections>
  54. <outlet property="dataSource" destination="Mmv-MA-0RE" id="TmJ-tJ-mZI"/>
  55. <outlet property="delegate" destination="Mmv-MA-0RE" id="Cyt-Jy-goy"/>
  56. </connections>
  57. </collectionView>
  58. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eKq-qF-XZC">
  59. <rect key="frame" x="258" y="380" width="60" height="29"/>
  60. <constraints>
  61. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="N0P-5K-59w"/>
  62. </constraints>
  63. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  64. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  65. <state key="normal" title="确认">
  66. <color key="titleColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  67. </state>
  68. <connections>
  69. <action selector="makeSureAction:" destination="Mmv-MA-0RE" eventType="touchUpInside" id="Pcf-qM-pQT"/>
  70. </connections>
  71. </button>
  72. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0Bt-6g-g0w">
  73. <rect key="frame" x="188" y="380" width="60" height="29"/>
  74. <constraints>
  75. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="60" id="F77-Al-bn5"/>
  76. </constraints>
  77. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  78. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  79. <state key="normal" title="取消">
  80. <color key="titleColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  81. </state>
  82. <connections>
  83. <action selector="cancelActiom:" destination="Mmv-MA-0RE" eventType="touchUpInside" id="Lqg-Ym-RrV"/>
  84. </connections>
  85. </button>
  86. </subviews>
  87. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  88. <constraints>
  89. <constraint firstItem="eKq-qF-XZC" firstAttribute="top" secondItem="hRf-dT-hxS" secondAttribute="bottom" constant="15" id="3Lt-Tw-6X6"/>
  90. <constraint firstAttribute="bottom" secondItem="hRf-dT-hxS" secondAttribute="bottom" constant="58" id="DYi-v1-fny"/>
  91. <constraint firstItem="hRf-dT-hxS" firstAttribute="leading" secondItem="dFe-8m-xwN" secondAttribute="leading" id="Op3-88-xSn"/>
  92. <constraint firstItem="Pyq-PF-Zdx" firstAttribute="top" secondItem="0hw-GK-UDD" secondAttribute="bottom" constant="5" id="RRy-U9-eUp"/>
  93. <constraint firstItem="0hw-GK-UDD" firstAttribute="top" secondItem="dFe-8m-xwN" secondAttribute="top" constant="25" id="Y3r-fn-Up7"/>
  94. <constraint firstItem="Pyq-PF-Zdx" firstAttribute="leading" secondItem="dFe-8m-xwN" secondAttribute="leading" constant="25" id="ZUd-kC-Wjl"/>
  95. <constraint firstItem="eKq-qF-XZC" firstAttribute="leading" secondItem="0Bt-6g-g0w" secondAttribute="trailing" constant="10" id="cPD-Tw-1Pa"/>
  96. <constraint firstAttribute="trailing" secondItem="Pyq-PF-Zdx" secondAttribute="trailing" constant="25" id="kmZ-TR-xfQ"/>
  97. <constraint firstItem="0hw-GK-UDD" firstAttribute="leading" secondItem="dFe-8m-xwN" secondAttribute="leading" constant="25" id="lt9-k2-baZ"/>
  98. <constraint firstItem="hRf-dT-hxS" firstAttribute="top" secondItem="Pyq-PF-Zdx" secondAttribute="bottom" constant="10" id="nZP-DN-eOc"/>
  99. <constraint firstAttribute="trailing" secondItem="hRf-dT-hxS" secondAttribute="trailing" id="r4h-Z8-0Xv"/>
  100. <constraint firstAttribute="trailing" secondItem="eKq-qF-XZC" secondAttribute="trailing" constant="25" id="uRd-au-lYk"/>
  101. <constraint firstItem="0Bt-6g-g0w" firstAttribute="centerY" secondItem="eKq-qF-XZC" secondAttribute="centerY" id="weO-iM-UMB"/>
  102. </constraints>
  103. <userDefinedRuntimeAttributes>
  104. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  105. <real key="value" value="24"/>
  106. </userDefinedRuntimeAttribute>
  107. </userDefinedRuntimeAttributes>
  108. </view>
  109. </subviews>
  110. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  111. <constraints>
  112. <constraint firstItem="dFe-8m-xwN" firstAttribute="leading" secondItem="Mmv-MA-0RE" secondAttribute="leading" constant="25" id="0Ef-CU-P2y"/>
  113. <constraint firstAttribute="trailing" secondItem="dFe-8m-xwN" secondAttribute="trailing" constant="25" id="3IE-Bh-fEd"/>
  114. <constraint firstAttribute="bottom" secondItem="2CY-vX-pwU" secondAttribute="bottom" id="6QS-1Y-pIA"/>
  115. <constraint firstItem="2CY-vX-pwU" firstAttribute="top" secondItem="Mmv-MA-0RE" secondAttribute="top" id="8I3-8n-Le4"/>
  116. <constraint firstItem="dFe-8m-xwN" firstAttribute="centerX" secondItem="Mmv-MA-0RE" secondAttribute="centerX" id="LNk-yI-9HM"/>
  117. <constraint firstItem="dFe-8m-xwN" firstAttribute="centerY" secondItem="Mmv-MA-0RE" secondAttribute="centerY" id="THB-G5-7d3"/>
  118. <constraint firstAttribute="trailing" secondItem="2CY-vX-pwU" secondAttribute="trailing" id="X3X-2f-RS5"/>
  119. <constraint firstItem="2CY-vX-pwU" firstAttribute="leading" secondItem="Mmv-MA-0RE" secondAttribute="leading" id="pcc-5b-F5H"/>
  120. </constraints>
  121. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  122. <connections>
  123. <outlet property="blackView" destination="2CY-vX-pwU" id="ZHw-iX-1eK"/>
  124. <outlet property="collectView" destination="hRf-dT-hxS" id="mHG-wG-tol"/>
  125. <outlet property="collectionViewH" destination="ZgH-vv-OhM" id="eTo-Rg-B3S"/>
  126. <outlet property="titleLab" destination="Pyq-PF-Zdx" id="LTf-c7-HTm"/>
  127. </connections>
  128. <point key="canvasLocation" x="227" y="-12"/>
  129. </view>
  130. </objects>
  131. <resources>
  132. <systemColor name="systemBackgroundColor">
  133. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  134. </systemColor>
  135. </resources>
  136. </document>