|
4 | 4 | <dependencies> |
5 | 5 | <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/> |
6 | 6 | <capability name="Safe area layout guides" minToolsVersion="9.0"/> |
| 7 | + <capability name="collection view cell content view" minToolsVersion="11.0"/> |
7 | 8 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
8 | 9 | </dependencies> |
9 | 10 | <scenes> |
|
79 | 80 | </objects> |
80 | 81 | <point key="canvasLocation" x="259" y="-171"/> |
81 | 82 | </scene> |
82 | | - <!--VC2--> |
| 83 | + <!--TagsVC--> |
83 | 84 | <scene sceneID="W0p-QS-jfS"> |
84 | 85 | <objects> |
85 | | - <viewController storyboardIdentifier="VC2" id="1Ap-wi-SGJ" customClass="VC2" customModule="ScrollStackControllerDemo" customModuleProvider="target" sceneMemberID="viewController"> |
86 | | - <view key="view" contentMode="scaleToFill" id="dZN-dE-Enp"> |
| 86 | + <viewController storyboardIdentifier="TagsVC" id="1Ap-wi-SGJ" customClass="TagsVC" customModule="ScrollStackControllerDemo" customModuleProvider="target" sceneMemberID="viewController"> |
| 87 | + <view key="view" clipsSubviews="YES" contentMode="scaleToFill" id="dZN-dE-Enp"> |
87 | 88 | <rect key="frame" x="0.0" y="0.0" width="414" height="300"/> |
88 | 89 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
89 | 90 | <subviews> |
90 | | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Welcome to Home" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PXE-1E-oq8"> |
91 | | - <rect key="frame" x="20" y="20" width="374" height="25.5"/> |
92 | | - <fontDescription key="fontDescription" type="system" weight="medium" pointSize="21"/> |
| 91 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Tags" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PXE-1E-oq8"> |
| 92 | + <rect key="frame" x="20" y="20" width="374" height="29"/> |
| 93 | + <constraints> |
| 94 | + <constraint firstAttribute="height" constant="29" id="AIx-ke-Tgj"/> |
| 95 | + </constraints> |
| 96 | + <fontDescription key="fontDescription" type="system" weight="medium" pointSize="24"/> |
| 97 | + <nil key="textColor"/> |
| 98 | + <nil key="highlightedColor"/> |
| 99 | + </label> |
| 100 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="The list of tags identify the main features of the hotel and allows you have an overlook of the structure." textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="07k-I9-iAh"> |
| 101 | + <rect key="frame" x="20" y="59" width="374" height="31.5"/> |
| 102 | + <fontDescription key="fontDescription" type="system" pointSize="13"/> |
93 | 103 | <nil key="textColor"/> |
94 | 104 | <nil key="highlightedColor"/> |
95 | 105 | </label> |
| 106 | + <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="hEu-BP-BEf"> |
| 107 | + <rect key="frame" x="20" y="158.5" width="374" height="121.5"/> |
| 108 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 109 | + <constraints> |
| 110 | + <constraint firstAttribute="height" constant="121.5" id="vk7-Vr-uiW"/> |
| 111 | + </constraints> |
| 112 | + <collectionViewFlowLayout key="collectionViewLayout" automaticEstimatedItemSize="YES" minimumLineSpacing="10" minimumInteritemSpacing="10" id="Rd2-UE-99o"> |
| 113 | + <size key="itemSize" width="127" height="39"/> |
| 114 | + <size key="headerReferenceSize" width="0.0" height="0.0"/> |
| 115 | + <size key="footerReferenceSize" width="0.0" height="0.0"/> |
| 116 | + <inset key="sectionInset" minX="3" minY="3" maxX="3" maxY="3"/> |
| 117 | + </collectionViewFlowLayout> |
| 118 | + <cells> |
| 119 | + <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="TagsCell" id="U7u-4F-pxk" customClass="TagsCell" customModule="ScrollStackControllerDemo" customModuleProvider="target"> |
| 120 | + <rect key="frame" x="3" y="3" width="127" height="39"/> |
| 121 | + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
| 122 | + <collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="jiz-E0-cdi"> |
| 123 | + <rect key="frame" x="0.0" y="0.0" width="127" height="39"/> |
| 124 | + <autoresizingMask key="autoresizingMask"/> |
| 125 | + <subviews> |
| 126 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="tag 1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3iw-Le-DPp"> |
| 127 | + <rect key="frame" x="5" y="5" width="117" height="29"/> |
| 128 | + <fontDescription key="fontDescription" type="system" pointSize="12"/> |
| 129 | + <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 130 | + <nil key="highlightedColor"/> |
| 131 | + </label> |
| 132 | + </subviews> |
| 133 | + <constraints> |
| 134 | + <constraint firstItem="3iw-Le-DPp" firstAttribute="leading" secondItem="jiz-E0-cdi" secondAttribute="leading" constant="5" id="DdG-nS-LHw"/> |
| 135 | + <constraint firstAttribute="trailing" secondItem="3iw-Le-DPp" secondAttribute="trailing" constant="5" id="Wl8-kR-Xm0"/> |
| 136 | + <constraint firstItem="3iw-Le-DPp" firstAttribute="top" secondItem="jiz-E0-cdi" secondAttribute="top" constant="5" id="r9L-Ja-E3c"/> |
| 137 | + <constraint firstAttribute="bottom" secondItem="3iw-Le-DPp" secondAttribute="bottom" constant="5" id="xIL-HU-nTp"/> |
| 138 | + </constraints> |
| 139 | + </collectionViewCellContentView> |
| 140 | + <color key="backgroundColor" red="0.1333333333" green="0.31372549020000001" blue="0.4039215686" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 141 | + <size key="customSize" width="127" height="39"/> |
| 142 | + <connections> |
| 143 | + <outlet property="labelCell" destination="3iw-Le-DPp" id="9kS-ar-oRP"/> |
| 144 | + </connections> |
| 145 | + </collectionViewCell> |
| 146 | + </cells> |
| 147 | + <connections> |
| 148 | + <outlet property="dataSource" destination="1Ap-wi-SGJ" id="lgH-Bi-HUt"/> |
| 149 | + <outlet property="delegate" destination="1Ap-wi-SGJ" id="EN8-bJ-ou5"/> |
| 150 | + </connections> |
| 151 | + </collectionView> |
| 152 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Pvd-nH-BQb"> |
| 153 | + <rect key="frame" x="157" y="105.5" width="100" height="33"/> |
| 154 | + <color key="backgroundColor" red="0.1333333333" green="0.31372549020000001" blue="0.4039215686" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 155 | + <constraints> |
| 156 | + <constraint firstAttribute="width" constant="100" id="gpv-3A-vWT"/> |
| 157 | + <constraint firstAttribute="height" constant="33" id="tqa-oJ-5Mh"/> |
| 158 | + </constraints> |
| 159 | + <state key="normal" title="Show Tags"> |
| 160 | + <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 161 | + </state> |
| 162 | + <connections> |
| 163 | + <action selector="toggleTags" destination="1Ap-wi-SGJ" eventType="touchUpInside" id="tqB-sm-cF6"/> |
| 164 | + </connections> |
| 165 | + </button> |
96 | 166 | </subviews> |
97 | 167 | <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> |
98 | 168 | <constraints> |
| 169 | + <constraint firstItem="07k-I9-iAh" firstAttribute="leading" secondItem="N9x-T6-Cli" secondAttribute="leading" constant="20" id="54C-zU-Mai"/> |
| 170 | + <constraint firstItem="N9x-T6-Cli" firstAttribute="trailing" secondItem="07k-I9-iAh" secondAttribute="trailing" constant="20" id="7pH-kL-R7f"/> |
| 171 | + <constraint firstItem="N9x-T6-Cli" firstAttribute="trailing" secondItem="hEu-BP-BEf" secondAttribute="trailing" constant="20" id="TMR-JB-tA9"/> |
| 172 | + <constraint firstItem="Pvd-nH-BQb" firstAttribute="centerX" secondItem="dZN-dE-Enp" secondAttribute="centerX" id="isB-2H-FPp"/> |
99 | 173 | <constraint firstItem="PXE-1E-oq8" firstAttribute="leading" secondItem="N9x-T6-Cli" secondAttribute="leading" constant="20" id="lCR-B8-Ec4"/> |
| 174 | + <constraint firstItem="hEu-BP-BEf" firstAttribute="top" secondItem="Pvd-nH-BQb" secondAttribute="bottom" constant="20" id="oj6-gT-ivI"/> |
| 175 | + <constraint firstItem="07k-I9-iAh" firstAttribute="top" secondItem="PXE-1E-oq8" secondAttribute="bottom" constant="10" id="s5i-zk-cs0"/> |
100 | 176 | <constraint firstItem="N9x-T6-Cli" firstAttribute="trailing" secondItem="PXE-1E-oq8" secondAttribute="trailing" constant="20" id="tad-L3-w90"/> |
101 | 177 | <constraint firstItem="PXE-1E-oq8" firstAttribute="top" secondItem="dZN-dE-Enp" secondAttribute="top" constant="20" id="ufn-3x-2ZS"/> |
| 178 | + <constraint firstItem="hEu-BP-BEf" firstAttribute="leading" secondItem="N9x-T6-Cli" secondAttribute="leading" constant="20" id="uhR-FS-S6k"/> |
| 179 | + <constraint firstItem="Pvd-nH-BQb" firstAttribute="top" secondItem="07k-I9-iAh" secondAttribute="bottom" constant="15" id="vDc-QF-RcJ"/> |
102 | 180 | </constraints> |
103 | 181 | <viewLayoutGuide key="safeArea" id="N9x-T6-Cli"/> |
104 | 182 | </view> |
105 | 183 | <size key="freeformSize" width="414" height="300"/> |
| 184 | + <connections> |
| 185 | + <outlet property="collectionView" destination="hEu-BP-BEf" id="b49-r3-uUw"/> |
| 186 | + <outlet property="toggleTagsButton" destination="Pvd-nH-BQb" id="RQu-uH-Yv0"/> |
| 187 | + </connections> |
106 | 188 | </viewController> |
107 | 189 | <placeholder placeholderIdentifier="IBFirstResponder" id="XEK-KL-pKN" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> |
108 | 190 | </objects> |
109 | | - <point key="canvasLocation" x="257.97101449275362" y="76.339285714285708"/> |
| 191 | + <point key="canvasLocation" x="257.97101449275362" y="73.660714285714278"/> |
110 | 192 | </scene> |
111 | 193 | </scenes> |
112 | 194 | </document> |
0 commit comments