Skip to content

Commit f9708af

Browse files
committed
chore: XIB cleanup
1 parent 59d5618 commit f9708af

7 files changed

Lines changed: 86 additions & 91 deletions

XcodeFormat/UI/Base.lproj/AboutWindowController.xib

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21225" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
4-
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21225"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24506"/>
65
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
76
</dependencies>
87
<objects>
@@ -17,7 +16,7 @@
1716
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" fullSizeContentView="YES"/>
1817
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
1918
<rect key="contentRect" x="196" y="240" width="395" height="296"/>
20-
<rect key="screenRect" x="0.0" y="0.0" width="3008" height="1228"/>
19+
<rect key="screenRect" x="0.0" y="0.0" width="3008" height="1223"/>
2120
<view key="contentView" wantsLayer="YES" id="T4x-mz-gMy">
2221
<rect key="frame" x="0.0" y="0.0" width="418" height="286"/>
2322
<autoresizingMask key="autoresizingMask"/>
@@ -33,7 +32,7 @@
3332
</constraints>
3433
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="NSApplicationIcon" id="Z5B-kQ-fAT"/>
3534
</imageView>
36-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ycC-0S-w8G">
35+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ycC-0S-w8G">
3736
<rect key="frame" x="282" y="179" width="98" height="47"/>
3837
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="7CV-1n-FTP">
3938
<font key="font" metaFont="system" size="40"/>
@@ -44,7 +43,7 @@
4443
<binding destination="-2" name="value" keyPath="name" id="rX4-zM-itf"/>
4544
</connections>
4645
</textField>
47-
<textField wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wwr-ua-mxd">
46+
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wwr-ua-mxd">
4847
<rect key="frame" x="282" y="145" width="56" height="26"/>
4948
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="YbI-4B-6Jh">
5049
<font key="font" textStyle="title1" name=".SFNS-Regular"/>
@@ -55,8 +54,8 @@
5554
<binding destination="-2" name="value" keyPath="version" id="Abl-1q-OiR"/>
5655
</connections>
5756
</textField>
58-
<textField wantsLayer="YES" horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aj8-C2-kJm">
59-
<rect key="frame" x="282" y="76" width="37" height="16"/>
57+
<textField wantsLayer="YES" focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aj8-C2-kJm">
58+
<rect key="frame" x="282" y="82" width="37" height="16"/>
6059
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="kZk-GE-xGX">
6160
<font key="font" metaFont="system"/>
6261
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
@@ -67,7 +66,7 @@
6766
</connections>
6867
</textField>
6968
<button wantsLayer="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YkP-UV-2Sg">
70-
<rect key="frame" x="284" y="49" width="55" height="19"/>
69+
<rect key="frame" x="284" y="50" width="65" height="24"/>
7170
<buttonCell key="cell" type="roundRect" title="Credits" bezelStyle="roundedRect" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="TPJ-mq-0DO">
7271
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
7372
<font key="font" metaFont="cellTitle"/>

