Skip to content

Commit

Permalink
Update installation instructions for Xcode Source Editor Extension (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
byaruhaf authored and nicklockwood committed Jan 26, 2023
1 parent 34cd9dd commit 025ac15
Showing 1 changed file with 31 additions and 30 deletions.
61 changes: 31 additions & 30 deletions EditorExtension/Application/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="16097.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16097.3"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
Expand Down Expand Up @@ -418,19 +418,19 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="RZx-Ps-pFP">
<rect key="frame" x="0.0" y="587" width="505" height="5"/>
<rect key="frame" x="0.0" y="591" width="498" height="5"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="cK6-hE-hqz"/>
</constraints>
</box>
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="33" horizontalPageScroll="10" verticalLineScroll="33" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" horizontalScrollElasticity="none" translatesAutoresizingMaskIntoConstraints="NO" id="vVz-rA-tRS">
<rect key="frame" x="0.0" y="0.0" width="505" height="551"/>
<rect key="frame" x="0.0" y="0.0" width="498" height="555"/>
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="1nY-Z5-cvR">
<rect key="frame" x="0.0" y="0.0" width="505" height="551"/>
<rect key="frame" x="0.0" y="0.0" width="498" height="555"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" selectionHighlightStyle="none" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="30" rowSizeStyle="automatic" usesAutomaticRowHeights="YES" viewBased="YES" id="JTc-wy-tJT">
<rect key="frame" x="0.0" y="0.0" width="505" height="551"/>
<rect key="frame" x="0.0" y="0.0" width="498" height="555"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="3" height="3"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -448,12 +448,12 @@
</buttonCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES"/>
<prototypeCellViews>
<tableCellView identifier="BinarySelectionTableCellView" id="CZN-za-xvO" customClass="BinarySelectionTableCellView" customModule="SwiftFormat_for_Xcode" customModuleProvider="target">
<rect key="frame" x="1" y="1" width="466" height="26"/>
<tableCellView identifier="BinarySelectionTableCellView" misplaced="YES" id="CZN-za-xvO" customClass="BinarySelectionTableCellView" customModule="SwiftFormat_for_Xcode" customModuleProvider="target">
<rect key="frame" x="11" y="1" width="475" height="26"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button verticalHuggingPriority="750" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="Mfi-uR-j8t">
<rect key="frame" x="2" y="4" width="462" height="18"/>
<rect key="frame" x="2" y="5" width="469" height="18"/>
<buttonCell key="cell" type="check" title="Check" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="aQA-fV-2dz">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
Expand All @@ -474,7 +474,7 @@
</connections>
</tableCellView>
<tableCellView identifier="FreeTextTableCellView" id="ISi-9v-fr9" customClass="FreeTextTableCellView" customModule="SwiftFormat_for_Xcode" customModuleProvider="target">
<rect key="frame" x="1" y="30" width="466" height="30"/>
<rect key="frame" x="11" y="30" width="475" height="30"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hfs-ko-uob">
Expand All @@ -486,7 +486,7 @@
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3FH-Sx-Hfs">
<rect key="frame" x="106" y="4" width="352" height="21"/>
<rect key="frame" x="106" y="4" width="361" height="21"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="Mkg-Qi-aiV">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -510,12 +510,12 @@
<outlet property="title" destination="hfs-ko-uob" id="GJt-hO-MFu"/>
</connections>
</tableCellView>
<tableCellView identifier="ListSelectionTableCellView" id="gu5-aI-ODU" customClass="ListSelectionTableCellView" customModule="SwiftFormat_for_Xcode" customModuleProvider="target">
<rect key="frame" x="1" y="63" width="466" height="29"/>
<tableCellView identifier="ListSelectionTableCellView" misplaced="YES" id="gu5-aI-ODU" customClass="ListSelectionTableCellView" customModule="SwiftFormat_for_Xcode" customModuleProvider="target">
<rect key="frame" x="11" y="63" width="475" height="29"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<popUpButton horizontalHuggingPriority="500" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uIw-Th-pkZ">
<rect key="frame" x="384" y="1" width="77" height="25"/>
<rect key="frame" x="393" y="0.0" width="78" height="25"/>
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="oEo-Ud-RHl" id="99Z-zT-syJ">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
Expand All @@ -532,7 +532,7 @@
</connections>
</popUpButton>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8Sj-pm-88d">
<rect key="frame" x="32" y="7" width="348" height="16"/>
<rect key="frame" x="32" y="6" width="358" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Option name" id="72m-8i-Mg3">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -574,7 +574,7 @@
</scroller>
</scrollView>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pHb-Fu-MRN">
<rect key="frame" x="6" y="588" width="186" height="44"/>
<rect key="frame" x="6" y="592" width="190" height="42"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="qEB-fw-FrU"/>
</constraints>
Expand All @@ -587,7 +587,7 @@
</connections>
</button>
<popUpButton horizontalHuggingPriority="500" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YId-jI-Kpd">
<rect key="frame" x="423" y="596" width="77" height="25"/>
<rect key="frame" x="416" y="599" width="78" height="25"/>
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="nhQ-Kk-Ta3" id="JGl-KG-s99">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
Expand All @@ -604,15 +604,15 @@
</connections>
</popUpButton>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8vB-lt-Jpe">
<rect key="frame" x="341" y="602" width="82" height="16"/>
<rect key="frame" x="335" y="605" width="82" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" title="Swift version" id="pwb-qe-8jm">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<searchField wantsLayer="YES" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g0F-OD-16q">
<rect key="frame" x="8" y="559" width="489" height="22"/>
<rect key="frame" x="8" y="563" width="482" height="22"/>
<searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="bezel" usesSingleLineMode="YES" bezelStyle="round" id="7UJ-JQ-nkl">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -659,19 +659,19 @@
<objects>
<viewController title="About" showSeguePresentationStyle="single" id="XfG-lQ-9wD" sceneMemberID="viewController">
<view key="view" wantsLayer="YES" id="m2S-Jp-Qdl">
<rect key="frame" x="0.0" y="0.0" width="385" height="496"/>
<rect key="frame" x="0.0" y="0.0" width="385" height="512"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="aNJ-6N-CED">
<rect key="frame" x="18" y="460" width="349" height="16"/>
<rect key="frame" x="18" y="476" width="349" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="What is SwiftFormat for Xcode?" id="DWG-95-tUK">
<font key="font" metaFont="systemBold"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="Zkf-d0-hNG">
<rect key="frame" x="18" y="388" width="349" height="64"/>
<rect key="frame" x="18" y="404" width="349" height="64"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" id="xVj-5Y-11n">
<font key="font" metaFont="system"/>
<string key="title">SwiftFormat for Xcode is an extension for Apple's IDE, Xcode that reformats Swift code. It applies a set of rules to the whitespace around the code, leaving the meaning intact.</string>
Expand All @@ -680,22 +680,23 @@
</textFieldCell>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qnt-Gk-VpH">
<rect key="frame" x="18" y="356" width="349" height="16"/>
<rect key="frame" x="18" y="372" width="349" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="How do I install it?" id="NmP-Dn-biY">
<font key="font" metaFont="systemBold"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="VVr-7o-9zD">
<rect key="frame" x="18" y="268" width="349" height="80"/>
<rect key="frame" x="18" y="268" width="349" height="96"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" id="9no-dM-Qlu">
<font key="font" metaFont="system"/>
<string key="title">1. Open System Preferences
2. Click on "Extensions"
3. Select "Xcode Source Editor"
4. Ensure the checkbox next to "SwiftFormat" is checked
5. Relaunch Xcode</string>
2. Click on "Privacy &amp; Security"
3. Click on "Extensions"
4. Select "Xcode Source Editor"
5. Ensure the checkbox next to "SwiftFormat" is checked
6. Relaunch Xcode</string>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
Expand Down Expand Up @@ -812,7 +813,7 @@
</scene>
</scenes>
<resources>
<image name="NSTouchBarGetInfoTemplate" width="18" height="30"/>
<image name="NSTouchBarTextListTemplate" width="18" height="30"/>
<image name="NSTouchBarGetInfoTemplate" width="20" height="20"/>
<image name="NSTouchBarTextListTemplate" width="21" height="15"/>
</resources>
</document>

0 comments on commit 025ac15

Please sign in to comment.