EmojiInputController.storyboard 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14854.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="1Vl-XQ-Scp">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14806.4"/>
  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. <scenes>
  11. <!--Emoji Input Controller-->
  12. <scene sceneID="BIv-bh-KrK">
  13. <objects>
  14. <viewController id="1Vl-XQ-Scp" customClass="EmojiInputController" customModule="LoopKitUI" customModuleProvider="target" sceneMemberID="viewController">
  15. <view key="view" contentMode="scaleToFill" id="lKE-z4-OIM" customClass="UIInputView">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="253"/>
  17. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  18. <subviews>
  19. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" layoutMarginsFollowReadableWidth="YES" alwaysBounceHorizontal="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="CGs-B7-uPl">
  20. <rect key="frame" x="0.0" y="0.0" width="375" height="220"/>
  21. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="220" id="gWv-wN-yvY"/>
  24. </constraints>
  25. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="KsP-ir-cgE">
  26. <size key="itemSize" width="50" height="50"/>
  27. <size key="headerReferenceSize" width="10" height="50"/>
  28. <size key="footerReferenceSize" width="20" height="10"/>
  29. <inset key="sectionInset" minX="0.0" minY="20" maxX="0.0" maxY="0.0"/>
  30. </collectionViewFlowLayout>
  31. <cells>
  32. <collectionViewCell opaque="NO" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="EmojiInputCell" id="k9g-nh-BVh" customClass="EmojiInputCell" customModule="LoopKitUI" customModuleProvider="target">
  33. <rect key="frame" x="10" y="20" width="50" height="50"/>
  34. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  35. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  36. <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
  37. <autoresizingMask key="autoresizingMask"/>
  38. <subviews>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🍇" textAlignment="center" lineBreakMode="clip" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YC0-Nv-XXW">
  40. <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
  41. <fontDescription key="fontDescription" type="system" pointSize="46"/>
  42. <nil key="textColor"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. </subviews>
  46. </view>
  47. <constraints>
  48. <constraint firstAttribute="trailing" secondItem="YC0-Nv-XXW" secondAttribute="trailing" id="GDk-t2-9hv"/>
  49. <constraint firstItem="YC0-Nv-XXW" firstAttribute="top" secondItem="k9g-nh-BVh" secondAttribute="top" id="TwX-d3-1hi"/>
  50. <constraint firstAttribute="bottom" secondItem="YC0-Nv-XXW" secondAttribute="bottom" id="vzX-hH-hK9"/>
  51. <constraint firstItem="YC0-Nv-XXW" firstAttribute="leading" secondItem="k9g-nh-BVh" secondAttribute="leading" id="y0p-nf-6RL"/>
  52. </constraints>
  53. <connections>
  54. <outlet property="label" destination="YC0-Nv-XXW" id="adg-wo-Kvi"/>
  55. </connections>
  56. </collectionViewCell>
  57. </cells>
  58. <collectionReusableView key="sectionHeaderView" opaque="NO" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="EmojiInputHeaderView" id="wGJ-pi-8bt" customClass="EmojiInputHeaderView" customModule="LoopKitUI" customModuleProvider="target">
  59. <rect key="frame" x="0.0" y="0.0" width="10" height="220"/>
  60. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  61. <subviews>
  62. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MEDIUM" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ezy-3D-Zg4">
  63. <rect key="frame" x="10" y="4" width="50.5" height="14.5"/>
  64. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="12"/>
  65. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  66. <nil key="highlightedColor"/>
  67. </label>
  68. </subviews>
  69. <constraints>
  70. <constraint firstAttribute="trailing" secondItem="ezy-3D-Zg4" secondAttribute="trailing" priority="250" id="5j4-yU-Rh7"/>
  71. <constraint firstItem="ezy-3D-Zg4" firstAttribute="top" secondItem="wGJ-pi-8bt" secondAttribute="top" constant="4" id="gKl-wL-YiW"/>
  72. <constraint firstItem="ezy-3D-Zg4" firstAttribute="leading" secondItem="wGJ-pi-8bt" secondAttribute="trailing" id="uGA-bm-mnp"/>
  73. </constraints>
  74. <connections>
  75. <outlet property="titleLabel" destination="ezy-3D-Zg4" id="R9Z-Im-OVz"/>
  76. </connections>
  77. </collectionReusableView>
  78. <collectionReusableView key="sectionFooterView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="Footer" id="HyU-U2-qYY">
  79. <rect key="frame" x="60" y="0.0" width="20" height="220"/>
  80. <autoresizingMask key="autoresizingMask"/>
  81. </collectionReusableView>
  82. <connections>
  83. <outlet property="dataSource" destination="1Vl-XQ-Scp" id="Spk-lW-aEB"/>
  84. <outlet property="delegate" destination="1Vl-XQ-Scp" id="VVZ-Iv-Kgx"/>
  85. </connections>
  86. </collectionView>
  87. <stackView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="251" distribution="equalSpacing" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="5xF-hj-xbW">
  88. <rect key="frame" x="10" y="220" width="355" height="33"/>
  89. <subviews>
  90. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uhB-Ts-gDS">
  91. <rect key="frame" x="0.0" y="0.0" width="30" height="33"/>
  92. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  93. <state key="normal" title="abc">
  94. <color key="titleColor" systemColor="labelColor" cocoaTouchSystemColor="darkTextColor"/>
  95. </state>
  96. <connections>
  97. <action selector="switchKeyboard:" destination="1Vl-XQ-Scp" eventType="touchUpInside" id="VdO-GT-DIN"/>
  98. </connections>
  99. </button>
  100. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="Ag8-1E-ewa">
  101. <rect key="frame" x="117" y="0.0" width="128" height="33"/>
  102. <subviews>
  103. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" 🍭 " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vrL-M3-kX6">
  104. <rect key="frame" x="0.0" y="0.0" width="32" height="33"/>
  105. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  106. <nil key="textColor"/>
  107. <nil key="highlightedColor"/>
  108. </label>
  109. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🌮" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Vi5-wd-QzL">
  110. <rect key="frame" x="32" y="0.0" width="32" height="33"/>
  111. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  112. <nil key="textColor"/>
  113. <nil key="highlightedColor"/>
  114. </label>
  115. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="🍕" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hYU-P4-ltF">
  116. <rect key="frame" x="64" y="0.0" width="32" height="33"/>
  117. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  118. <nil key="textColor"/>
  119. <nil key="highlightedColor"/>
  120. </label>
  121. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="⋯ " textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LJZ-66-a5p">
  122. <rect key="frame" x="96" y="0.0" width="32" height="33"/>
  123. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  124. <nil key="textColor"/>
  125. <nil key="highlightedColor"/>
  126. </label>
  127. </subviews>
  128. <gestureRecognizers/>
  129. <connections>
  130. <outletCollection property="gestureRecognizers" destination="Hbp-V9-WaU" appends="YES" id="o0h-Ey-1lu"/>
  131. </connections>
  132. </stackView>
  133. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Swx-bi-ftk">
  134. <rect key="frame" x="332" y="0.0" width="23" height="33"/>
  135. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  136. <color key="tintColor" systemColor="labelColor" cocoaTouchSystemColor="darkTextColor"/>
  137. <state key="normal" image="Delete-Left"/>
  138. <connections>
  139. <action selector="deleteBackward:" destination="1Vl-XQ-Scp" eventType="touchUpInside" id="gAx-Bz-D8X"/>
  140. </connections>
  141. </button>
  142. </subviews>
  143. </stackView>
  144. </subviews>
  145. <color key="backgroundColor" systemColor="tertiarySystemBackgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  146. <constraints>
  147. <constraint firstItem="q2E-1p-KUC" firstAttribute="trailing" secondItem="5xF-hj-xbW" secondAttribute="trailing" constant="10" id="Eda-a0-BUb"/>
  148. <constraint firstItem="CGs-B7-uPl" firstAttribute="leading" secondItem="q2E-1p-KUC" secondAttribute="leading" id="RIH-QB-I4e"/>
  149. <constraint firstItem="5xF-hj-xbW" firstAttribute="top" secondItem="CGs-B7-uPl" secondAttribute="bottom" id="UvG-ux-asT"/>
  150. <constraint firstItem="5xF-hj-xbW" firstAttribute="leading" secondItem="q2E-1p-KUC" secondAttribute="leading" constant="10" id="WdY-vQ-D1V"/>
  151. <constraint firstItem="q2E-1p-KUC" firstAttribute="trailing" secondItem="CGs-B7-uPl" secondAttribute="trailing" id="iaQ-Se-wsk"/>
  152. <constraint firstItem="q2E-1p-KUC" firstAttribute="bottom" secondItem="5xF-hj-xbW" secondAttribute="bottom" id="mik-oI-TVv"/>
  153. <constraint firstItem="CGs-B7-uPl" firstAttribute="top" secondItem="lKE-z4-OIM" secondAttribute="top" id="rrj-fQ-cal"/>
  154. <constraint firstItem="5xF-hj-xbW" firstAttribute="top" secondItem="CGs-B7-uPl" secondAttribute="bottom" id="snw-7H-ggC"/>
  155. </constraints>
  156. <viewLayoutGuide key="safeArea" id="q2E-1p-KUC"/>
  157. </view>
  158. <nil key="simulatedStatusBarMetrics"/>
  159. <nil key="simulatedTopBarMetrics"/>
  160. <nil key="simulatedBottomBarMetrics"/>
  161. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  162. <size key="freeformSize" width="375" height="253"/>
  163. <connections>
  164. <outlet property="collectionView" destination="CGs-B7-uPl" id="epQ-Uc-AYB"/>
  165. <outlet property="deleteButton" destination="Swx-bi-ftk" id="4tE-k2-d33"/>
  166. <outlet property="sectionIndex" destination="Ag8-1E-ewa" id="Yf1-6z-OIu"/>
  167. </connections>
  168. </viewController>
  169. <placeholder placeholderIdentifier="IBFirstResponder" id="1SM-Xb-S5F" userLabel="First Responder" sceneMemberID="firstResponder"/>
  170. <pongPressGestureRecognizer allowableMovement="10" minimumPressDuration="0.10000000000000001" id="Hbp-V9-WaU">
  171. <connections>
  172. <action selector="indexTouched:" destination="1Vl-XQ-Scp" id="TJp-x0-nGO"/>
  173. </connections>
  174. </pongPressGestureRecognizer>
  175. </objects>
  176. <point key="canvasLocation" x="4509.6000000000004" y="-1245.8770614692655"/>
  177. </scene>
  178. </scenes>
  179. <resources>
  180. <image name="Delete-Left" width="23" height="17"/>
  181. </resources>
  182. </document>