Rewrite the file import controller in swift.

This commit is contained in:
Damiano Galassi committed 2017-10-18 21:28:58 +02:00
1 parent 51b854c151
commit 285c30a628
9 files changed
+594 -787

No files matched your search

+3 -2
View File
@@ -11,6 +11,7 @@
NS_ASSUME_NONNULL_BEGIN
@class MP42File;
@class SBTableView;
@interface SBDocument : NSDocument
@@ -18,6 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithMP4:(MP42File *)mp4File error:(NSError * __autoreleasing *)outError;
@property (nonatomic, weak) IBOutlet SBTableView *tracksTable;
@property (nonatomic, strong, nullable) NSWindowController *sheetController;
- (IBAction)selectFile:(id)sender;
@@ -40,9 +42,8 @@ NS_ASSUME_NONNULL_BEGIN
- (IBAction)export:(id)sender;
- (void)showImportSheet:(NSArray *)fileURLs;
- (void)reload;
- (void)reloadPropertyView;
@end