Brak opisu

PhotoCell.xib 12KB

    <?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> <dependencies> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="HomeViewController" customModule="Paiai_iOS" customModuleProvider="target"/> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" reuseIdentifier="photoCell" id="gTV-IL-0wX" customClass="PhotoCell" customModule="Paiai_iOS" customModuleProvider="target"> <rect key="frame" x="0.0" y="0.0" width="266" height="333"/> <autoresizingMask key="autoresizingMask"/> <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center"> <rect key="frame" x="0.0" y="0.0" width="266" height="333"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <subviews> <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="iYk-ZZ-99v"> <rect key="frame" x="0.0" y="42" width="266" height="259"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> </imageView> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="erU-a7-ZJK"> <rect key="frame" x="0.0" y="0.0" width="266" height="42"/> <subviews> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="MM2-uD-HT4"> <rect key="frame" x="6" y="6" width="30" height="30"/> <constraints> <constraint firstAttribute="width" secondItem="MM2-uD-HT4" secondAttribute="height" multiplier="1:1" id="dBU-VQ-bdh"/> </constraints> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="群名称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="d5t-im-rkV"> <rect key="frame" x="42" y="6" width="37" height="15"/> <fontDescription key="fontDescription" type="system" pointSize="12"/> <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8zv-Pc-in4"> <rect key="frame" x="42" y="27" width="24" height="11"/> <fontDescription key="fontDescription" type="system" pointSize="9"/> <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="height" constant="42" id="7Ya-9D-qOs"/> <constraint firstItem="8zv-Pc-in4" firstAttribute="leading" secondItem="d5t-im-rkV" secondAttribute="leading" id="A5J-Jd-I27"/> <constraint firstItem="8zv-Pc-in4" firstAttribute="top" secondItem="d5t-im-rkV" secondAttribute="bottom" constant="6" id="MGV-So-Zxl"/> <constraint firstAttribute="bottom" secondItem="MM2-uD-HT4" secondAttribute="bottom" constant="6" id="eZX-dQ-Qlx"/> <constraint firstItem="d5t-im-rkV" firstAttribute="leading" secondItem="MM2-uD-HT4" secondAttribute="trailing" constant="6" id="jRL-dW-17k"/> <constraint firstItem="d5t-im-rkV" firstAttribute="top" secondItem="MM2-uD-HT4" secondAttribute="top" id="nzA-Dx-P9k"/> <constraint firstItem="MM2-uD-HT4" firstAttribute="top" secondItem="erU-a7-ZJK" secondAttribute="top" constant="6" id="rQL-E0-Gws"/> <constraint firstItem="MM2-uD-HT4" firstAttribute="leading" secondItem="erU-a7-ZJK" secondAttribute="leading" constant="6" id="tV3-Gt-ml8"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qGY-qB-XSl"> <rect key="frame" x="0.0" y="301" width="266" height="32"/> <subviews> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon-thumbup" translatesAutoresizingMaskIntoConstraints="NO" id="UY4-Qk-Rt9"> <rect key="frame" x="8" y="-2" width="36" height="36"/> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Vth-es-l5X"> <rect key="frame" x="48" y="10" width="6.5" height="12"/> <fontDescription key="fontDescription" type="system" pointSize="10"/> <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon-comment" translatesAutoresizingMaskIntoConstraints="NO" id="31M-cU-gad"> <rect key="frame" x="64.5" y="-2" width="36" height="36"/> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="koM-0x-z5o"> <rect key="frame" x="104.5" y="10.5" width="6" height="11"/> <fontDescription key="fontDescription" type="system" pointSize="9"/> <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> </label> </subviews> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstItem="31M-cU-gad" firstAttribute="leading" secondItem="Vth-es-l5X" secondAttribute="trailing" constant="10" id="Spg-k9-iz1"/> <constraint firstAttribute="height" constant="32" id="Sxy-Ph-m2Z"/> <constraint firstItem="koM-0x-z5o" firstAttribute="leading" secondItem="31M-cU-gad" secondAttribute="trailing" constant="4" id="UPR-0L-QPR"/> <constraint firstItem="UY4-Qk-Rt9" firstAttribute="leading" secondItem="qGY-qB-XSl" secondAttribute="leading" constant="8" id="iKa-bT-LUl"/> <constraint firstItem="UY4-Qk-Rt9" firstAttribute="centerY" secondItem="qGY-qB-XSl" secondAttribute="centerY" id="jSq-RC-TJR"/> <constraint firstItem="Vth-es-l5X" firstAttribute="centerY" secondItem="UY4-Qk-Rt9" secondAttribute="centerY" id="mrG-He-q01"/> <constraint firstItem="Vth-es-l5X" firstAttribute="leading" secondItem="UY4-Qk-Rt9" secondAttribute="trailing" constant="4" id="ue4-jx-ubu"/> <constraint firstItem="31M-cU-gad" firstAttribute="centerY" secondItem="UY4-Qk-Rt9" secondAttribute="centerY" id="wnA-3V-cMJ"/> <constraint firstItem="koM-0x-z5o" firstAttribute="centerY" secondItem="UY4-Qk-Rt9" secondAttribute="centerY" id="x9a-kM-cxH"/> </constraints> </view> </subviews> </view> <constraints> <constraint firstAttribute="trailing" secondItem="qGY-qB-XSl" secondAttribute="trailing" id="0nN-bc-Iia"/> <constraint firstItem="erU-a7-ZJK" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="2lB-OI-OKi"/> <constraint firstItem="iYk-ZZ-99v" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="9en-uE-8um"/> <constraint firstAttribute="trailing" secondItem="iYk-ZZ-99v" secondAttribute="trailing" id="LU5-iG-RKj"/> <constraint firstItem="qGY-qB-XSl" firstAttribute="top" secondItem="iYk-ZZ-99v" secondAttribute="bottom" id="eHI-xl-GcC"/> <constraint firstItem="qGY-qB-XSl" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="qNQ-pr-oaJ"/> <constraint firstItem="erU-a7-ZJK" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="uWj-p1-FwF"/> <constraint firstItem="iYk-ZZ-99v" firstAttribute="top" secondItem="erU-a7-ZJK" secondAttribute="bottom" id="v12-HM-n4v"/> <constraint firstAttribute="trailing" secondItem="erU-a7-ZJK" secondAttribute="trailing" id="yAS-Lc-iwn"/> <constraint firstAttribute="bottom" secondItem="qGY-qB-XSl" secondAttribute="bottom" id="z3f-tS-LzE"/> </constraints> <size key="customSize" width="266" height="333"/> <connections> <outlet property="commentLabel" destination="koM-0x-z5o" id="8pN-3v-z79"/> <outlet property="headImageView" destination="MM2-uD-HT4" id="D43-ag-uiB"/> <outlet property="headLabel" destination="d5t-im-rkV" id="dkZ-3z-QWs"/> <outlet property="headView" destination="erU-a7-ZJK" id="UNr-1e-esk"/> <outlet property="photoImage" destination="iYk-ZZ-99v" id="IpL-7a-g06"/> <outlet property="thumbupLabel" destination="Vth-es-l5X" id="2an-yh-spO"/> <outlet property="timeLabel" destination="8zv-Pc-in4" id="74H-pw-Urg"/> </connections> <point key="canvasLocation" x="199" y="177"/> </collectionViewCell> </objects> <resources> <image name="icon-comment" width="36" height="36"/> <image name="icon-thumbup" width="36" height="36"/> </resources> </document>