forked from RocketChat/Rocket.Chat.iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NotificationViewController.xib
114 lines (114 loc) · 9.53 KB
/
NotificationViewController.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
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
<capability name="Alignment constraints to the first baseline" minToolsVersion="6.0"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="Baseline standard spacing" minToolsVersion="9.0"/>
<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" customClass="NotificationViewController" customModule="Rocket_Chat" customModuleProvider="target">
<connections>
<outlet property="hiddenConstraint" destination="iSN-ku-uLM" id="kxi-dT-Kgj"/>
<outlet property="notificationView" destination="PHK-lk-IxG" id="0pR-AZ-ZxP"/>
<outlet property="view" destination="iN0-l3-epB" id="0Rj-yq-cb5"/>
<outlet property="visibleConstraint" destination="1Q8-oE-2ed" id="ucf-ab-b77"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<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="PHK-lk-IxG" customClass="NotificationView" customModule="Rocket_Chat" customModuleProvider="target">
<rect key="frame" x="8" y="-85.5" width="359" height="69.5"/>
<subviews>
<visualEffectView opaque="NO" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="2Sn-Lw-2jc">
<rect key="frame" x="0.0" y="0.0" width="359" height="70"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" insetsLayoutMarginsFromSafeArea="NO" id="4JV-l7-f9r">
<rect key="frame" x="0.0" y="0.0" width="359" height="70"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<gestureRecognizers/>
</view>
<blurEffect style="extraLight"/>
</visualEffectView>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pSR-mg-fTE">
<rect key="frame" x="69" y="12.5" width="282" height="20.5"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KOK-7t-SFa">
<rect key="frame" x="12" y="12.5" width="45" height="45"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="45" id="AsH-aH-Iwh"/>
<constraint firstAttribute="width" secondItem="KOK-7t-SFa" secondAttribute="height" multiplier="1:1" id="dcq-yW-PH5"/>
</constraints>
</view>
<label opaque="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Body" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Khg-Fj-whL">
<rect key="frame" x="69" y="36.5" width="282" height="20.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.26051741839999998" green="0.2605243921" blue="0.260520637" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="0.99409537845187712" alpha="0.0" colorSpace="calibratedWhite"/>
<gestureRecognizers/>
<constraints>
<constraint firstItem="Khg-Fj-whL" firstAttribute="firstBaseline" secondItem="pSR-mg-fTE" secondAttribute="baseline" constant="24" symbolType="layoutAnchor" id="48X-KW-GjT"/>
<constraint firstAttribute="trailing" secondItem="pSR-mg-fTE" secondAttribute="trailing" constant="8" id="4QG-mg-IcO"/>
<constraint firstAttribute="trailing" secondItem="Khg-Fj-whL" secondAttribute="trailing" constant="8" id="4jL-fR-L6n"/>
<constraint firstItem="KOK-7t-SFa" firstAttribute="top" secondItem="PHK-lk-IxG" secondAttribute="top" constant="12" id="7ly-Q4-bZu"/>
<constraint firstAttribute="width" relation="lessThanOrEqual" constant="550" id="G6K-9l-94u"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Khg-Fj-whL" secondAttribute="bottom" constant="8" id="eon-ja-4kU"/>
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="150" id="g82-JC-2h2"/>
<constraint firstAttribute="bottom" secondItem="KOK-7t-SFa" secondAttribute="bottom" priority="250" constant="12" id="glb-6O-WiY"/>
<constraint firstItem="KOK-7t-SFa" firstAttribute="leading" secondItem="PHK-lk-IxG" secondAttribute="leading" constant="12" id="kXI-LJ-aGu"/>
<constraint firstItem="pSR-mg-fTE" firstAttribute="top" secondItem="KOK-7t-SFa" secondAttribute="top" id="oFE-M9-Shc"/>
<constraint firstItem="Khg-Fj-whL" firstAttribute="leading" secondItem="KOK-7t-SFa" secondAttribute="trailing" constant="12" id="rl6-k2-chZ"/>
<constraint firstItem="pSR-mg-fTE" firstAttribute="leading" secondItem="KOK-7t-SFa" secondAttribute="trailing" constant="12" id="y9T-ub-deS"/>
</constraints>
<connections>
<outlet property="avatarViewContainer" destination="KOK-7t-SFa" id="pg6-OP-A6F"/>
<outlet property="bodyLabel" destination="Khg-Fj-whL" id="GaY-eI-DdQ"/>
<outlet property="titleLabel" destination="pSR-mg-fTE" id="f4g-xL-MX6"/>
<outletCollection property="gestureRecognizers" destination="0eg-LY-yJc" appends="YES" id="6lE-PV-105"/>
<outletCollection property="gestureRecognizers" destination="MDE-Cs-C7p" appends="YES" id="68S-Ej-0vb"/>
</connections>
</view>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="PHK-lk-IxG" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" priority="750" constant="-16" id="0jV-re-AIy"/>
<constraint firstItem="PHK-lk-IxG" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="8" id="1Q8-oE-2ed"/>
<constraint firstItem="PHK-lk-IxG" firstAttribute="centerX" secondItem="vUN-kp-3ea" secondAttribute="centerX" id="GSl-WQ-03d"/>
<constraint firstAttribute="top" secondItem="PHK-lk-IxG" secondAttribute="bottom" constant="16" id="iSN-ku-uLM"/>
</constraints>
<viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
<variation key="default">
<mask key="constraints">
<exclude reference="1Q8-oE-2ed"/>
</mask>
</variation>
<point key="canvasLocation" x="34.5" y="69.5"/>
</view>
<tapGestureRecognizer id="0eg-LY-yJc">
<connections>
<action selector="handleTap:" destination="-1" id="ci7-Qi-5JF"/>
</connections>
</tapGestureRecognizer>
<panGestureRecognizer minimumNumberOfTouches="1" id="MDE-Cs-C7p">
<connections>
<action selector="handlePan:" destination="-1" id="SLu-y0-hoL"/>
</connections>
</panGestureRecognizer>
</objects>
</document>