MOSignInCollectionViewCell.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
  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"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="MOSignInCollectionViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="305" height="456"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="305" height="456"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="koB-Tq-dNK">
  22. <rect key="frame" x="4.6666666666666572" y="0.0" width="296" height="456"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_task_bg" translatesAutoresizingMaskIntoConstraints="NO" id="5gO-sv-lZD">
  25. <rect key="frame" x="0.0" y="16" width="296" height="440"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="440" id="GPv-lW-r7G"/>
  28. </constraints>
  29. </imageView>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3mB-lu-zlR">
  31. <rect key="frame" x="40" y="370" width="216" height="46"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="46" id="hBf-rm-Epm"/>
  34. </constraints>
  35. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  36. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  37. <state key="normal" title="Get more rewards"/>
  38. <connections>
  39. <action selector="signInBtnClick:" destination="gTV-IL-0wX" eventType="touchUpInside" id="5e6-pi-aKi"/>
  40. </connections>
  41. </button>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kYl-hR-P4m">
  43. <rect key="frame" x="30" y="321.33333333333331" width="236" height="28.666666666666686"/>
  44. <string key="text">Continuous sign-in get diamonds,
  45. turntables, bubbles!</string>
  46. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  47. <color key="textColor" red="0.45098039220000002" green="0.45098039220000002" blue="0.45098039220000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="Sn4-mu-GPR">
  51. <rect key="frame" x="48" y="219.33333333333337" width="200" height="74"/>
  52. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="74" id="coU-wk-hGV"/>
  55. <constraint firstAttribute="width" constant="200" id="iyt-1o-wAo"/>
  56. </constraints>
  57. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="F6R-WF-k3w">
  58. <size key="itemSize" width="128" height="128"/>
  59. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  60. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  61. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  62. </collectionViewFlowLayout>
  63. </collectionView>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="sign in for 0 days" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TIh-zE-7NN">
  65. <rect key="frame" x="86.333333333333343" y="180" width="123.33333333333334" height="19.333333333333343"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  67. <color key="textColor" red="0.15686274510000001" green="0.15686274510000001" blue="0.15686274510000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Sing-in" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fJG-GZ-mLW">
  71. <rect key="frame" x="110.33333333333331" y="136.33333333333334" width="75" height="28.666666666666657"/>
  72. <fontDescription key="fontDescription" type="system" pointSize="24"/>
  73. <color key="textColor" red="0.10980392156862745" green="0.80784313725490198" blue="0.96078431372549022" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  74. <nil key="highlightedColor"/>
  75. </label>
  76. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_task_top_bg" translatesAutoresizingMaskIntoConstraints="NO" id="hUF-ZL-qof">
  77. <rect key="frame" x="-5.6666666666666572" y="-114" width="307" height="228"/>
  78. <constraints>
  79. <constraint firstAttribute="width" constant="307" id="PTT-FE-694"/>
  80. <constraint firstAttribute="height" constant="228" id="QMD-Fe-LbZ"/>
  81. </constraints>
  82. </imageView>
  83. </subviews>
  84. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  85. <constraints>
  86. <constraint firstAttribute="trailing" secondItem="kYl-hR-P4m" secondAttribute="trailing" constant="30" id="2fa-ca-Sgt"/>
  87. <constraint firstItem="3mB-lu-zlR" firstAttribute="leading" secondItem="koB-Tq-dNK" secondAttribute="leading" constant="40" id="4wd-cU-Gag"/>
  88. <constraint firstAttribute="bottom" secondItem="3mB-lu-zlR" secondAttribute="bottom" constant="40" id="7Bl-yu-HCr"/>
  89. <constraint firstItem="fJG-GZ-mLW" firstAttribute="centerX" secondItem="koB-Tq-dNK" secondAttribute="centerX" id="8Eb-cF-kE9"/>
  90. <constraint firstAttribute="bottom" secondItem="5gO-sv-lZD" secondAttribute="bottom" id="AgZ-Xb-kqZ"/>
  91. <constraint firstItem="kYl-hR-P4m" firstAttribute="leading" secondItem="koB-Tq-dNK" secondAttribute="leading" constant="30" id="JdH-Wj-VQ5"/>
  92. <constraint firstItem="Sn4-mu-GPR" firstAttribute="top" secondItem="TIh-zE-7NN" secondAttribute="bottom" constant="20" id="NMJ-qx-Ail"/>
  93. <constraint firstItem="hUF-ZL-qof" firstAttribute="centerX" secondItem="koB-Tq-dNK" secondAttribute="centerX" id="Nol-80-nva"/>
  94. <constraint firstItem="5gO-sv-lZD" firstAttribute="leading" secondItem="koB-Tq-dNK" secondAttribute="leading" id="PyN-oV-tfF"/>
  95. <constraint firstItem="TIh-zE-7NN" firstAttribute="centerX" secondItem="koB-Tq-dNK" secondAttribute="centerX" id="UWj-aF-BCY"/>
  96. <constraint firstItem="3mB-lu-zlR" firstAttribute="top" secondItem="kYl-hR-P4m" secondAttribute="bottom" constant="20" id="Vj4-IO-JM6"/>
  97. <constraint firstItem="TIh-zE-7NN" firstAttribute="top" secondItem="fJG-GZ-mLW" secondAttribute="bottom" constant="15" id="X97-50-5Vz"/>
  98. <constraint firstItem="kYl-hR-P4m" firstAttribute="top" secondItem="Sn4-mu-GPR" secondAttribute="bottom" constant="28" id="Xma-wZ-z1u"/>
  99. <constraint firstAttribute="height" constant="456" id="Ydv-8Z-NDC"/>
  100. <constraint firstAttribute="trailing" secondItem="5gO-sv-lZD" secondAttribute="trailing" id="hQR-mS-0Tr"/>
  101. <constraint firstItem="Sn4-mu-GPR" firstAttribute="centerX" secondItem="koB-Tq-dNK" secondAttribute="centerX" id="qcX-gt-SuC"/>
  102. <constraint firstItem="hUF-ZL-qof" firstAttribute="top" secondItem="koB-Tq-dNK" secondAttribute="top" constant="-114" id="tl6-qF-9E1"/>
  103. <constraint firstAttribute="width" constant="296" id="xvK-Bv-3KP"/>
  104. <constraint firstAttribute="trailing" secondItem="3mB-lu-zlR" secondAttribute="trailing" constant="40" id="y37-VE-NgY"/>
  105. </constraints>
  106. </view>
  107. </subviews>
  108. </view>
  109. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  110. <constraints>
  111. <constraint firstItem="koB-Tq-dNK" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="DcG-h2-3kK"/>
  112. <constraint firstAttribute="bottom" secondItem="koB-Tq-dNK" secondAttribute="bottom" id="Jdl-Og-6b5"/>
  113. </constraints>
  114. <size key="customSize" width="305" height="403"/>
  115. <connections>
  116. <outlet property="bgView" destination="koB-Tq-dNK" id="hvt-hZ-hDM"/>
  117. <outlet property="collectionView" destination="Sn4-mu-GPR" id="EGL-L8-Khz"/>
  118. <outlet property="collectionViewWidth" destination="iyt-1o-wAo" id="tAL-vZ-bXF"/>
  119. <outlet property="dayNumLab" destination="TIh-zE-7NN" id="hd6-5l-W5Z"/>
  120. <outlet property="signInBtn" destination="3mB-lu-zlR" id="fHi-kB-8u2"/>
  121. <outlet property="tipLab" destination="kYl-hR-P4m" id="g6w-pS-tLh"/>
  122. <outlet property="titleLab" destination="fJG-GZ-mLW" id="kYm-US-xub"/>
  123. </connections>
  124. <point key="canvasLocation" x="315.26717557251908" y="111.61971830985917"/>
  125. </collectionViewCell>
  126. </objects>
  127. <resources>
  128. <image name="icon_task_bg" width="297" height="384"/>
  129. <image name="icon_task_top_bg" width="307" height="229"/>
  130. <systemColor name="systemBackgroundColor">
  131. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  132. </systemColor>
  133. </resources>
  134. </document>