NumberEditText.xib 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" 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="17703"/>
  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="LYB" customModuleProvider="target">
  12. <connections>
  13. <outlet property="addBtn" destination="aWz-wl-ObB" id="ABg-uC-xHn"/>
  14. <outlet property="containerView" destination="iN0-l3-epB" id="EmQ-oK-TNk"/>
  15. <outlet property="minusBtn" destination="xJe-dy-UFG" id="sDG-dB-zf0"/>
  16. <outlet property="numberField" destination="qPR-PI-lbw" id="NEc-ii-9Nu"/>
  17. </connections>
  18. </placeholder>
  19. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  20. <view contentMode="scaleToFill" id="iN0-l3-epB">
  21. <rect key="frame" x="0.0" y="0.0" width="414" height="60"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="M0d-xy-Enp">
  25. <rect key="frame" x="0.0" y="22" width="414" height="60"/>
  26. <subviews>
  27. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xJe-dy-UFG">
  28. <rect key="frame" x="0.0" y="0.0" width="35" height="60"/>
  29. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="35" id="djW-p4-TQh"/>
  32. </constraints>
  33. <state key="normal" backgroundImage="sub_unenable">
  34. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. </state>
  36. <connections>
  37. <action selector="onButtonPressed:" destination="-1" eventType="touchUpInside" id="ZDp-uF-eDu"/>
  38. </connections>
  39. </button>
  40. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="qPR-PI-lbw" customClass="IBTextField" customModule="LYB" customModuleProvider="target">
  41. <rect key="frame" x="35" y="0.0" width="344" height="60"/>
  42. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  43. <color key="textColor" red="0.20000000000000001" green="0.51764705879999995" blue="0.95294117649999999" alpha="1" colorSpace="calibratedRGB"/>
  44. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  45. <textInputTraits key="textInputTraits" keyboardType="decimalPad"/>
  46. <connections>
  47. <outlet property="delegate" destination="-1" id="rh8-LB-bOU"/>
  48. </connections>
  49. </textField>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aWz-wl-ObB">
  51. <rect key="frame" x="379" y="0.0" width="35" height="60"/>
  52. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="35" id="Djf-Ke-PSy"/>
  55. </constraints>
  56. <state key="normal" backgroundImage="add_unenable">
  57. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  58. </state>
  59. <connections>
  60. <action selector="onButtonPressed:" destination="-1" eventType="touchUpInside" id="jDm-6h-LH9"/>
  61. </connections>
  62. </button>
  63. </subviews>
  64. </stackView>
  65. </subviews>
  66. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  67. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. <constraints>
  69. <constraint firstItem="M0d-xy-Enp" firstAttribute="centerX" secondItem="vUN-kp-3ea" secondAttribute="centerX" id="AjQ-Fd-Euw"/>
  70. <constraint firstItem="M0d-xy-Enp" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" id="MM9-0u-pQa"/>
  71. <constraint firstItem="M0d-xy-Enp" firstAttribute="height" secondItem="iN0-l3-epB" secondAttribute="height" id="WuT-ge-Nq7"/>
  72. <constraint firstItem="M0d-xy-Enp" firstAttribute="centerY" secondItem="vUN-kp-3ea" secondAttribute="centerY" id="dQN-yN-13v"/>
  73. </constraints>
  74. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  75. <point key="canvasLocation" x="-419" y="100"/>
  76. </view>
  77. </objects>
  78. <designables>
  79. <designable name="qPR-PI-lbw">
  80. <size key="intrinsicContentSize" width="5" height="23"/>
  81. </designable>
  82. </designables>
  83. <resources>
  84. <image name="add_unenable" width="12" height="12"/>
  85. <image name="sub_unenable" width="12" height="12"/>
  86. </resources>
  87. </document>