forked from duckduckgo/iOS
/
Autocomplete.storyboard
155 lines (155 loc) · 16.1 KB
/
Autocomplete.storyboard
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="WBd-4H-sHO">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--Autocomplete View Controller-->
<scene sceneID="ntZ-gU-N8P">
<objects>
<viewController storyboardIdentifier="AutocompleteViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="WBd-4H-sHO" customClass="AutocompleteViewController" customModule="DuckDuckGo" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="LXz-1w-VYJ"/>
<viewControllerLayoutGuide type="bottom" id="JOr-s5-Mw4"/>
</layoutGuides>
<view key="view" opaque="NO" contentMode="scaleToFill" id="Emd-u2-dVY">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EAI-u8-HTS" customClass="PartiallyRoundedRectangleView" customModule="Core">
<rect key="frame" x="14" y="22" width="347" height="278"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" scrollEnabled="NO" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="46" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="NI7-km-NQP">
<rect key="frame" x="2" y="2" width="343" height="274"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="SuggestionTableViewCell" id="OKw-LH-qE9" userLabel="Suggestion" customClass="SuggestionTableViewCell" customModule="DuckDuckGo" customModuleProvider="target">
<rect key="frame" x="0.0" y="28" width="343" height="46"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="OKw-LH-qE9" id="xqJ-kD-Lnu">
<rect key="frame" x="0.0" y="0.0" width="343" height="45"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="SearchLoupe" translatesAutoresizingMaskIntoConstraints="NO" id="ESE-Rj-Bim">
<rect key="frame" x="12" y="13" width="18" height="18"/>
<constraints>
<constraint firstAttribute="height" constant="18" id="KWV-SS-cp6"/>
<constraint firstAttribute="width" constant="18" id="eRs-db-3SW"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qWx-AW-1JS">
<rect key="frame" x="42" y="13" width="251" height="18"/>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="15"/>
<color key="textColor" red="0.49803921579999999" green="0.49803921579999999" blue="0.49803921579999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2Vt-0M-Hjg">
<rect key="frame" x="305" y="8" width="30" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="JSK-3e-Inr"/>
<constraint firstAttribute="width" constant="30" id="SFn-9o-0Ax"/>
</constraints>
<color key="tintColor" red="0.49803921579999999" green="0.49803921579999999" blue="0.49803921579999999" alpha="1" colorSpace="calibratedRGB"/>
<state key="normal" image="Plus"/>
<connections>
<action selector="onPlusButtonPressed:" destination="WBd-4H-sHO" eventType="touchUpInside" id="8XV-nC-zOt"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="2Vt-0M-Hjg" secondAttribute="trailing" constant="8" id="023-2a-aHJ"/>
<constraint firstItem="2Vt-0M-Hjg" firstAttribute="leading" secondItem="qWx-AW-1JS" secondAttribute="trailing" constant="12" id="25t-ML-zyK"/>
<constraint firstItem="ESE-Rj-Bim" firstAttribute="leading" secondItem="xqJ-kD-Lnu" secondAttribute="leadingMargin" constant="4" id="80f-20-WI9"/>
<constraint firstItem="2Vt-0M-Hjg" firstAttribute="centerY" secondItem="xqJ-kD-Lnu" secondAttribute="centerY" id="P2B-JV-zyR"/>
<constraint firstItem="qWx-AW-1JS" firstAttribute="leading" secondItem="ESE-Rj-Bim" secondAttribute="trailing" constant="12" id="mKU-Mb-emI"/>
<constraint firstItem="qWx-AW-1JS" firstAttribute="centerY" secondItem="xqJ-kD-Lnu" secondAttribute="centerY" id="qVn-38-VVp"/>
<constraint firstItem="ESE-Rj-Bim" firstAttribute="centerY" secondItem="xqJ-kD-Lnu" secondAttribute="centerY" id="rqR-nE-gpD"/>
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="label" destination="qWx-AW-1JS" id="MbC-jn-O3m"/>
<outlet property="plusButton" destination="2Vt-0M-Hjg" id="osX-6f-fQ6"/>
<outlet property="typeImage" destination="ESE-Rj-Bim" id="IeZ-bG-MMr"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="NoSuggestionsTableViewCell" id="hy0-ZL-Uaq" userLabel="Empty" customClass="NoSuggestionsTableViewCell" customModule="DuckDuckGo" customModuleProvider="target">
<rect key="frame" x="0.0" y="74" width="343" height="46"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="hy0-ZL-Uaq" id="dny-UO-HQX">
<rect key="frame" x="0.0" y="0.0" width="343" height="45"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="No Suggestions" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" enabled="NO" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="92X-C7-Llu">
<rect key="frame" x="24" y="13" width="295" height="19.5"/>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<constraints>
<constraint firstItem="92X-C7-Llu" firstAttribute="centerX" secondItem="dny-UO-HQX" secondAttribute="centerX" id="7Vv-Gb-hfJ"/>
<constraint firstAttribute="trailingMargin" secondItem="92X-C7-Llu" secondAttribute="trailing" constant="16" id="Buc-p8-UTx"/>
<constraint firstItem="92X-C7-Llu" firstAttribute="leading" secondItem="dny-UO-HQX" secondAttribute="leadingMargin" constant="16" id="NV6-n4-MFM"/>
<constraint firstItem="92X-C7-Llu" firstAttribute="centerY" secondItem="dny-UO-HQX" secondAttribute="centerY" id="lsm-KD-azd"/>
</constraints>
</tableViewCellContentView>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="WBd-4H-sHO" id="g1Y-TC-EZZ"/>
<outlet property="delegate" destination="WBd-4H-sHO" id="Vmi-cn-tZq"/>
</connections>
</tableView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="NI7-km-NQP" secondAttribute="bottom" constant="2" id="UpP-O9-rk2"/>
<constraint firstAttribute="width" constant="347" id="YZw-yg-XAd"/>
<constraint firstAttribute="trailing" secondItem="NI7-km-NQP" secondAttribute="trailing" constant="2" id="auX-AA-cEv"/>
<constraint firstItem="NI7-km-NQP" firstAttribute="top" secondItem="EAI-u8-HTS" secondAttribute="top" constant="2" id="cAX-Xx-6HJ"/>
<constraint firstItem="NI7-km-NQP" firstAttribute="leading" secondItem="EAI-u8-HTS" secondAttribute="leading" constant="2" id="iTF-f3-mZs"/>
<constraint firstAttribute="height" constant="278" id="lZk-Px-l6m"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
<real key="value" value="2"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="8"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="borderColor">
<color key="value" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="boolean" keyPath="topLeftCorner" value="NO"/>
<userDefinedRuntimeAttribute type="boolean" keyPath="topRightCorner" value="NO"/>
<userDefinedRuntimeAttribute type="boolean" keyPath="bottomLeftCorner" value="YES"/>
<userDefinedRuntimeAttribute type="boolean" keyPath="bottomRightCorner" value="YES"/>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="EAI-u8-HTS" firstAttribute="top" secondItem="LXz-1w-VYJ" secondAttribute="bottom" constant="2" id="myR-iT-hAK"/>
<constraint firstItem="EAI-u8-HTS" firstAttribute="centerX" secondItem="Emd-u2-dVY" secondAttribute="centerX" id="xqD-gc-Lz4"/>
</constraints>
</view>
<connections>
<outlet property="tableView" destination="NI7-km-NQP" id="dy2-JZ-sMs"/>
<outlet property="widthConstraint" destination="YZw-yg-XAd" id="Okf-AJ-lUH"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="wo5-Nh-Wrd" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1845.5999999999999" y="10.344827586206897"/>
</scene>
</scenes>
<resources>
<image name="Plus" width="16" height="16"/>
<image name="SearchLoupe" width="22" height="22"/>
</resources>
</document>