EmojiAvatarPickerViewController.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_0" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="EmojiAvatarPickerViewController" customModule="NextcloudTalk" customModuleProvider="target">
  13. <connections>
  14. <outlet property="colorWell" destination="41J-0F-D9s" id="yUF-we-OtP"/>
  15. <outlet property="colorsStackView" destination="9vL-AB-fs9" id="dHa-4z-A1O"/>
  16. <outlet property="emojiContainerView" destination="J1q-yV-hQ2" id="fCW-yn-1BZ"/>
  17. <outlet property="emojiTextField" destination="0o9-Ae-ZeQ" id="piK-yM-GIV"/>
  18. <outlet property="removeColorButton" destination="gCA-6a-c0j" id="mKz-2I-yMu"/>
  19. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  20. </connections>
  21. </placeholder>
  22. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  23. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  24. <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
  25. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  26. <subviews>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="J1q-yV-hQ2" userLabel="Avatar View">
  28. <rect key="frame" x="110" y="36" width="100" height="100"/>
  29. <subviews>
  30. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="0o9-Ae-ZeQ" customClass="EmojiTextField" customModule="NextcloudTalk" customModuleProvider="target">
  31. <rect key="frame" x="0.0" y="0.0" width="100" height="100"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="100" id="69V-Si-PyQ"/>
  34. <constraint firstAttribute="width" constant="100" id="r7p-hi-CVj"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" pointSize="50"/>
  37. <textInputTraits key="textInputTraits"/>
  38. </textField>
  39. </subviews>
  40. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  41. <constraints>
  42. <constraint firstAttribute="width" constant="100" id="5cT-vl-S2r"/>
  43. <constraint firstItem="0o9-Ae-ZeQ" firstAttribute="centerX" secondItem="J1q-yV-hQ2" secondAttribute="centerX" id="Cgo-Th-4Zz"/>
  44. <constraint firstItem="0o9-Ae-ZeQ" firstAttribute="centerY" secondItem="J1q-yV-hQ2" secondAttribute="centerY" id="IKI-Rl-wa7"/>
  45. <constraint firstAttribute="height" constant="100" id="N82-kj-FZd"/>
  46. </constraints>
  47. </view>
  48. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GKD-45-fWM" userLabel="Color Control View">
  49. <rect key="frame" x="0.0" y="152" width="320" height="100"/>
  50. <subviews>
  51. <stackView opaque="NO" contentMode="scaleToFill" distribution="equalSpacing" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="9vL-AB-fs9">
  52. <rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="44" id="ENi-Y9-l8p"/>
  55. </constraints>
  56. </stackView>
  57. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ELS-nI-7ua">
  58. <rect key="frame" x="111" y="52" width="98" height="44"/>
  59. <subviews>
  60. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gCA-6a-c0j">
  61. <rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
  62. <constraints>
  63. <constraint firstAttribute="height" constant="44" id="AQR-uE-fA9"/>
  64. <constraint firstAttribute="width" constant="44" id="CHj-pd-uaz"/>
  65. </constraints>
  66. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  67. <state key="normal" image="slash.circle" catalog="system"/>
  68. <connections>
  69. <action selector="removeColorButtonPressed:" destination="-1" eventType="touchUpInside" id="eR1-SC-BeE"/>
  70. </connections>
  71. </button>
  72. <colorWell contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="41J-0F-D9s">
  73. <rect key="frame" x="54" y="0.0" width="44" height="44"/>
  74. <constraints>
  75. <constraint firstAttribute="height" constant="44" id="Po0-0V-jvu"/>
  76. <constraint firstAttribute="width" constant="44" id="bbc-FS-dOw"/>
  77. </constraints>
  78. </colorWell>
  79. </subviews>
  80. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  81. <constraints>
  82. <constraint firstItem="gCA-6a-c0j" firstAttribute="centerY" secondItem="ELS-nI-7ua" secondAttribute="centerY" id="7dz-FC-Ddl"/>
  83. <constraint firstItem="gCA-6a-c0j" firstAttribute="leading" secondItem="ELS-nI-7ua" secondAttribute="leading" id="Bbu-vI-AOv"/>
  84. <constraint firstAttribute="height" constant="44" id="Rwh-gY-W4Q"/>
  85. <constraint firstItem="41J-0F-D9s" firstAttribute="trailing" secondItem="ELS-nI-7ua" secondAttribute="trailing" id="c47-vu-9df"/>
  86. <constraint firstItem="41J-0F-D9s" firstAttribute="leading" secondItem="gCA-6a-c0j" secondAttribute="trailing" constant="10" id="dSP-6B-C87"/>
  87. <constraint firstItem="41J-0F-D9s" firstAttribute="centerY" secondItem="ELS-nI-7ua" secondAttribute="centerY" id="duv-00-1Ty"/>
  88. <constraint firstAttribute="width" constant="98" id="r8w-V8-3tN"/>
  89. </constraints>
  90. </view>
  91. </subviews>
  92. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  93. <constraints>
  94. <constraint firstAttribute="trailing" secondItem="9vL-AB-fs9" secondAttribute="trailing" id="I9M-oh-aZH"/>
  95. <constraint firstItem="9vL-AB-fs9" firstAttribute="leading" secondItem="GKD-45-fWM" secondAttribute="leading" id="cTb-fA-2Xv"/>
  96. <constraint firstItem="9vL-AB-fs9" firstAttribute="top" secondItem="GKD-45-fWM" secondAttribute="top" id="ehZ-6d-on8"/>
  97. <constraint firstItem="ELS-nI-7ua" firstAttribute="centerX" secondItem="GKD-45-fWM" secondAttribute="centerX" id="eu7-WI-MZG"/>
  98. <constraint firstItem="ELS-nI-7ua" firstAttribute="top" secondItem="9vL-AB-fs9" secondAttribute="bottom" constant="8" id="lC3-bh-K6f"/>
  99. <constraint firstAttribute="width" constant="320" id="luK-qg-MQ8"/>
  100. <constraint firstAttribute="height" constant="100" id="nqc-Xy-98y"/>
  101. </constraints>
  102. </view>
  103. </subviews>
  104. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  105. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  106. <constraints>
  107. <constraint firstItem="GKD-45-fWM" firstAttribute="top" secondItem="J1q-yV-hQ2" secondAttribute="bottom" constant="16" id="8Uf-fq-v6t"/>
  108. <constraint firstItem="GKD-45-fWM" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="AN1-fc-vK2"/>
  109. <constraint firstItem="J1q-yV-hQ2" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="KLs-KU-R1J"/>
  110. <constraint firstItem="J1q-yV-hQ2" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" constant="16" id="cUU-lw-YVw"/>
  111. </constraints>
  112. <point key="canvasLocation" x="136.875" y="20.070422535211268"/>
  113. </view>
  114. </objects>
  115. <resources>
  116. <image name="slash.circle" catalog="system" width="128" height="123"/>
  117. <systemColor name="systemBackgroundColor">
  118. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  119. </systemColor>
  120. </resources>
  121. </document>