XcodeFormat/UI/Base.lproj/ConfigurationsWindowController.xib

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="24506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="24506"/>
55
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
66
</dependencies>
77
<objects>
@@ -17,20 +17,20 @@
1717
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" fullSizeContentView="YES"/>
1818
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
1919
<rect key="contentRect" x="196" y="240" width="800" height="400"/>
20-
<rect key="screenRect" x="0.0" y="0.0" width="1710" height="1069"/>
20+
<rect key="screenRect" x="0.0" y="0.0" width="3008" height="1223"/>
2121
<value key="minSize" type="size" width="800" height="400"/>
2222
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
2323
<rect key="frame" x="0.0" y="0.0" width="800" height="400"/>
2424
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2525
<subviews>
2626
<scrollView autoresizesSubviews="NO" autohidesScrollers="YES" horizontalLineScroll="24" horizontalPageScroll="10" verticalLineScroll="24" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cBY-KS-a8k">
27-
<rect key="frame" x="20" y="48" width="760" height="322"/>
27+
<rect key="frame" x="20" y="52" width="760" height="318"/>
2828
<clipView key="contentView" autoresizesSubviews="NO" id="AJw-vN-rUa">
29-
<rect key="frame" x="1" y="1" width="758" height="320"/>
29+
<rect key="frame" x="1" y="1" width="758" height="316"/>
3030
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
3131
<subviews>
3232
<tableView autoresizesSubviews="NO" verticalHuggingPriority="750" allowsExpansionToolTips="YES" tableStyle="inset" alternatingRowBackgroundColors="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="24" rowSizeStyle="automatic" headerView="x9s-Ww-nGU" viewBased="YES" id="ojt-Xy-j1U">
33-
<rect key="frame" x="0.0" y="0.0" width="758" height="292"/>
33+
<rect key="frame" x="0.0" y="0.0" width="758" height="288"/>
3434
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
3535
<size key="intercellSpacing" width="17" height="0.0"/>
3636
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -53,7 +53,7 @@
5353
<rect key="frame" x="18" y="0.0" width="199" height="24"/>
5454
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
5555
<subviews>
56-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="LGt-ca-66c">
56+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="LGt-ca-66c">
5757
<rect key="frame" x="-2" y="4" width="102" height="16"/>
5858
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="Hce-AE-tUd">
5959
<font key="font" metaFont="systemBold"/>
@@ -91,10 +91,10 @@
9191
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
9292
<prototypeCellViews>
9393
<tableCellView id="mh1-e9-hFj">
94-
<rect key="frame" x="234" y="0.0" width="238" height="24"/>
94+
<rect key="frame" x="233.5" y="0.0" width="238" height="24"/>
9595
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
9696
<subviews>
97-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="l82-Lb-OfL">
97+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="l82-Lb-OfL">
9898
<rect key="frame" x="-2" y="5" width="84" height="14"/>
9999
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="F7u-BJ-S5x">
100100
<font key="font" metaFont="smallSystem"/>
@@ -132,10 +132,10 @@
132132
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
133133
<prototypeCellViews>
134134
<tableCellView id="XFD-hp-8z2">
135-
<rect key="frame" x="489" y="0.0" width="235" height="24"/>
135+
<rect key="frame" x="488.5" y="0.0" width="235" height="24"/>
136136
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
137137
<subviews>
138-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="PaQ-Uj-dTT">
138+
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="PaQ-Uj-dTT">
139139
<rect key="frame" x="-2" y="5" width="84" height="14"/>
140140
<textFieldCell key="cell" controlSize="small" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="hoG-Ed-xfT">
141141
<font key="font" metaFont="smallSystem"/>
@@ -183,10 +183,10 @@
183183
</tableHeaderView>
184184
</scrollView>
185185
<stackView orientation="horizontal" alignment="top" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="gFf-8E-OmI">
186-
<rect key="frame" x="20" y="20" width="760" height="20"/>
186+
<rect key="frame" x="20" y="20" width="760" height="24"/>
187187
<beginningViews>
188188
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="nlr-Zt-kEQ">
189-
<rect key="frame" x="-7" y="-7" width="99" height="32"/>
189+
<rect key="frame" x="0.0" y="0.0" width="88" height="24"/>
190190
<buttonCell key="cell" type="push" title="Remove" bezelStyle="rounded" image="NSRemoveTemplate" imagePosition="leading" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="KOs-0H-hgB">
191191
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
192192
<font key="font" metaFont="system"/>
@@ -201,7 +201,7 @@
201201
</connections>
202202
</button>
203203
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OzB-aJ-Qhi">
204-
<rect key="frame" x="86" y="-7" width="74" height="32"/>
204+
<rect key="frame" x="96" y="0.0" width="63" height="24"/>
205205
<buttonCell key="cell" type="push" title="Edit" bezelStyle="rounded" image="pencil" catalog="system" imagePosition="leading" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ate-mB-waw">
206206
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
207207
<font key="font" metaFont="system"/>
@@ -218,7 +218,7 @@
218218
</beginningViews>
219219
<endViews>
220220
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="tbn-Jn-EcC">
221-
<rect key="frame" x="690" y="-7" width="77" height="32"/>
221+
<rect key="frame" x="694" y="0.0" width="66" height="24"/>
222222
<buttonCell key="cell" type="push" title="New" bezelStyle="rounded" image="NSAddTemplate" imagePosition="leading" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Db3-k0-fm7">
223223
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
224224
<font key="font" metaFont="system"/>

0 commit comments

Comments
 (0)