KWMBrandCell.xib 5.27 KB
Newer Older
houweibin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
    <device id="retina4_7" orientation="portrait">
        <adaptation id="fullscreen"/>
    </device>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/>
        <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" reuseIdentifier="KWMBrandCell" id="gTV-IL-0wX" customClass="KWMBrandCell">
            <rect key="frame" x="0.0" y="0.0" width="375" height="187"/>
            <autoresizingMask key="autoresizingMask"/>
            <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
                <rect key="frame" x="0.0" y="0.0" width="375" height="187"/>
                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                <subviews>
                    <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="RfR-MH-ogD">
                        <rect key="frame" x="0.0" y="0.0" width="375" height="187"/>
                    </imageView>
                    <view alpha="0.45000000000000001" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pgw-hU-OaN">
                        <rect key="frame" x="0.0" y="0.0" width="375" height="187"/>
                        <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                    </view>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="605-GN-bdl">
                        <rect key="frame" x="167.5" y="79.5" width="40.5" height="28"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="20"/>
                        <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                </subviews>
            </view>
            <constraints>
                <constraint firstItem="605-GN-bdl" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="49" id="78w-7w-fHv"/>
                <constraint firstAttribute="bottom" secondItem="RfR-MH-ogD" secondAttribute="bottom" id="92l-be-3lu"/>
                <constraint firstItem="pgw-hU-OaN" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Cka-MD-CYf"/>
                <constraint firstItem="605-GN-bdl" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="IGc-4k-oPK"/>
                <constraint firstItem="RfR-MH-ogD" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="JPS-gP-uFH"/>
                <constraint firstItem="RfR-MH-ogD" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="MHt-Xz-hfQ"/>
                <constraint firstAttribute="bottom" secondItem="pgw-hU-OaN" secondAttribute="bottom" id="PXQ-UG-Sm4"/>
                <constraint firstItem="605-GN-bdl" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="bBp-8n-8J4"/>
                <constraint firstItem="pgw-hU-OaN" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="gP2-WT-7zV"/>
                <constraint firstAttribute="trailing" secondItem="RfR-MH-ogD" secondAttribute="trailing" id="hPv-qX-1AY"/>
                <constraint firstItem="605-GN-bdl" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="132" id="kbK-kA-kwj"/>
                <constraint firstAttribute="trailing" secondItem="pgw-hU-OaN" secondAttribute="trailing" id="tPk-PA-Qi4"/>
            </constraints>
            <variation key="default">
                <mask key="constraints">
                    <exclude reference="78w-7w-fHv"/>
                    <exclude reference="kbK-kA-kwj"/>
                </mask>
            </variation>
            <connections>
                <outlet property="ivBackground" destination="RfR-MH-ogD" id="yKq-5U-myh"/>
                <outlet property="lbTitle" destination="605-GN-bdl" id="Szs-nN-VJ6"/>
                <outlet property="vBackgroud" destination="pgw-hU-OaN" id="ggD-ZN-fhB"/>
            </connections>
            <point key="canvasLocation" x="459.5" y="236.5"/>
        </collectionViewCell>
    </objects>
</document>