|
27 | 27 | <constraint firstAttribute="width" constant="153" id="eZt-64-3CB"/> |
28 | 28 | <constraint firstAttribute="height" constant="30" id="uxI-ig-f5J"/> |
29 | 29 | </constraints> |
30 | | - <state key="normal" title="Add new controller"> |
| 30 | + <state key="normal" title="Add Random Row"> |
31 | 31 | <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
32 | 32 | </state> |
33 | 33 | <connections> |
34 | | - <action selector="toggleAxis" destination="BYZ-38-t0r" eventType="touchUpInside" id="fsh-9U-1kD"/> |
| 34 | + <action selector="addNewRow" destination="BYZ-38-t0r" eventType="touchUpInside" id="O6D-J0-3dz"/> |
35 | 35 | </connections> |
36 | 36 | </button> |
37 | 37 | </subviews> |
|
54 | 54 | </objects> |
55 | 55 | <point key="canvasLocation" x="-384.05797101449281" y="28.794642857142854"/> |
56 | 56 | </scene> |
57 | | - <!--VC1--> |
| 57 | + <!--GalleryVC--> |
58 | 58 | <scene sceneID="F2C-MH-Lwo"> |
59 | 59 | <objects> |
60 | | - <viewController storyboardIdentifier="VC1" id="hnx-R5-b6N" customClass="VC1" customModule="ScrollStackControllerDemo" customModuleProvider="target" sceneMemberID="viewController"> |
| 60 | + <viewController storyboardIdentifier="GalleryVC" id="hnx-R5-b6N" customClass="GalleryVC" customModule="ScrollStackControllerDemo" customModuleProvider="target" sceneMemberID="viewController"> |
61 | 61 | <view key="view" contentMode="scaleToFill" id="aW5-uU-IfU"> |
62 | 62 | <rect key="frame" x="0.0" y="0.0" width="414" height="300"/> |
63 | 63 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
64 | 64 | <subviews> |
65 | | - <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="yVI-0r-6fw"> |
66 | | - <rect key="frame" x="182.5" y="134.5" width="51" height="31"/> |
67 | | - </switch> |
| 65 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Gallery" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ljh-hs-c0p"> |
| 66 | + <rect key="frame" x="20" y="20" width="374" height="29"/> |
| 67 | + <constraints> |
| 68 | + <constraint firstAttribute="height" constant="29" id="Myh-UV-YFF"/> |
| 69 | + </constraints> |
| 70 | + <fontDescription key="fontDescription" type="system" weight="medium" pointSize="24"/> |
| 71 | + <nil key="textColor"/> |
| 72 | + <nil key="highlightedColor"/> |
| 73 | + </label> |
| 74 | + <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" pagingEnabled="YES" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="6ap-K6-pdY"> |
| 75 | + <rect key="frame" x="20" y="59" width="374" height="201"/> |
| 76 | + <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> |
| 77 | + <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" automaticEstimatedItemSize="YES" minimumLineSpacing="10" minimumInteritemSpacing="10" id="JHC-ZZ-rXC"> |
| 78 | + <size key="itemSize" width="341" height="163"/> |
| 79 | + <size key="headerReferenceSize" width="0.0" height="0.0"/> |
| 80 | + <size key="footerReferenceSize" width="0.0" height="0.0"/> |
| 81 | + <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> |
| 82 | + </collectionViewFlowLayout> |
| 83 | + <cells> |
| 84 | + <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="GalleryCell" id="oCT-2F-dbt" customClass="GalleryCell" customModule="ScrollStackControllerDemo" customModuleProvider="target"> |
| 85 | + <rect key="frame" x="0.0" y="19" width="341" height="163"/> |
| 86 | + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> |
| 87 | + <collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="RQp-h4-bd0"> |
| 88 | + <rect key="frame" x="0.0" y="0.0" width="341" height="163"/> |
| 89 | + <autoresizingMask key="autoresizingMask"/> |
| 90 | + <subviews> |
| 91 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="C5w-wr-ULb"> |
| 92 | + <rect key="frame" x="0.0" y="0.0" width="341" height="163"/> |
| 93 | + </imageView> |
| 94 | + </subviews> |
| 95 | + <constraints> |
| 96 | + <constraint firstItem="C5w-wr-ULb" firstAttribute="top" secondItem="RQp-h4-bd0" secondAttribute="top" id="Uht-Pw-enC"/> |
| 97 | + <constraint firstAttribute="trailing" secondItem="C5w-wr-ULb" secondAttribute="trailing" id="Yy4-59-fe9"/> |
| 98 | + <constraint firstItem="C5w-wr-ULb" firstAttribute="leading" secondItem="RQp-h4-bd0" secondAttribute="leading" id="jdh-Gb-V7Y"/> |
| 99 | + <constraint firstAttribute="bottom" secondItem="C5w-wr-ULb" secondAttribute="bottom" id="n0B-qI-TNW"/> |
| 100 | + </constraints> |
| 101 | + </collectionViewCellContentView> |
| 102 | + <size key="customSize" width="341" height="163"/> |
| 103 | + <connections> |
| 104 | + <outlet property="imageView" destination="C5w-wr-ULb" id="dyu-bm-DIo"/> |
| 105 | + </connections> |
| 106 | + </collectionViewCell> |
| 107 | + </cells> |
| 108 | + <connections> |
| 109 | + <outlet property="dataSource" destination="hnx-R5-b6N" id="rgW-sY-0Rl"/> |
| 110 | + <outlet property="delegate" destination="hnx-R5-b6N" id="4nI-md-ZHb"/> |
| 111 | + </connections> |
| 112 | + </collectionView> |
| 113 | + <pageControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="3" translatesAutoresizingMaskIntoConstraints="NO" id="nm5-iZ-3Pg"> |
| 114 | + <rect key="frame" x="187.5" y="258" width="39" height="37"/> |
| 115 | + <color key="pageIndicatorTintColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
| 116 | + <color key="currentPageIndicatorTintColor" red="0.1333333333" green="0.31372549020000001" blue="0.4039215686" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 117 | + </pageControl> |
68 | 118 | </subviews> |
69 | | - <color key="backgroundColor" systemColor="systemOrangeColor" red="1" green="0.58431372550000005" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 119 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
70 | 120 | <constraints> |
71 | | - <constraint firstItem="yVI-0r-6fw" firstAttribute="centerX" secondItem="aW5-uU-IfU" secondAttribute="centerX" id="Mdn-9x-vmJ"/> |
72 | | - <constraint firstItem="yVI-0r-6fw" firstAttribute="centerY" secondItem="aW5-uU-IfU" secondAttribute="centerY" id="yQs-O6-5Cr"/> |
| 121 | + <constraint firstItem="Ljh-hs-c0p" firstAttribute="leading" secondItem="aW5-uU-IfU" secondAttribute="leading" constant="20" id="8d4-tt-Why"/> |
| 122 | + <constraint firstItem="6ap-K6-pdY" firstAttribute="leading" secondItem="mC8-c9-Zzg" secondAttribute="leading" constant="20" id="K5f-cB-XOt"/> |
| 123 | + <constraint firstAttribute="trailing" secondItem="Ljh-hs-c0p" secondAttribute="trailing" constant="20" id="Rkb-0X-cdc"/> |
| 124 | + <constraint firstItem="Ljh-hs-c0p" firstAttribute="top" secondItem="aW5-uU-IfU" secondAttribute="top" constant="20" id="Wc3-fz-JMb"/> |
| 125 | + <constraint firstItem="6ap-K6-pdY" firstAttribute="top" secondItem="Ljh-hs-c0p" secondAttribute="bottom" constant="10" id="ctQ-DZ-iaQ"/> |
| 126 | + <constraint firstItem="nm5-iZ-3Pg" firstAttribute="centerX" secondItem="aW5-uU-IfU" secondAttribute="centerX" id="hWN-E2-vnV"/> |
| 127 | + <constraint firstItem="mC8-c9-Zzg" firstAttribute="bottom" secondItem="6ap-K6-pdY" secondAttribute="bottom" constant="40" id="jSU-H5-HbN"/> |
| 128 | + <constraint firstItem="mC8-c9-Zzg" firstAttribute="bottom" secondItem="nm5-iZ-3Pg" secondAttribute="bottom" constant="5" id="lXH-Ev-aez"/> |
| 129 | + <constraint firstItem="mC8-c9-Zzg" firstAttribute="trailing" secondItem="6ap-K6-pdY" secondAttribute="trailing" constant="20" id="mJt-La-Uf9"/> |
73 | 130 | </constraints> |
74 | 131 | <viewLayoutGuide key="safeArea" id="mC8-c9-Zzg"/> |
75 | 132 | </view> |
76 | 133 | <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> |
77 | 134 | <size key="freeformSize" width="414" height="300"/> |
| 135 | + <connections> |
| 136 | + <outlet property="collectionView" destination="6ap-K6-pdY" id="qgm-nm-Jpi"/> |
| 137 | + <outlet property="pageControl" destination="nm5-iZ-3Pg" id="5hq-FL-Ppe"/> |
| 138 | + </connections> |
78 | 139 | </viewController> |
79 | 140 | <placeholder placeholderIdentifier="IBFirstResponder" id="i09-Qc-wUC" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> |
80 | 141 | </objects> |
81 | | - <point key="canvasLocation" x="259" y="-171"/> |
| 142 | + <point key="canvasLocation" x="257.97101449275362" y="-171.42857142857142"/> |
82 | 143 | </scene> |
83 | 144 | <!--TagsVC--> |
84 | 145 | <scene sceneID="W0p-QS-jfS"> |
|
0 commit comments