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

+2 -2
View File
@@ -628,8 +628,8 @@ static NSDateFormatter *_formatter;
}
NSPasteboard *pb = [NSPasteboard generalPasteboard];
[pb declareTypes:@[SublerMetadataPBoardType, NSStringPboardType] owner:nil];
[pb setString:string forType: NSStringPboardType];
[pb declareTypes:@[SublerMetadataPBoardType, NSPasteboardTypeString] owner:nil];
[pb setString:string forType: NSPasteboardTypeString];
[pb setData:[NSKeyedArchiver archivedDataWithRootObject:items] forType:SublerMetadataPBoardType];
}