-
Notifications
You must be signed in to change notification settings - Fork 0
/
TweetCell.xib
106 lines (106 loc) · 11 KB
/
TweetCell.xib
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9532" systemVersion="15C50" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="TweetCell" rowHeight="247" id="Lmn-kO-fZf" customClass="TweetCell" customModule="SmartStream" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="497" height="247"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Lmn-kO-fZf" id="GMR-73-oHE">
<rect key="frame" x="0.0" y="0.0" width="497" height="246.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="c5A-8n-2dz">
<rect key="frame" x="8" y="8" width="40" height="40"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="aJD-aE-UiO"/>
<constraint firstAttribute="width" constant="40" id="z61-v5-9TT"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3Db-n4-zbh">
<rect key="frame" x="56" y="8" width="433" height="230"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Elon Musk" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dAD-WA-gh7">
<rect key="frame" x="8" y="8" width="58" height="14.5"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" image="twitter" translatesAutoresizingMaskIntoConstraints="NO" id="QIG-bk-1m1">
<rect key="frame" x="71" y="11" width="10" height="8"/>
<constraints>
<constraint firstAttribute="height" constant="8" id="2Ke-ew-wuR"/>
<constraint firstAttribute="width" constant="10" id="LMB-zL-lCO"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="Mar 20" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pyo-vP-T7Y">
<rect key="frame" x="391" y="10" width="34" height="12"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.55777243589743586" green="0.55777243589743586" blue="0.55777243589743586" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="@elonmusk" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z2X-bo-NJm">
<rect key="frame" x="83" y="10" width="55.5" height="12"/>
<fontDescription key="fontDescription" type="system" pointSize="10"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Nhz-UX-HOb">
<rect key="frame" x="8" y="27" width="417" height="50.5"/>
<string key="text">The AEI meeting wasn't secret and I was only there for a few hours to talk about Mars and sustainable energy. Nothing to do with Trump.</string>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="pyo-vP-T7Y" secondAttribute="trailing" constant="8" id="B89-1f-dC2"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="50" id="C5m-Ws-CX5"/>
<constraint firstItem="Z2X-bo-NJm" firstAttribute="leading" secondItem="QIG-bk-1m1" secondAttribute="trailing" constant="2" id="EFl-lw-BsV"/>
<constraint firstItem="dAD-WA-gh7" firstAttribute="leading" secondItem="3Db-n4-zbh" secondAttribute="leading" constant="8" id="Hfu-ES-ywd"/>
<constraint firstAttribute="trailing" secondItem="Nhz-UX-HOb" secondAttribute="trailing" constant="8" id="NGL-xd-dyi"/>
<constraint firstItem="pyo-vP-T7Y" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="Z2X-bo-NJm" secondAttribute="trailing" constant="8" id="Q8d-Oq-Nds"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Nhz-UX-HOb" secondAttribute="bottom" constant="8" id="T5R-bl-Zbs"/>
<constraint firstItem="QIG-bk-1m1" firstAttribute="leading" secondItem="dAD-WA-gh7" secondAttribute="trailing" constant="5" id="YWV-FF-IJ3"/>
<constraint firstItem="pyo-vP-T7Y" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="QIG-bk-1m1" secondAttribute="trailing" constant="8" id="Zty-su-WC3"/>
<constraint firstItem="Z2X-bo-NJm" firstAttribute="baseline" secondItem="dAD-WA-gh7" secondAttribute="baseline" id="dTX-1D-JhF"/>
<constraint firstItem="dAD-WA-gh7" firstAttribute="top" secondItem="3Db-n4-zbh" secondAttribute="top" constant="8" id="goZ-dS-1sz"/>
<constraint firstItem="Nhz-UX-HOb" firstAttribute="leading" secondItem="3Db-n4-zbh" secondAttribute="leading" constant="8" id="i4p-G1-PZi"/>
<constraint firstItem="QIG-bk-1m1" firstAttribute="baseline" secondItem="dAD-WA-gh7" secondAttribute="baseline" id="oeD-mT-k4A"/>
<constraint firstItem="Nhz-UX-HOb" firstAttribute="top" secondItem="dAD-WA-gh7" secondAttribute="bottom" constant="5" id="p4g-nq-bWp"/>
<constraint firstItem="pyo-vP-T7Y" firstAttribute="baseline" secondItem="dAD-WA-gh7" secondAttribute="baseline" id="uFe-ho-u5Q"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstItem="c5A-8n-2dz" firstAttribute="top" secondItem="GMR-73-oHE" secondAttribute="topMargin" id="1JS-BM-UQm"/>
<constraint firstItem="3Db-n4-zbh" firstAttribute="top" secondItem="c5A-8n-2dz" secondAttribute="top" id="6BO-fK-vI2"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="c5A-8n-2dz" secondAttribute="bottom" constant="8" id="L9f-5t-rIS"/>
<constraint firstItem="c5A-8n-2dz" firstAttribute="leading" secondItem="GMR-73-oHE" secondAttribute="leadingMargin" id="hfy-5j-WMM"/>
<constraint firstItem="3Db-n4-zbh" firstAttribute="leading" secondItem="c5A-8n-2dz" secondAttribute="trailing" constant="8" id="ifG-7c-wXF"/>
<constraint firstAttribute="bottom" secondItem="3Db-n4-zbh" secondAttribute="bottom" constant="8" id="k93-Aj-i1w"/>
<constraint firstAttribute="trailingMargin" secondItem="3Db-n4-zbh" secondAttribute="trailing" id="uPV-eE-pgX"/>
<constraint firstItem="3Db-n4-zbh" firstAttribute="top" secondItem="GMR-73-oHE" secondAttribute="top" constant="8" id="x2x-Sf-v6w"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="AvatarImageView" destination="c5A-8n-2dz" id="c96-lD-6cm"/>
<outlet property="nameLabel" destination="dAD-WA-gh7" id="VXP-VF-K78"/>
<outlet property="tweetBackgroundView" destination="3Db-n4-zbh" id="tgu-aM-CUQ"/>
<outlet property="tweetContentLabel" destination="Nhz-UX-HOb" id="vD3-vx-2rg"/>
<outlet property="tweetDateLabel" destination="pyo-vP-T7Y" id="pcm-kI-W5F"/>
<outlet property="usernameLabel" destination="Z2X-bo-NJm" id="G2U-C3-s6M"/>
</connections>
<point key="canvasLocation" x="549.5" y="351.5"/>
</tableViewCell>
</objects>
<resources>
<image name="twitter" width="157" height="127"/>
</resources>
</document>