Skip to content

Commit 2853186

Browse files
committed
Add UI Controls.
1 parent 516acc4 commit 2853186

File tree

1 file changed

+120
-2
lines changed

1 file changed

+120
-2
lines changed

Outline/OutlineWithController/OutlineWithController/MainWindowController.xib

Lines changed: 120 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,133 @@
1515
<window title="Outline" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="F0z-JX-Cv5">
1616
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
1717
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
18-
<rect key="contentRect" x="196" y="240" width="480" height="270"/>
18+
<rect key="contentRect" x="196" y="240" width="200" height="258"/>
1919
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="800"/>
2020
<view key="contentView" id="se5-gp-TjO">
21-
<rect key="frame" x="0.0" y="0.0" width="480" height="270"/>
21+
<rect key="frame" x="0.0" y="0.0" width="200" height="258"/>
2222
<autoresizingMask key="autoresizingMask"/>
23+
<subviews>
24+
<scrollView fixedFrame="YES" autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Vh-4i-B47">
25+
<rect key="frame" x="20" y="38" width="160" height="200"/>
26+
<clipView key="contentView" ambiguous="YES" id="Au1-ZD-J0f">
27+
<rect key="frame" x="1" y="23" width="158" height="176"/>
28+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
29+
<subviews>
30+
<outlineView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="9PQ-G5-U1P" viewBased="YES" indentationPerLevel="16" outlineTableColumn="8Dx-uj-L3N" id="Uhs-ms-LYe">
31+
<rect key="frame" x="0.0" y="0.0" width="158" height="176"/>
32+
<autoresizingMask key="autoresizingMask"/>
33+
<size key="intercellSpacing" width="3" height="2"/>
34+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
35+
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
36+
<tableColumns>
37+
<tableColumn width="155" minWidth="40" maxWidth="1000" id="8Dx-uj-L3N">
38+
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" title="Node">
39+
<font key="font" metaFont="smallSystem"/>
40+
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
41+
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
42+
</tableHeaderCell>
43+
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="paF-Yy-0NC">
44+
<font key="font" metaFont="system"/>
45+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
46+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
47+
</textFieldCell>
48+
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
49+
<prototypeCellViews>
50+
<tableCellView id="7dv-vs-9Xu">
51+
<rect key="frame" x="1" y="1" width="155" height="17"/>
52+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
53+
<subviews>
54+
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="LZY-kk-jf2">
55+
<rect key="frame" x="0.0" y="0.0" width="100" height="17"/>
56+
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="YS5-tX-Y5L">
57+
<font key="font" metaFont="system"/>
58+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
59+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
60+
</textFieldCell>
61+
</textField>
62+
</subviews>
63+
<connections>
64+
<outlet property="textField" destination="LZY-kk-jf2" id="cC0-qB-XPM"/>
65+
</connections>
66+
</tableCellView>
67+
</prototypeCellViews>
68+
</tableColumn>
69+
</tableColumns>
70+
</outlineView>
71+
</subviews>
72+
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
73+
</clipView>
74+
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="VpS-9X-cBq">
75+
<rect key="frame" x="1" y="184" width="158" height="15"/>
76+
<autoresizingMask key="autoresizingMask"/>
77+
</scroller>
78+
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="vfE-cb-Rum">
79+
<rect key="frame" x="224" y="17" width="15" height="102"/>
80+
<autoresizingMask key="autoresizingMask"/>
81+
</scroller>
82+
<tableHeaderView key="headerView" id="9PQ-G5-U1P">
83+
<rect key="frame" x="0.0" y="0.0" width="158" height="23"/>
84+
<autoresizingMask key="autoresizingMask"/>
85+
</tableHeaderView>
86+
</scrollView>
87+
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ACP-Yn-Otb">
88+
<rect key="frame" x="20" y="19" width="160" height="23"/>
89+
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" refusesFirstResponder="YES" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="yR2-bY-Ra1">
90+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
91+
<font key="font" metaFont="system"/>
92+
</buttonCell>
93+
</button>
94+
<popUpButton verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bBL-3x-88l">
95+
<rect key="frame" x="20" y="19" width="32" height="23"/>
96+
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="Mrx-9i-nOr">
97+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
98+
<font key="font" metaFont="menu"/>
99+
<menu key="menu" id="UbC-cy-elL">
100+
<items>
101+
<menuItem state="on" image="NSAddTemplate" hidden="YES" id="oPx-20-fgH"/>
102+
<menuItem title="Add Node" id="Fsl-6P-n5a">
103+
<modifierMask key="keyEquivalentModifierMask"/>
104+
</menuItem>
105+
<menuItem title="Add Child Node" id="xjY-DO-03M">
106+
<modifierMask key="keyEquivalentModifierMask"/>
107+
</menuItem>
108+
</items>
109+
</menu>
110+
</popUpButtonCell>
111+
</popUpButton>
112+
<popUpButton verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J0j-vF-e9C">
113+
<rect key="frame" x="148" y="19" width="32" height="23"/>
114+
<popUpButtonCell key="cell" type="smallSquare" bezelStyle="smallSquare" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="9qp-Ok-tXI">
115+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
116+
<font key="font" metaFont="menu"/>
117+
<menu key="menu" id="EKE-Vc-zV2">
118+
<items>
119+
<menuItem state="on" image="NSActionTemplate" hidden="YES" id="Zxx-dc-rzz"/>
120+
<menuItem title="Edit" id="XJJ-Kc-DqD">
121+
<modifierMask key="keyEquivalentModifierMask"/>
122+
</menuItem>
123+
</items>
124+
</menu>
125+
</popUpButtonCell>
126+
</popUpButton>
127+
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6DA-k4-fpP">
128+
<rect key="frame" x="51" y="19" width="23" height="23"/>
129+
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="J8S-dw-EIu">
130+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
131+
<font key="font" metaFont="system"/>
132+
</buttonCell>
133+
</button>
134+
</subviews>
23135
</view>
24136
<connections>
25137
<outlet property="delegate" destination="-2" id="0bl-1N-AYu"/>
26138
</connections>
139+
<point key="canvasLocation" x="94" y="147"/>
27140
</window>
28141
</objects>
142+
<resources>
143+
<image name="NSActionTemplate" width="14" height="14"/>
144+
<image name="NSAddTemplate" width="11" height="11"/>
145+
<image name="NSRemoveTemplate" width="11" height="11"/>
146+
</resources>
29147
</document>

0 commit comments

Comments
 (0)