11
This commit is contained in:
67
ShenQi/NotiCenterImageTableViewCell.xib
Normal file
67
ShenQi/NotiCenterImageTableViewCell.xib
Normal file
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" 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="22685"/>
|
||||
<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"/>
|
||||
<tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="NotiCenterImageTableViewCell">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="244"/>
|
||||
<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="320" height="244"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1rb-eT-Nio">
|
||||
<rect key="frame" x="15" y="0.0" width="290" height="244"/>
|
||||
<subviews>
|
||||
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="zhanwei" translatesAutoresizingMaskIntoConstraints="NO" id="zKK-V0-BdP">
|
||||
<rect key="frame" x="0.0" y="0.0" width="290" height="200"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="200" id="7xZ-86-lYP"/>
|
||||
</constraints>
|
||||
</imageView>
|
||||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iR3-wu-qoW">
|
||||
<rect key="frame" x="15" y="215" width="260" height="19"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="iR3-wu-qoW" firstAttribute="centerX" secondItem="1rb-eT-Nio" secondAttribute="centerX" id="RQZ-fQ-m5a"/>
|
||||
<constraint firstItem="iR3-wu-qoW" firstAttribute="leading" secondItem="1rb-eT-Nio" secondAttribute="leading" constant="15" id="cJC-Hg-OGF"/>
|
||||
<constraint firstItem="zKK-V0-BdP" firstAttribute="centerX" secondItem="1rb-eT-Nio" secondAttribute="centerX" id="hhT-Cc-pPI"/>
|
||||
<constraint firstItem="zKK-V0-BdP" firstAttribute="width" secondItem="1rb-eT-Nio" secondAttribute="width" id="k8Y-OO-Lni"/>
|
||||
<constraint firstItem="iR3-wu-qoW" firstAttribute="top" secondItem="zKK-V0-BdP" secondAttribute="bottom" constant="15" id="mTp-7p-nmt"/>
|
||||
<constraint firstAttribute="bottom" secondItem="iR3-wu-qoW" secondAttribute="bottom" constant="10" id="ns6-Lc-NNT"/>
|
||||
<constraint firstItem="zKK-V0-BdP" firstAttribute="top" secondItem="1rb-eT-Nio" secondAttribute="top" id="rWX-n2-AC3"/>
|
||||
</constraints>
|
||||
</view>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="1rb-eT-Nio" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="D01-aE-Kde"/>
|
||||
<constraint firstItem="1rb-eT-Nio" firstAttribute="height" secondItem="H2p-sc-9uM" secondAttribute="height" id="D6l-H4-QW0"/>
|
||||
<constraint firstItem="1rb-eT-Nio" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="iy3-HL-mKr"/>
|
||||
<constraint firstItem="1rb-eT-Nio" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="yYR-Mx-oq9"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
<viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
|
||||
<connections>
|
||||
<outlet property="contentImageView" destination="zKK-V0-BdP" id="KVo-ME-9Cl"/>
|
||||
<outlet property="contentLabel" destination="iR3-wu-qoW" id="F7s-d7-QPS"/>
|
||||
<outlet property="imageHeightConstraint" destination="7xZ-86-lYP" id="xCQ-wP-UFe"/>
|
||||
</connections>
|
||||
<point key="canvasLocation" x="113" y="20"/>
|
||||
</tableViewCell>
|
||||
</objects>
|
||||
<resources>
|
||||
<image name="zhanwei" width="200" height="200"/>
|
||||
</resources>
|
||||
</document>
|
||||
Reference in New Issue
Block a user