From d8a5eb272c93aefead14d1d6624c251bd1be9371 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Wed, 29 Jul 2020 17:41:47 +0800 Subject: [PATCH] Moves IndeterminateProgressWindowController --- .../AppKit/IndeterminateProgressWindowController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename Sources/{RSCore => RSCoreResources}/AppKit/IndeterminateProgressWindowController.swift (92%) diff --git a/Sources/RSCore/AppKit/IndeterminateProgressWindowController.swift b/Sources/RSCoreResources/AppKit/IndeterminateProgressWindowController.swift similarity index 92% rename from Sources/RSCore/AppKit/IndeterminateProgressWindowController.swift rename to Sources/RSCoreResources/AppKit/IndeterminateProgressWindowController.swift index 6bbc755..8c1dc27 100644 --- a/Sources/RSCore/AppKit/IndeterminateProgressWindowController.swift +++ b/Sources/RSCoreResources/AppKit/IndeterminateProgressWindowController.swift @@ -56,9 +56,9 @@ private final class IndeterminateProgressWindowController: NSWindowController { @objc dynamic var message = "" convenience init(message: String) { - - self.init(windowNibName: NSNib.Name("IndeterminateProgressWindow")) + self.init(window: nil) self.message = message + Bundle.module.loadNibNamed("IndeterminateProgressWindow", owner: self, topLevelObjects: nil) } override func windowDidLoad() {