Convert to Swift 5, convert QueueController to Swift.

This commit is contained in:
Damiano Galassi committed 2019-01-27 11:46:31 +01:00
1 parent 45dc075c77
commit 5725b0f830
21 files changed
+846 -916

No files matched your search

-12
View File
@@ -8,18 +8,6 @@
import Cocoa
import MP42Foundation
private extension NSPasteboard.PasteboardType {
static let backwardsCompatibleFileURL: NSPasteboard.PasteboardType = {
if #available(OSX 10.13, *) {
return NSPasteboard.PasteboardType.fileURL
} else {
return NSPasteboard.PasteboardType(kUTTypeFileURL as String)
}
} ()
}
class DocumentWindowController: NSWindowController, TracksViewControllerDelegate, ChapterSearchControllerDelegate, MetadataSearchControllerDelegate, FileImportControllerDelegate, ProgressViewControllerDelegate, NSDraggingDestination, NSMenuItemValidation, NSToolbarItemValidation {
private var doc: Document {