Advertisement
Don_Mag

NumberPad xib source

Jul 3rd, 2022
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" 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. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="20020"/>
  6. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  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="w35-oq-szw">
  14. <rect key="frame" x="0.0" y="0.0" width="745" height="531"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <visualEffectView opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="req-q9-lx2">
  18. <rect key="frame" x="0.0" y="0.0" width="745" height="531"/>
  19. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="d1H-9Q-j7P">
  20. <rect key="frame" x="0.0" y="0.0" width="745" height="531"/>
  21. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  22. <subviews>
  23. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="sSl-mz-1DQ">
  24. <rect key="frame" x="10" y="0.0" width="725" height="531"/>
  25. <subviews>
  26. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="fGC-p9-L4U">
  27. <rect key="frame" x="0.0" y="0.0" width="725" height="125.5"/>
  28. <subviews>
  29. <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1fo-rx-txj">
  30. <rect key="frame" x="0.0" y="0.0" width="137" height="125.5"/>
  31. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  32. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  33. <state key="normal" title="Button"/>
  34. <buttonConfiguration key="configuration" style="plain" title="7">
  35. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  36. </buttonConfiguration>
  37. </button>
  38. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JkP-z1-kBt">
  39. <rect key="frame" x="147" y="0.0" width="137" height="125.5"/>
  40. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  42. <state key="normal" title="Button"/>
  43. <buttonConfiguration key="configuration" style="plain" title="8">
  44. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  45. </buttonConfiguration>
  46. </button>
  47. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aA8-sE-uyJ">
  48. <rect key="frame" x="294" y="0.0" width="137" height="125.5"/>
  49. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  50. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  51. <state key="normal" title="Button"/>
  52. <buttonConfiguration key="configuration" style="plain" title="9">
  53. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  54. </buttonConfiguration>
  55. </button>
  56. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JdT-jT-0wO">
  57. <rect key="frame" x="441" y="0.0" width="137" height="125.5"/>
  58. <color key="backgroundColor" red="0.97410839800000004" green="0.8403052688" blue="0.2821659446" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  59. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  60. <state key="normal" title="Button"/>
  61. <buttonConfiguration key="configuration" style="plain" title="C">
  62. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  63. </buttonConfiguration>
  64. </button>
  65. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MqJ-SJ-vgm">
  66. <rect key="frame" x="588" y="0.0" width="137" height="125.5"/>
  67. <color key="backgroundColor" red="0.97410839800000004" green="0.8403052688" blue="0.2821659446" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  68. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <state key="normal" title="Button"/>
  70. <buttonConfiguration key="configuration" style="plain" title="^">
  71. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  72. </buttonConfiguration>
  73. </button>
  74. </subviews>
  75. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  76. </stackView>
  77. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="ryL-j9-8Gp">
  78. <rect key="frame" x="0.0" y="135.5" width="725" height="125"/>
  79. <subviews>
  80. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ATt-PW-v4y">
  81. <rect key="frame" x="0.0" y="0.0" width="137" height="125"/>
  82. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  84. <state key="normal" title="Button"/>
  85. <buttonConfiguration key="configuration" style="plain" title="4">
  86. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  87. </buttonConfiguration>
  88. </button>
  89. <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ToS-iL-gQp">
  90. <rect key="frame" x="147" y="0.0" width="137" height="125"/>
  91. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  92. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  93. <state key="normal" title="Button"/>
  94. <buttonConfiguration key="configuration" style="plain" title="5">
  95. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  96. </buttonConfiguration>
  97. </button>
  98. <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="OSw-U5-1GF">
  99. <rect key="frame" x="294" y="0.0" width="137" height="125"/>
  100. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  101. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  102. <state key="normal" title="Button"/>
  103. <buttonConfiguration key="configuration" style="plain" title="6">
  104. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  105. </buttonConfiguration>
  106. </button>
  107. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Uiw-M5-1xf">
  108. <rect key="frame" x="441" y="0.0" width="137" height="125"/>
  109. <color key="backgroundColor" red="0.97410839800000004" green="0.8403052688" blue="0.2821659446" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  110. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  111. <state key="normal" title="Button"/>
  112. <buttonConfiguration key="configuration" style="plain" title="-">
  113. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  114. </buttonConfiguration>
  115. </button>
  116. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dHS-oz-6Ou">
  117. <rect key="frame" x="588" y="0.0" width="137" height="125"/>
  118. <color key="backgroundColor" red="0.97410839800000004" green="0.8403052688" blue="0.2821659446" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  119. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  120. <state key="normal" title="Button"/>
  121. <buttonConfiguration key="configuration" style="plain" title="/">
  122. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  123. </buttonConfiguration>
  124. </button>
  125. </subviews>
  126. </stackView>
  127. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="JRw-LQ-aMf">
  128. <rect key="frame" x="0.0" y="270.5" width="725" height="125.5"/>
  129. <subviews>
  130. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mal-m2-BW0">
  131. <rect key="frame" x="0.0" y="0.0" width="137" height="125.5"/>
  132. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  133. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  134. <state key="normal" title="Button"/>
  135. <buttonConfiguration key="configuration" style="plain" title="1">
  136. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  137. </buttonConfiguration>
  138. </button>
  139. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KI1-ty-RLg">
  140. <rect key="frame" x="147" y="0.0" width="137" height="125.5"/>
  141. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  142. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  143. <state key="normal" title="Button"/>
  144. <buttonConfiguration key="configuration" style="plain" title="2">
  145. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  146. </buttonConfiguration>
  147. </button>
  148. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5EU-9l-FVK">
  149. <rect key="frame" x="294" y="0.0" width="137" height="125.5"/>
  150. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  151. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  152. <state key="normal" title="Button"/>
  153. <buttonConfiguration key="configuration" style="plain" title="3">
  154. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  155. </buttonConfiguration>
  156. </button>
  157. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="y6Q-JT-JWy">
  158. <rect key="frame" x="441" y="0.0" width="137" height="125.5"/>
  159. <color key="backgroundColor" red="0.97410839800000004" green="0.8403052688" blue="0.2821659446" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  160. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  161. <state key="normal" title="Button"/>
  162. <buttonConfiguration key="configuration" style="plain" title="+">
  163. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  164. </buttonConfiguration>
  165. </button>
  166. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="G9r-jQ-QQ9">
  167. <rect key="frame" x="588" y="0.0" width="137" height="125.5"/>
  168. <color key="backgroundColor" red="0.97410839800000004" green="0.8403052688" blue="0.2821659446" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  169. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  170. <state key="normal" title="Button"/>
  171. <buttonConfiguration key="configuration" style="plain" title="x">
  172. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  173. </buttonConfiguration>
  174. </button>
  175. </subviews>
  176. </stackView>
  177. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="Uw9-qZ-Dfo">
  178. <rect key="frame" x="0.0" y="406" width="725" height="125"/>
  179. <subviews>
  180. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8ld-d6-RQK">
  181. <rect key="frame" x="0.0" y="0.0" width="137" height="125"/>
  182. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  183. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  184. <state key="normal" title="Button"/>
  185. <buttonConfiguration key="configuration" style="plain" title=".">
  186. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  187. </buttonConfiguration>
  188. </button>
  189. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mBP-LN-MlY">
  190. <rect key="frame" x="147" y="0.0" width="137" height="125"/>
  191. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  192. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  193. <state key="normal" title="Button"/>
  194. <buttonConfiguration key="configuration" style="plain" title="0">
  195. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  196. </buttonConfiguration>
  197. </button>
  198. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nde-Sc-JPt">
  199. <rect key="frame" x="294" y="0.0" width="137" height="125"/>
  200. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  201. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  202. <state key="normal" title="Button"/>
  203. <buttonConfiguration key="configuration" style="plain" title="D">
  204. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  205. </buttonConfiguration>
  206. </button>
  207. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dGq-08-Kzm">
  208. <rect key="frame" x="441" y="0.0" width="284" height="125"/>
  209. <color key="backgroundColor" red="0.97410839800000004" green="0.8403052688" blue="0.2821659446" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  210. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  211. <state key="normal" title="Button"/>
  212. <buttonConfiguration key="configuration" style="plain" title="=">
  213. <fontDescription key="titleFontDescription" type="system" pointSize="40"/>
  214. </buttonConfiguration>
  215. </button>
  216. </subviews>
  217. </stackView>
  218. </subviews>
  219. <constraints>
  220. <constraint firstItem="nde-Sc-JPt" firstAttribute="width" secondItem="5EU-9l-FVK" secondAttribute="width" id="4El-5L-MaG"/>
  221. <constraint firstItem="mBP-LN-MlY" firstAttribute="width" secondItem="KI1-ty-RLg" secondAttribute="width" id="Htd-Ko-RcX"/>
  222. <constraint firstItem="8ld-d6-RQK" firstAttribute="width" secondItem="mal-m2-BW0" secondAttribute="width" id="m9s-WZ-peK"/>
  223. </constraints>
  224. </stackView>
  225. </subviews>
  226. <constraints>
  227. <constraint firstItem="sSl-mz-1DQ" firstAttribute="top" secondItem="d1H-9Q-j7P" secondAttribute="top" id="Db1-iD-Elh"/>
  228. <constraint firstAttribute="trailing" secondItem="sSl-mz-1DQ" secondAttribute="trailing" constant="10" id="KbS-0k-Ie2"/>
  229. <constraint firstItem="sSl-mz-1DQ" firstAttribute="leading" secondItem="d1H-9Q-j7P" secondAttribute="leading" constant="10" id="TJv-db-APH"/>
  230. <constraint firstAttribute="bottom" secondItem="sSl-mz-1DQ" secondAttribute="bottom" id="g6s-Ye-LzN"/>
  231. </constraints>
  232. </view>
  233. <blurEffect style="systemThinMaterial"/>
  234. </visualEffectView>
  235. </subviews>
  236. <viewLayoutGuide key="safeArea" id="V0A-kF-WY5"/>
  237. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  238. <constraints>
  239. <constraint firstItem="req-q9-lx2" firstAttribute="leading" secondItem="V0A-kF-WY5" secondAttribute="leading" id="0fX-Cx-EME"/>
  240. <constraint firstItem="req-q9-lx2" firstAttribute="trailing" secondItem="V0A-kF-WY5" secondAttribute="trailing" id="Jvp-Gw-hsl"/>
  241. <constraint firstItem="req-q9-lx2" firstAttribute="top" secondItem="w35-oq-szw" secondAttribute="top" id="hrp-Zn-ETe"/>
  242. <constraint firstAttribute="bottom" secondItem="req-q9-lx2" secondAttribute="bottom" id="kDe-Se-hCP"/>
  243. </constraints>
  244. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  245. <point key="canvasLocation" x="621" y="728"/>
  246. </view>
  247. </objects>
  248. <resources>
  249. <systemColor name="systemBackgroundColor">
  250. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  251. </systemColor>
  252. </resources>
  253. </document>
  254.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement