We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a00fa74 commit 32db224Copy full SHA for 32db224
apinotes/AppKit.apinotes
@@ -353,6 +353,9 @@ Classes:
353
MethodKind: Class
354
- Name: NSApplication
355
Methods:
356
+ - Selector: 'activateIgnoringOtherApps:'
357
+ SwiftName: activate(ignoringOtherApps:)
358
+ MethodKind: Instance
359
- Selector: 'runModalSession:'
360
SwiftName: runModalSession(_:)
361
MethodKind: Instance
stdlib/public/SDK/AppKit/AppKit.swift
@@ -141,3 +141,10 @@ extension NSWindowController {
141
self.dismissController(sender)
142
}
143
144
+
145
+extension NSApplication {
146
+ @available(*, deprecated, renamed: "activate(ignoringOtherApps:)")
147
+ @nonobjc func activateIgnoringOtherApps(_ flag: Bool) {
148
+ self.activate(ignoringOtherApps: flag)
149
+ }
150
+}
0 commit comments