forked from brunophilipe/KeyCommandKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKeyBindingEditorView.xib
More file actions
117 lines (117 loc) · 9.85 KB
/
KeyBindingEditorView.xib
File metadata and controls
117 lines (117 loc) · 9.85 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14105" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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 with different attributes" minToolsVersion="5.1"/>
<capability name="Constraints to layout margins" minToolsVersion="6.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="KeyBindingEditorViewController" customModule="KeyCommandKit" customModuleProvider="target">
<connections>
<outlet property="view" destination="iN0-l3-epB" id="iMO-eS-1Xk"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB" customClass="KeyBindingEditorView" customModule="KeyCommandKit" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="275" height="200"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Enter the desired key combination now" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RlH-JE-Uvl">
<rect key="frame" x="20" y="20" width="235" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zhT-CX-EI5">
<rect key="frame" x="33.5" y="147" width="100" height="33"/>
<constraints>
<constraint firstAttribute="width" constant="100" id="2qe-mw-2gm"/>
</constraints>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/>
<state key="normal" title="Save"/>
<connections>
<action selector="saveWithSender:" destination="iN0-l3-epB" eventType="touchUpInside" id="8Fz-wt-on6"/>
</connections>
</button>
<view opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PoS-C4-kmO" customClass="KeyBindingLabel" customModule="KeyCommandKit" customModuleProvider="target">
<rect key="frame" x="97" y="83" width="82" height="34"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oNR-Ef-zaO">
<rect key="frame" x="44" y="0.0" width="38" height="34"/>
<constraints>
<constraint firstAttribute="height" constant="34" id="t36-m4-4DQ"/>
<constraint firstAttribute="width" constant="38" id="wT9-YT-k9w"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" placeholderIntrinsicWidth="36" placeholderIntrinsicHeight="infinite" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="KL9-Xr-MOw">
<rect key="frame" x="0.0" y="0.0" width="36" height="34"/>
</stackView>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="oNR-Ef-zaO" secondAttribute="bottom" id="C9Z-VK-u4O"/>
<constraint firstItem="KL9-Xr-MOw" firstAttribute="top" secondItem="PoS-C4-kmO" secondAttribute="top" id="PjL-he-Kv1"/>
<constraint firstItem="oNR-Ef-zaO" firstAttribute="top" secondItem="PoS-C4-kmO" secondAttribute="top" id="TAJ-CP-Orw"/>
<constraint firstAttribute="trailing" secondItem="oNR-Ef-zaO" secondAttribute="trailing" id="cVW-2g-Zc9"/>
<constraint firstAttribute="bottom" secondItem="KL9-Xr-MOw" secondAttribute="bottom" id="k3X-yo-4DY"/>
<constraint firstItem="oNR-Ef-zaO" firstAttribute="leading" secondItem="KL9-Xr-MOw" secondAttribute="trailing" constant="8" id="qv0-g9-bP2"/>
<constraint firstItem="KL9-Xr-MOw" firstAttribute="leading" secondItem="PoS-C4-kmO" secondAttribute="leading" id="uxC-vl-o7A"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="color" keyPath="color">
<color key="value" cocoaTouchSystemColor="darkTextColor"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<outlet property="inputStackView" destination="oNR-Ef-zaO" id="7Vk-Fv-zRE"/>
<outlet property="modifiersStackView" destination="KL9-Xr-MOw" id="0hb-LS-JeH"/>
</connections>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="<none>" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ggp-Ki-OxV">
<rect key="frame" x="92" y="84.5" width="91" height="31.5"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="26"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Gb8-qr-Wmv">
<rect key="frame" x="141.5" y="147" width="100" height="33"/>
<constraints>
<constraint firstAttribute="width" constant="100" id="3jO-TZ-Di5"/>
</constraints>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/>
<state key="normal" title="Unassign"/>
<connections>
<action selector="unassign:" destination="iN0-l3-epB" eventType="touchUpInside" id="Lpc-ZB-XPs"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<constraints>
<constraint firstItem="Gb8-qr-Wmv" firstAttribute="leading" secondItem="zhT-CX-EI5" secondAttribute="trailing" constant="8" id="1v8-0B-pHV"/>
<constraint firstAttribute="bottom" secondItem="zhT-CX-EI5" secondAttribute="bottom" constant="20" id="F6v-6s-4tC"/>
<constraint firstItem="PoS-C4-kmO" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="IeF-Ek-cK8"/>
<constraint firstItem="Ggp-Ki-OxV" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="QTi-7I-Q9D"/>
<constraint firstItem="RlH-JE-Uvl" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="topMargin" constant="20" id="Rgu-4p-LQU"/>
<constraint firstItem="RlH-JE-Uvl" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="VSB-KA-Cay"/>
<constraint firstItem="PoS-C4-kmO" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="WR4-a5-lhg"/>
<constraint firstItem="Ggp-Ki-OxV" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="bZC-fd-5Ng"/>
<constraint firstItem="Gb8-qr-Wmv" firstAttribute="baseline" secondItem="zhT-CX-EI5" secondAttribute="baseline" id="vji-WC-vex"/>
<constraint firstItem="zhT-CX-EI5" firstAttribute="trailing" secondItem="iN0-l3-epB" secondAttribute="centerX" constant="-4" id="wLr-0x-V9T"/>
</constraints>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<connections>
<outlet property="instructionsLabel" destination="RlH-JE-Uvl" id="x8f-ZT-6fL"/>
<outlet property="keyBindingDisplayLabel" destination="PoS-C4-kmO" id="38H-Et-LvV"/>
<outlet property="saveButton" destination="zhT-CX-EI5" id="Vy5-p6-S3X"/>
<outlet property="unassignButton" destination="Gb8-qr-Wmv" id="177-c8-Hma"/>
<outlet property="unassignedLabel" destination="Ggp-Ki-OxV" id="QdS-Td-7gB"/>
</connections>
<point key="canvasLocation" x="34.5" y="54"/>
</view>
</objects>
</document>