KWMInformationView.xib 5.14 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 65 66 67 68
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" 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" customClass="KWMInformationView">
            <connections>
                <outlet property="lbTitle" destination="cxu-kl-K1l" id="ffz-K6-e7m"/>
                <outlet property="vContent" destination="iN0-l3-epB" id="X3S-N2-SgG"/>
            </connections>
        </placeholder>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
        <view contentMode="scaleToFill" id="iN0-l3-epB">
            <rect key="frame" x="0.0" y="0.0" width="375" height="64"/>
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
            <subviews>
                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QqL-u9-3vU">
                    <rect key="frame" x="0.0" y="20" width="375" height="44"/>
                    <subviews>
                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cxu-kl-K1l">
                            <rect key="frame" x="167" y="11" width="40.5" height="22.5"/>
                            <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
                            <color key="textColor" red="0.32941176470588235" green="0.32941176470588235" blue="0.32941176470588235" alpha="1" colorSpace="calibratedRGB"/>
                            <nil key="highlightedColor"/>
                        </label>
                        <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="u0k-EW-AyG">
                            <rect key="frame" x="10" y="0.0" width="44" height="44"/>
                            <constraints>
                                <constraint firstAttribute="height" constant="44" id="HeC-RL-14O"/>
                                <constraint firstAttribute="width" constant="44" id="QZU-W9-YMe"/>
                            </constraints>
                            <state key="normal" image="button_close"/>
                            <connections>
                                <action selector="onClickBackBtn:" destination="-1" eventType="touchUpInside" id="v32-J7-acW"/>
                            </connections>
                        </button>
                    </subviews>
                    <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                    <constraints>
                        <constraint firstItem="u0k-EW-AyG" firstAttribute="leading" secondItem="QqL-u9-3vU" secondAttribute="leading" constant="10" id="7c4-eR-P9r"/>
                        <constraint firstItem="cxu-kl-K1l" firstAttribute="centerY" secondItem="QqL-u9-3vU" secondAttribute="centerY" id="99Q-Ra-B8A"/>
                        <constraint firstItem="u0k-EW-AyG" firstAttribute="centerY" secondItem="QqL-u9-3vU" secondAttribute="centerY" id="KYV-y8-vQL"/>
                        <constraint firstItem="cxu-kl-K1l" firstAttribute="centerX" secondItem="QqL-u9-3vU" secondAttribute="centerX" id="Lsh-cu-yR3"/>
                    </constraints>
                </view>
            </subviews>
            <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
            <constraints>
                <constraint firstItem="QqL-u9-3vU" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="bDU-wO-ePO"/>
                <constraint firstAttribute="trailing" secondItem="QqL-u9-3vU" secondAttribute="trailing" id="cbU-Yf-OeT"/>
                <constraint firstItem="QqL-u9-3vU" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="dmb-pB-85i"/>
                <constraint firstAttribute="bottom" secondItem="QqL-u9-3vU" secondAttribute="bottom" id="m75-OH-btr"/>
            </constraints>
            <nil key="simulatedStatusBarMetrics"/>
            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
            <point key="canvasLocation" x="34.5" y="95"/>
        </view>
    </objects>
    <resources>
        <image name="button_close" width="16" height="15"/>
    </resources>
</document>