34;0.87843137250000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ <collectionViewLayout key="collectionViewLayout" id="JAB-7S-F8d" customClass="WaterfallFlowLayout" customModule="PaiaiUIKit"/>
+ <cells/>
+ </collectionView>
+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ckt-CA-ny6">
+ <rect key="frame" x="303" y="597" width="64" height="64"/>
+ <constraints>
+ <constraint firstAttribute="height" constant="64" id="dza-Pq-ZRx"/>
+ <constraint firstAttribute="width" constant="64" id="kEi-cK-cxH"/>
+ </constraints>
+ <state key="normal" image="BTN-拍照"/>
+ <state key="selected" image="BTN-拍照-press"/>
+ <connections>
+ <action selector="takePhotoAction" destination="qPy-31-33I" eventType="touchUpInside" id="vIP-Gk-vDZ"/>
+ </connections>
+ </button>
+ </subviews>
+ <color key="backgroundColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+ <constraints>
+ <constraint firstItem="jD2-65-6eY" firstAttribute="bottom" secondItem="Ckt-CA-ny6" secondAttribute="bottom" constant="6" id="3sN-1z-kEg"/>
+ <constraint firstItem="jD2-65-6eY" firstAttribute="trailing" secondItem="SQ2-vg-KI2" secondAttribute="trailing" id="6Mx-Yn-Q9C"/>
+ <constraint firstItem="SQ2-vg-KI2" firstAttribute="top" secondItem="jD2-65-6eY" secondAttribute="top" id="SjQ-TS-6Py"/>
+ <constraint firstItem="SQ2-vg-KI2" firstAttribute="leading" secondItem="jD2-65-6eY" secondAttribute="leading" id="jE9-N2-trU"/>
+ <constraint firstItem="jD2-65-6eY" firstAttribute="trailing" secondItem="Ckt-CA-ny6" secondAttribute="trailing" constant="8" id="ory-hZ-HWM"/>
+ <constraint firstAttribute="bottom" secondItem="SQ2-vg-KI2" secondAttribute="bottom" id="qMe-Om-r14"/>
+ </constraints>
+ <viewLayoutGuide key="safeArea" id="jD2-65-6eY"/>
+ </view>
+ <navigationItem key="navigationItem" id="sdS-ms-7Io"/>
+ <connections>
+ <outlet property="collectionView" destination="SQ2-vg-KI2" id="QZZ-9l-Lg5"/>
+ <outlet property="photographBtn" destination="Ckt-CA-ny6" id="nq9-32-Rhg"/>
+ </connections>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="1WI-xu-c0y" sceneMemberID="firstResponder"/>
+ </objects>
+ <point key="canvasLocation" x="437.5" y="63.5"/>
+ </scene>
+ </scenes>
+ <resources>
+ <image name="BTN-拍照" width="168" height="168"/>
+ <image name="BTN-拍照-press" width="16" height="16"/>
+ </resources>
+</document>
@@ -0,0 +1,21 @@ |
||
| 1 |
+// |
|
| 2 |
+// GroupQRView.swift |
|
| 3 |
+// Paiai_iOS |
|
| 4 |
+// |
|
| 5 |
+// Created by ffib on 2019/2/18. |
|
| 6 |
+// Copyright © 2019 yb. All rights reserved. |
|
| 7 |
+// |
|
| 8 |
+ |
|
| 9 |
+import UIKit |
|
| 10 |
+ |
|
| 11 |
+class GroupQRView: UIView {
|
|
| 12 |
+ |
|
| 13 |
+ /* |
|
| 14 |
+ // Only override draw() if you perform custom drawing. |
|
| 15 |
+ // An empty implementation adversely affects performance during animation. |
|
| 16 |
+ override func draw(_ rect: CGRect) {
|
|
| 17 |
+ // Drawing code |
|
| 18 |
+ } |
|
| 19 |
+ */ |
|
| 20 |
+ |
|
| 21 |
+} |