Rewrite the file import controller in swift.
This commit is contained in:
9 files changed
+594
-787
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user