Skip to content

Commit 63f5e5c

Browse files
committed
Remove "WithSender" function suffixes
1 parent de212d0 commit 63f5e5c

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

devdocs-macos/AppDelegate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
1616
DocumentationWindows.shared.persist()
1717
}
1818

19-
@IBAction func newTab(sender: Any) {
19+
@IBAction func newTab(_ sender: Any) {
2020
DocumentationWindows.shared.newWindow()
2121
}
2222

23-
@IBAction func showAppPreferences(sender: Any) {
23+
@IBAction func showAppPreferences(_ sender: Any) {
2424
PreferencesWindowController.shared.showWindow(self)
2525
}
2626

devdocs-macos/Base.lproj/MainMenu.xib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<menuItem title="Preferences…" id="BOF-NM-1cW">
3030
<modifierMask key="keyEquivalentModifierMask"/>
3131
<connections>
32-
<action selector="showAppPreferencesWithSender:" target="Voe-Tx-rLC" id="LDP-dv-TTw"/>
32+
<action selector="showAppPreferences:" target="Voe-Tx-rLC" id="WEE-am-D7X"/>
3333
</connections>
3434
</menuItem>
3535
<menuItem isSeparatorItem="YES" id="wFC-TO-SCJ"/>
@@ -70,7 +70,7 @@
7070
<items>
7171
<menuItem title="New Tab" keyEquivalent="t" id="Was-JA-tGl">
7272
<connections>
73-
<action selector="newTabWithSender:" target="Voe-Tx-rLC" id="Swf-eT-1ST"/>
73+
<action selector="newTab:" target="Voe-Tx-rLC" id="aJ7-hj-He2"/>
7474
</connections>
7575
</menuItem>
7676
<menuItem isSeparatorItem="YES" id="m54-Is-iLE"/>

devdocs-macos/PreferencesWindowController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class PreferencesWindowController: NSWindowController {
1919
}
2020
}
2121

22-
@IBAction func restoreDefaults(sender: Any) {
22+
@IBAction func restoreDefaults(_ sender: Any) {
2323
if let recorderView = masShortcutRecorderView {
2424
recorderView.shortcutValue = Summoner.defaultShortcut
2525
}

devdocs-macos/PreferencesWindowController.xib

Lines changed: 4 additions & 4 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="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
4+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14490.70"/>
55
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
66
</dependencies>
77
<objects>
@@ -17,7 +17,7 @@
1717
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
1818
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
1919
<rect key="contentRect" x="196" y="240" width="318" height="102"/>
20-
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
20+
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
2121
<view key="contentView" wantsLayer="YES" id="se5-gp-TjO">
2222
<rect key="frame" x="0.0" y="0.0" width="318" height="102"/>
2323
<autoresizingMask key="autoresizingMask"/>
@@ -34,7 +34,7 @@
3434
<font key="font" metaFont="system"/>
3535
</buttonCell>
3636
<connections>
37-
<action selector="restoreDefaultsWithSender:" target="-2" id="XBR-gg-hEJ"/>
37+
<action selector="restoreDefaults:" target="-2" id="bad-yA-Cme"/>
3838
</connections>
3939
</button>
4040
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="SLs-UG-n2b">

0 commit comments

Comments
 (0)