ContactCell.xib 9.79 KB
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
    <device id="retina6_1" orientation="portrait" appearance="light"/>
    <dependencies>
        <deployment identifier="iOS"/>
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
        <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="none" indentationWidth="10" rowHeight="72" id="KGk-i7-Jjw" customClass="ContactCell" customModule="Twear" customModuleProvider="target">
            <rect key="frame" x="0.0" y="0.0" width="390" height="72"/>
            <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="390" height="72"/>
                <autoresizingMask key="autoresizingMask"/>
                <subviews>
                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vw4-da-3ov">
                        <rect key="frame" x="12" y="21" width="30" height="30"/>
                        <subviews>
                            <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5cY-U1-JN1">
                                <rect key="frame" x="0.0" y="0.0" width="30" height="30"/>
                                <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                                <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                <nil key="highlightedColor"/>
                            </label>
                        </subviews>
                        <color key="backgroundColor" red="0.0" green="0.59999999999999998" blue="0.24313725490196078" alpha="1" colorSpace="calibratedRGB"/>
                        <constraints>
                            <constraint firstItem="5cY-U1-JN1" firstAttribute="top" secondItem="vw4-da-3ov" secondAttribute="top" id="0gi-A1-MfO"/>
                            <constraint firstAttribute="height" constant="30" id="GGn-XF-a30"/>
                            <constraint firstAttribute="trailing" secondItem="5cY-U1-JN1" secondAttribute="trailing" id="J3G-rW-f2F"/>
                            <constraint firstItem="5cY-U1-JN1" firstAttribute="leading" secondItem="vw4-da-3ov" secondAttribute="leading" id="cwV-vh-shn"/>
                            <constraint firstAttribute="bottom" secondItem="5cY-U1-JN1" secondAttribute="bottom" id="pVu-54-5Qc"/>
                            <constraint firstAttribute="width" constant="30" id="w5U-LV-xGt"/>
                        </constraints>
                        <userDefinedRuntimeAttributes>
                            <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
                                <integer key="value" value="15"/>
                            </userDefinedRuntimeAttribute>
                        </userDefinedRuntimeAttributes>
                    </view>
                    <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BeG-iQ-7ux">
                        <rect key="frame" x="52" y="17.5" width="267" height="21"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="15"/>
                        <nil key="textColor"/>
                        <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="262-2e-ia6">
                        <rect key="frame" x="52" y="36.5" width="267" height="19"/>
                        <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
                        <color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
                        <nil key="highlightedColor"/>
                    </label>
                    <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="contact_selected" translatesAutoresizingMaskIntoConstraints="NO" id="nrf-aw-GNN">
                        <rect key="frame" x="339" y="28" width="16" height="16"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="16" id="0KC-co-mw8"/>
                            <constraint firstAttribute="height" constant="16" id="y2X-zG-Vwj"/>
                        </constraints>
                    </imageView>
                    <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qrI-rI-Lvn">
                        <rect key="frame" x="340" y="11" width="50" height="50"/>
                        <constraints>
                            <constraint firstAttribute="width" constant="50" id="Uec-j7-cmf"/>
                            <constraint firstAttribute="height" constant="50" id="h2t-VE-1ec"/>
                        </constraints>
                        <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
                        <state key="normal" image="sos_not_selected"/>
                        <connections>
                            <action selector="clickSOS:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="HTX-4M-BtC"/>
                        </connections>
                    </button>
                </subviews>
                <constraints>
                    <constraint firstItem="262-2e-ia6" firstAttribute="bottom" secondItem="vw4-da-3ov" secondAttribute="bottom" constant="4.5" id="3o6-YJ-naN"/>
                    <constraint firstAttribute="trailing" secondItem="qrI-rI-Lvn" secondAttribute="trailing" id="AS2-Lb-HPY"/>
                    <constraint firstItem="vw4-da-3ov" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Csb-DY-LiH"/>
                    <constraint firstItem="nrf-aw-GNN" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="ZE3-i4-BwS"/>
                    <constraint firstItem="vw4-da-3ov" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="12" id="blJ-3F-qQ7"/>
                    <constraint firstItem="nrf-aw-GNN" firstAttribute="leading" secondItem="262-2e-ia6" secondAttribute="trailing" constant="20" id="cEH-2I-VYS"/>
                    <constraint firstItem="qrI-rI-Lvn" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="cFi-KZ-G3D"/>
                    <constraint firstAttribute="trailing" secondItem="nrf-aw-GNN" secondAttribute="trailing" constant="35" id="fkz-wR-B8j"/>
                    <constraint firstItem="BeG-iQ-7ux" firstAttribute="top" secondItem="vw4-da-3ov" secondAttribute="top" constant="-3.5" id="gz2-zp-raL"/>
                    <constraint firstItem="BeG-iQ-7ux" firstAttribute="leading" secondItem="vw4-da-3ov" secondAttribute="trailing" constant="10" id="iHw-sd-2PK"/>
                    <constraint firstItem="nrf-aw-GNN" firstAttribute="leading" secondItem="BeG-iQ-7ux" secondAttribute="trailing" constant="20" id="wH5-Az-vRe"/>
                    <constraint firstItem="262-2e-ia6" firstAttribute="leading" secondItem="BeG-iQ-7ux" secondAttribute="leading" id="x1m-A7-Q8v"/>
                </constraints>
            </tableViewCellContentView>
            <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
            <connections>
                <outlet property="familyNameLabel" destination="5cY-U1-JN1" id="NoB-O5-WJt"/>
                <outlet property="nameLabel" destination="BeG-iQ-7ux" id="qct-7r-HFn"/>
                <outlet property="numberLabel" destination="262-2e-ia6" id="8vP-JZ-foM"/>
                <outlet property="selectedImageView" destination="nrf-aw-GNN" id="6uZ-8e-hJK"/>
                <outlet property="sosButton" destination="qrI-rI-Lvn" id="kfo-7G-74N"/>
            </connections>
            <point key="canvasLocation" x="185.50724637681162" y="57.589285714285708"/>
        </tableViewCell>
    </objects>
    <resources>
        <image name="contact_selected" width="16" height="16"/>
        <image name="sos_not_selected" width="16" height="16"/>
    </resources>
</document>