KWMLeftCategoryCell.xib 5.06 KB
Newer Older
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
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="12121" systemVersion="16F73" 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="12089"/>
        <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"/>
        <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="KWMLeftCategoryCell">
            <rect key="frame" x="0.0" y="0.0" width="90" height="60"/>
            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
            <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
                <rect key="frame" x="0.0" y="0.0" width="90" height="59.5"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JCm-bX-LN5">
                        <rect key="frame" x="0.0" y="0.0" width="90" height="59.5"/>
                        <subviews>
                            <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="test_category" translatesAutoresizingMaskIntoConstraints="NO" id="AgB-Gc-x75">
                                <rect key="frame" x="30" y="5" width="30" height="30"/>
                                <constraints>
                                    <constraint firstAttribute="width" constant="30" id="Cwa-7S-AOw"/>
                                    <constraint firstAttribute="height" constant="30" id="bVj-hu-0u2"/>
                                </constraints>
                            </imageView>
                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="上衣" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="O2z-nf-pqq">
                                <rect key="frame" x="32" y="35" width="26.5" height="18.5"/>
                                <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                                <color key="textColor" red="0.32941176470588235" green="0.32941176470588235" blue="0.32941176470588235" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                <nil key="highlightedColor"/>
                            </label>
                        </subviews>
                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                        <constraints>
                            <constraint firstItem="AgB-Gc-x75" firstAttribute="centerX" secondItem="JCm-bX-LN5" secondAttribute="centerX" id="MZN-8r-ep6"/>
                            <constraint firstItem="O2z-nf-pqq" firstAttribute="centerX" secondItem="JCm-bX-LN5" secondAttribute="centerX" id="kO3-bC-3qr"/>
                            <constraint firstItem="AgB-Gc-x75" firstAttribute="top" secondItem="JCm-bX-LN5" secondAttribute="top" constant="5" id="x1h-iO-rkU"/>
                            <constraint firstItem="O2z-nf-pqq" firstAttribute="top" secondItem="AgB-Gc-x75" secondAttribute="bottom" id="xmQ-Sk-Eo7"/>
                        </constraints>
                    </view>
                </subviews>
                <constraints>
                    <constraint firstItem="JCm-bX-LN5" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="7zW-e0-FaU"/>
                    <constraint firstAttribute="trailing" secondItem="JCm-bX-LN5" secondAttribute="trailing" id="8bp-ge-oM8"/>
                    <constraint firstItem="JCm-bX-LN5" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="MZm-fF-F9Q"/>
                    <constraint firstAttribute="bottom" secondItem="JCm-bX-LN5" secondAttribute="bottom" id="umZ-4B-2Rg"/>
                </constraints>
            </tableViewCellContentView>
            <connections>
                <outlet property="ivCategory" destination="AgB-Gc-x75" id="DN6-Iw-76m"/>
                <outlet property="lbTitle" destination="O2z-nf-pqq" id="Rzs-IN-Kho"/>
            </connections>
        </tableViewCell>
    </objects>
    <resources>
        <image name="test_category" width="28" height="21"/>
    </resources>
</document>