UIChatCell.xib 9.36 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
DanmeiChen's avatar
DanmeiChen committed
3
    <device id="retina4_7" orientation="portrait" appearance="light"/>
4
    <dependencies>
Gautier Pelloux-Prayer's avatar
Gautier Pelloux-Prayer committed
5
        <deployment identifier="iOS"/>
6
        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
7
        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
8 9 10 11 12 13 14
    </dependencies>
    <objects>
        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="UIChatCell">
            <connections>
                <outlet property="addressLabel" destination="20" id="38"/>
                <outlet property="avatarImage" destination="19" id="30"/>
                <outlet property="chatContentLabel" destination="21" id="24"/>
Gautier Pelloux-Prayer's avatar
Gautier Pelloux-Prayer committed
15
                <outlet property="chatLatestTimeLabel" destination="r7A-Mk-LQX" id="J0r-yr-YLk"/>
16
                <outlet property="ephemeral" destination="q18-yi-ol3" id="xhD-9e-BbP"/>
17
                <outlet property="imdmIcon" destination="aa2-Kl-c1H" id="rnr-XY-r9K"/>
DanmeiChen's avatar
DanmeiChen committed
18
                <outlet property="securityImage" destination="kdl-Ln-eWv" id="S9v-cN-u4w"/>
19 20
                <outlet property="unreadCountLabel" destination="ZXq-Do-7Ua" id="anx-Na-sYz"/>
                <outlet property="unreadCountView" destination="7DE-KJ-9Q3" id="hkt-rA-EKa"/>
21 22 23
            </connections>
        </placeholder>
        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
DanmeiChen's avatar
DanmeiChen committed
24
        <view contentMode="scaleToFill" id="17">
DanmeiChen's avatar
DanmeiChen committed
25
            <rect key="frame" x="0.0" y="0.0" width="375" height="86"/>
26
            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
27
            <subviews>
DanmeiChen's avatar
DanmeiChen committed
28
                <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" fixedFrame="YES" image="avatar.png" translatesAutoresizingMaskIntoConstraints="NO" id="19" userLabel="avatarImage" customClass="UIRoundedImageView">
DanmeiChen's avatar
DanmeiChen committed
29
                    <rect key="frame" x="10" y="11" width="42" height="42"/>
30
                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
Gautier Pelloux-Prayer's avatar
Gautier Pelloux-Prayer committed
31
                </imageView>
DanmeiChen's avatar
DanmeiChen committed
32
                <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" fixedFrame="YES" image="security_1_indicator.png" translatesAutoresizingMaskIntoConstraints="NO" id="kdl-Ln-eWv" userLabel="securityImage">
DanmeiChen's avatar
DanmeiChen committed
33 34 35
                    <rect key="frame" x="41" y="11" width="18" height="22"/>
                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                </imageView>
DanmeiChen's avatar
DanmeiChen committed
36
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" fixedFrame="YES" text="11:15" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" minimumFontSize="1" translatesAutoresizingMaskIntoConstraints="NO" id="r7A-Mk-LQX" userLabel="chatLatestTimeLabel">
DanmeiChen's avatar
DanmeiChen committed
37
                    <rect key="frame" x="8" y="57" width="44" height="19"/>
38
                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
39
                    <accessibility key="accessibilityConfiguration" label=""/>
40
                    <fontDescription key="fontDescription" type="boldSystem" pointSize="25"/>
41
                    <color key="textColor" red="0.98766469955444336" green="0.27512490749359131" blue="0.029739789664745331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
42 43
                    <nil key="highlightedColor"/>
                </label>
DanmeiChen's avatar
DanmeiChen committed
44
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" fixedFrame="YES" text="John Doe" lineBreakMode="tailTruncation" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="20" userLabel="addressLabel">
DanmeiChen's avatar
DanmeiChen committed
45
                    <rect key="frame" x="69" y="17" width="255" height="23"/>
Gautier Pelloux-Prayer's avatar
Gautier Pelloux-Prayer committed
46
                    <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
Guillaume BIENKOWSKI's avatar
Guillaume BIENKOWSKI committed
47
                    <accessibility key="accessibilityConfiguration" label="Contact name"/>
DanmeiChen's avatar
DanmeiChen committed
48
                    <fontDescription key="fontDescription" name=".SFNSDisplay" family=".SF NS Display" pointSize="21"/>
