Rewrite some class in swift.

This commit is contained in:
Damiano Galassi committed 2017-11-12 14:42:45 +01:00
1 parent eb5f700700
commit fd6473478d
21 files changed
+500 -508

No files matched your search

+1 -3
View File
@@ -11,7 +11,6 @@
#import "SBQueuePreferences.h"
#import "SBOptionsViewController.h"
#import "SBItemViewController.h"
#import "SBDocument.h"
@@ -419,8 +418,7 @@ static void *SBQueueContex = &SBQueueContex;
// the popover retains us and we retain the popover,
// we drop the popover whenever it is closed to avoid a cycle
SBItemViewController *view = [[SBItemViewController alloc] initWithItem:item];
view.delegate = self;
SBItemViewController *view = [[SBItemViewController alloc] initWithItem:item delegate:self];
self.itemPopover.contentViewController = view;
self.itemPopover.animates = YES;