Newer
Older
Meterage_iOS / Meterage / Cells / SampleCollectionViewCell.xib
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
    <device id="retina6_12" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="SampleCollectionViewCell" customModule="Meterage" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="120" height="120"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="120" height="120"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nXV-r2-52Y">
                        <rect key="frame" x="39" y="45" width="42.333333333333343" height="19.333333333333329"/>
                        <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
                        <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                        <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="Xjn-Bc-gfH">
                        <rect key="frame" x="42.333333333333329" y="69.333333333333329" width="35.333333333333329" height="17"/>
                        <fontDescription key="fontDescription" type="system" pointSize="14"/>
                        <nil key="textColor"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cRD-SU-j0B">
                        <rect key="frame" x="42.666666666666664" y="5" width="34.999999999999993" height="35"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="35" id="AbJ-jE-Hrb"/>
                            <constraint firstAttribute="height" constant="35" id="Y3A-QJ-eCw"/>
                        </constraints>
                    </imageView>
                </subviews>
            </view>
            <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
            <constraints>
                <constraint firstItem="nXV-r2-52Y" firstAttribute="top" secondItem="cRD-SU-j0B" secondAttribute="bottom" constant="5" id="1D9-nq-d3p"/>
                <constraint firstItem="cRD-SU-j0B" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="Oqs-Px-wLx"/>
                <constraint firstItem="Xjn-Bc-gfH" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="hCg-Xh-0dB"/>
                <constraint firstItem="Xjn-Bc-gfH" firstAttribute="top" secondItem="nXV-r2-52Y" secondAttribute="bottom" constant="5" id="mpw-0x-yYc"/>
                <constraint firstItem="nXV-r2-52Y" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="n3g-em-7lX"/>
                <constraint firstItem="cRD-SU-j0B" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="5" id="w8e-YC-yoq"/>
            </constraints>
            <size key="customSize" width="160" height="191"/>
            <connections>
                <outlet property="countView" destination="nXV-r2-52Y" id="ePW-00-Zrl"/>
                <outlet property="imageView" destination="cRD-SU-j0B" id="idY-yK-mEy"/>
                <outlet property="titleView" destination="Xjn-Bc-gfH" id="FaA-ay-Mbc"/>
            </connections>
            <point key="canvasLocation" x="89" y="12"/>
        </collectionViewCell>
    </objects>
</document>