DanmeiChen's avatar
DanmeiChen committed
49
                    <nil key="textColor"/>
50 51
                    <nil key="highlightedColor"/>
                </label>
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
                <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="chat_read.png" translatesAutoresizingMaskIntoConstraints="NO" id="aa2-Kl-c1H" userLabel="imdmIcon">
                    <rect key="frame" x="69" y="55" width="13" height="13"/>
                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES"/>
                    <accessibility key="accessibilityConfiguration" label="Delivery failed">
                        <accessibilityTraits key="traits" button="YES" image="YES"/>
                    </accessibility>
                </imageView>
                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="2" contentMode="left" fixedFrame="YES" text="This is a placeholder message" lineBreakMode="tailTruncation" numberOfLines="2" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="21" userLabel="chatContentLabel">
                    <rect key="frame" x="85" y="43" width="239" height="37"/>
                    <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" heightSizable="YES"/>
                    <accessibility key="accessibilityConfiguration" label="Message"/>
                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
                    <nil key="textColor"/>
                    <nil key="highlightedColor"/>
                </label>
                <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="ephemeral_messages_color_A.png" translatesAutoresizingMaskIntoConstraints="NO" id="q18-yi-ol3">
                    <rect key="frame" x="338" y="51" width="21" height="21"/>
                    <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
                </imageView>
DanmeiChen's avatar
DanmeiChen committed
71
                <view hidden="YES" autoresizesSubviews="NO" userInteractionEnabled="NO" tag="7" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="7DE-KJ-9Q3" userLabel="unreadCountView" customClass="UIBouncingView">
72
                    <rect key="frame" x="338" y="12" width="21" height="21"/>
Gautier Pelloux-Prayer's avatar
Gautier Pelloux-Prayer committed
73
                    <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
74
                    <subviews>
DanmeiChen's avatar
DanmeiChen committed
75
                        <imageView userInteractionEnabled="NO" tag="8" contentMode="scaleAspectFit" fixedFrame="YES" image="chat_list_indicator.png" translatesAutoresizingMaskIntoConstraints="NO" id="NXj-A8-YLh" userLabel="unreadCountImage">
76
                            <rect key="frame" x="0.0" y="0.0" width="21" height="21"/>
Gautier Pelloux-Prayer's avatar
Gautier Pelloux-Prayer committed
77
                            <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
78
                        </imageView>
DanmeiChen's avatar
DanmeiChen committed
79
                        <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" tag="9" contentMode="left" fixedFrame="YES" text="99" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" translatesAutoresizingMaskIntoConstraints="NO" id="ZXq-Do-7Ua" userLabel="unreadCountLabel">
80
                            <rect key="frame" x="0.0" y="0.0" width="21" height="21"/>
Gautier Pelloux-Prayer's avatar
Gautier Pelloux-Prayer committed
81
                            <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
82
                            <accessibility key="accessibilityConfiguration">
83
                                <accessibilityTraits key="traits" none="YES"/>
84
                                <bool key="isElement" value="NO"/>
85 86
                            </accessibility>
                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
87
                            <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
88 89 90
                            <nil key="highlightedColor"/>
                        </label>
                    </subviews>
91
                    <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
92
                </view>
93
            </subviews>
Guillaume BIENKOWSKI's avatar
Guillaume BIENKOWSKI committed
94 95
            <nil key="simulatedStatusBarMetrics"/>
            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
96
            <point key="canvasLocation" x="226.40000000000001" y="160.11994002998503"/>
97 98 99
        </view>
    </objects>
    <resources>
DanmeiChen's avatar
DanmeiChen committed
100 101 102
        <image name="avatar.png" width="414.39999389648438" height="414.39999389648438"/>
        <image name="chat_list_indicator.png" width="28" height="28"/>
        <image name="chat_read.png" width="20" height="20"/>
103
        <image name="ephemeral_messages_color_A.png" width="136" height="158.39999389648438"/>
DanmeiChen's avatar
DanmeiChen committed
104
        <image name="security_1_indicator.png" width="27.5" height="32.5"/>
105
    </resources>
Guillaume BIENKOWSKI's avatar
Guillaume BIENKOWSKI committed
106
</document>