-
Notifications
You must be signed in to change notification settings - Fork 0
/
CustomView.xib
81 lines (81 loc) · 5.36 KB
/
CustomView.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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10116" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="CustomView" customModule="SizeClassFun" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2Fd-X4-Na5" userLabel="Dummy View">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="height" constant="128" id="cpd-bE-LCb"/>
<constraint firstAttribute="width" constant="240" id="jmh-Fa-wxc"/>
</constraints>
<variation key="default">
<mask key="constraints">
<exclude reference="cpd-bE-LCb"/>
<exclude reference="jmh-Fa-wxc"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=regular">
<mask key="constraints">
<include reference="cpd-bE-LCb"/>
<include reference="jmh-Fa-wxc"/>
</mask>
</variation>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zgl-4l-vC2" userLabel="Orange Button">
<rect key="frame" x="0.0" y="549" width="600" height="51"/>
<color key="backgroundColor" red="1" green="0.40000000000000002" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="51" id="2jI-aK-dmP"/>
</constraints>
<state key="normal" title="Button"/>
<connections>
<action selector="buttonTapped" destination="iN0-l3-epB" eventType="touchUpInside" id="0NH-pj-KNZ"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="Zgl-4l-vC2" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" identifier="ButtonLeading" id="BiX-RL-53I"/>
<constraint firstItem="2Fd-X4-Na5" firstAttribute="top" secondItem="Zgl-4l-vC2" secondAttribute="top" identifier="HiddenConstraint" id="S4T-Ih-3Sq" userLabel="Hidden Constraint"/>
<constraint firstAttribute="bottom" secondItem="Zgl-4l-vC2" secondAttribute="bottom" identifier="ButtonBottom" id="VBh-E4-uMU"/>
<constraint firstAttribute="trailing" secondItem="Zgl-4l-vC2" secondAttribute="trailing" identifier="BUttonTrailing" id="asm-YV-AUt"/>
<constraint firstItem="2Fd-X4-Na5" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" identifier="DummyCenterAlign" id="ckE-Lp-BTn"/>
<constraint firstItem="2Fd-X4-Na5" firstAttribute="bottom" secondItem="Zgl-4l-vC2" secondAttribute="top" identifier="VisibleConstraint" id="wro-hL-qaF" userLabel="Visible Constraint"/>
</constraints>
<variation key="default">
<mask key="subviews">
<exclude reference="2Fd-X4-Na5"/>
</mask>
<mask key="constraints">
<exclude reference="S4T-Ih-3Sq"/>
<exclude reference="ckE-Lp-BTn"/>
<exclude reference="wro-hL-qaF"/>
</mask>
</variation>
<variation key="heightClass=regular-widthClass=regular">
<mask key="subviews">
<include reference="2Fd-X4-Na5"/>
</mask>
<mask key="constraints">
<include reference="S4T-Ih-3Sq"/>
<include reference="ckE-Lp-BTn"/>
<exclude reference="wro-hL-qaF"/>
</mask>
</variation>
<connections>
<outlet property="hiddenConstraint" destination="S4T-Ih-3Sq" id="yMC-cJ-Nn7"/>
<outlet property="visibleConstraint" destination="wro-hL-qaF" id="DGt-hq-dLn"/>
</connections>
</view>
</objects>
</document>