NumberEditText.xib 6.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
  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" customClass="IBNumberEditText" customModule="光辉国际" customModuleProvider="target">
  12. <connections>
  13. <outlet property="addBtn" destination="TZD-fd-vyv" id="lkG-o3-UXN"/>
  14. <outlet property="containerView" destination="cP2-6W-du1" id="cg2-1O-Xj6"/>
  15. <outlet property="minusBtn" destination="la2-4m-1cT" id="Bs0-D4-W8o"/>
  16. <outlet property="numberField" destination="eee-6H-hWO" id="gqz-5y-U1V"/>
  17. <outlet property="titleLabel" destination="MWK-nf-8wR" id="kkS-6v-swc"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view contentMode="scaleToFill" id="cP2-6W-du1" userLabel="ContentView">
  22. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  23. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  24. <subviews>
  25. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="0OQ-an-mhO">
  26. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  27. <subviews>
  28. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="la2-4m-1cT">
  29. <rect key="frame" x="0.0" y="0.0" width="37" height="667"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="37" id="1My-z0-SpT"/>
  32. </constraints>
  33. <state key="normal" backgroundImage="subtract"/>
  34. <connections>
  35. <action selector="onButtonPressed:" destination="-1" eventType="touchUpInside" id="jrR-d4-YcK"/>
  36. </connections>
  37. </button>
  38. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="eee-6H-hWO" customClass="IBTextField" customModule="光辉国际" customModuleProvider="target">
  39. <rect key="frame" x="47" y="0.0" width="281" height="667"/>
  40. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  42. <textInputTraits key="textInputTraits"/>
  43. <connections>
  44. <outlet property="delegate" destination="-1" id="wJM-tf-FJN"/>
  45. </connections>
  46. </textField>
  47. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="TZD-fd-vyv">
  48. <rect key="frame" x="338" y="0.0" width="37" height="667"/>
  49. <constraints>
  50. <constraint firstAttribute="width" constant="37" id="7WN-bq-RsB"/>
  51. </constraints>
  52. <state key="normal" backgroundImage="add"/>
  53. <connections>
  54. <action selector="onButtonPressed:" destination="-1" eventType="touchUpInside" id="1Cq-fx-msY"/>
  55. </connections>
  56. </button>
  57. </subviews>
  58. </stackView>
  59. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MWK-nf-8wR">
  60. <rect key="frame" x="47" y="0.0" width="281" height="667"/>
  61. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  62. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  63. <nil key="highlightedColor"/>
  64. </label>
  65. </subviews>
  66. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  67. <constraints>
  68. <constraint firstItem="0OQ-an-mhO" firstAttribute="top" secondItem="DtX-Rp-7uE" secondAttribute="top" id="2nd-NC-Wx6"/>
  69. <constraint firstItem="MWK-nf-8wR" firstAttribute="centerY" secondItem="eee-6H-hWO" secondAttribute="centerY" id="T5h-iP-K5e"/>
  70. <constraint firstItem="MWK-nf-8wR" firstAttribute="height" secondItem="eee-6H-hWO" secondAttribute="height" id="cSd-FK-U3B"/>
  71. <constraint firstItem="0OQ-an-mhO" firstAttribute="bottom" secondItem="DtX-Rp-7uE" secondAttribute="bottom" id="caf-ha-zzl"/>
  72. <constraint firstItem="MWK-nf-8wR" firstAttribute="centerX" secondItem="eee-6H-hWO" secondAttribute="centerX" id="iFP-9j-12n"/>
  73. <constraint firstItem="0OQ-an-mhO" firstAttribute="leading" secondItem="DtX-Rp-7uE" secondAttribute="leading" id="oy2-gV-iqu"/>
  74. <constraint firstItem="MWK-nf-8wR" firstAttribute="width" secondItem="eee-6H-hWO" secondAttribute="width" id="sG3-Nz-NdP"/>
  75. <constraint firstItem="0OQ-an-mhO" firstAttribute="trailing" secondItem="DtX-Rp-7uE" secondAttribute="trailing" id="taW-c5-thU"/>
  76. </constraints>
  77. <viewLayoutGuide key="safeArea" id="DtX-Rp-7uE"/>
  78. <point key="canvasLocation" x="31" y="296"/>
  79. </view>
  80. </objects>
  81. <resources>
  82. <image name="add" width="43" height="43"/>
  83. <image name="subtract" width="43" height="43"/>
  84. </resources>
  85. </document>