diff --git a/Base.lproj/FileImportController.xib b/Base.lproj/FileImportController.xib index 03bb72f..e85f7d3 100755 --- a/Base.lproj/FileImportController.xib +++ b/Base.lproj/FileImportController.xib @@ -49,7 +49,7 @@ - + @@ -247,7 +247,7 @@ - + diff --git a/Base.lproj/SBDocument.xib b/Base.lproj/SBDocument.xib index e530f65..1324b3d 100755 --- a/Base.lproj/SBDocument.xib +++ b/Base.lproj/SBDocument.xib @@ -1,8 +1,8 @@ - + - + @@ -124,7 +124,7 @@ - + @@ -229,7 +229,7 @@ - + diff --git a/Classes/Base.lproj/PresetEditorViewController.xib b/Classes/Base.lproj/PresetEditorViewController.xib index 6243047..520bb46 100755 --- a/Classes/Base.lproj/PresetEditorViewController.xib +++ b/Classes/Base.lproj/PresetEditorViewController.xib @@ -1,9 +1,9 @@ - + - - + + @@ -35,7 +35,7 @@ - + @@ -163,7 +163,7 @@ - + @@ -273,7 +273,7 @@ - + @@ -302,7 +302,7 @@ - + @@ -327,13 +327,13 @@ - + - + diff --git a/Classes/Base.lproj/SBMetadataPrefsViewController.xib b/Classes/Base.lproj/SBMetadataPrefsViewController.xib index 49c039b..30946c6 100644 --- a/Classes/Base.lproj/SBMetadataPrefsViewController.xib +++ b/Classes/Base.lproj/SBMetadataPrefsViewController.xib @@ -1,8 +1,8 @@ - + - + @@ -99,7 +99,7 @@ - + diff --git a/Classes/CheckBoxCellView.swift b/Classes/CheckBoxCellView.swift new file mode 100644 index 0000000..b719ae9 --- /dev/null +++ b/Classes/CheckBoxCellView.swift @@ -0,0 +1,12 @@ +// +// CheckBoxCellView.swift +// Subler +// +// Created by Damiano Galassi on 20/10/2017. +// + +import Cocoa + +class CheckBoxCellView : NSTableCellView { + @IBOutlet var checkboxButton: NSButton! +} diff --git a/Classes/ComboBoxCellView.swift b/Classes/ComboBoxCellView.swift new file mode 100644 index 0000000..04219e5 --- /dev/null +++ b/Classes/ComboBoxCellView.swift @@ -0,0 +1,12 @@ +// +// ComboBoxCellView.swift +// Subler +// +// Created by Damiano Galassi on 20/10/2017. +// + +import Cocoa + +class ComboBoxCellView : NSTableCellView { + @IBOutlet var comboBox: NSComboBox! +} diff --git a/Classes/FileImportController.swift b/Classes/FileImportController.swift index 6cbd4cc..71e4be1 100644 --- a/Classes/FileImportController.swift +++ b/Classes/FileImportController.swift @@ -169,8 +169,8 @@ class FileImportController: NSWindowController, NSTableViewDataSource, NSTableVi private var importMetadata: Bool private weak var delegate: FileImportControllerDelegate? - @IBOutlet weak var tableView: SBTableView! - @IBOutlet weak var importMetadataCheckbox: NSButton! + @IBOutlet var tableView: SBTableView! + @IBOutlet var importMetadataCheckbox: NSButton! override public var windowNibName: NSNib.Name? { return NSNib.Name(rawValue: "FileImportController") @@ -410,7 +410,7 @@ class FileImportController: NSWindowController, NSTableViewDataSource, NSTableVi switch tableColumn?.identifier { case checkColumn?: - let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? SBCheckBoxCellView + let cell = tableView.makeView(withIdentifier: checkColumn, owner:self) as? CheckBoxCellView cell?.checkboxButton?.state = settings.checked ? NSControl.StateValue.on : NSControl.StateValue.off return cell @@ -440,7 +440,7 @@ class FileImportController: NSWindowController, NSTableViewDataSource, NSTableVi return cell case trackActionColumn?: - let cell = tableView.makeView(withIdentifier: trackActionColumn, owner:self) as? SBPopUpCellView + let cell = tableView.makeView(withIdentifier: trackActionColumn, owner:self) as? PopUpCellView if let menu = cell?.popUpButton?.menu { menu.removeAllItems() _ = settings.actions.map { diff --git a/Classes/PopUpCellView.swift b/Classes/PopUpCellView.swift new file mode 100644 index 0000000..942a366 --- /dev/null +++ b/Classes/PopUpCellView.swift @@ -0,0 +1,12 @@ +// +// PopUpCellView.swift +// Subler +// +// Created by Damiano Galassi on 20/10/2017. +// + +import Foundation + +class PopUpCellView : NSTableCellView { + @IBOutlet var popUpButton: NSPopUpButton! +} diff --git a/Classes/PropertyView/Base.lproj/MovieView.xib b/Classes/PropertyView/Base.lproj/MovieView.xib index f5eab41..8e8a1aa 100755 --- a/Classes/PropertyView/Base.lproj/MovieView.xib +++ b/Classes/PropertyView/Base.lproj/MovieView.xib @@ -1,9 +1,9 @@ - + - - + + @@ -203,7 +203,7 @@ - + @@ -228,7 +228,7 @@ - + @@ -248,14 +248,14 @@ - + - + diff --git a/Classes/PropertyView/SBMovieViewController.m b/Classes/PropertyView/SBMovieViewController.m index a3ff4d4..0b0c085 100755 --- a/Classes/PropertyView/SBMovieViewController.m +++ b/Classes/PropertyView/SBMovieViewController.m @@ -12,9 +12,6 @@ NSString *SublerCoverArtPBoardType = @"SublerCoverArtPBoardType"; #import "SBMovieViewController.h" #import "SBTableView.h" #import "SBImageBrowserView.h" -#import "SBPopUpCellView.h" -#import "SBCheckBoxCellView.h" -#import "SBComboBoxCellView.h" #import #import @@ -431,7 +428,7 @@ static NSArray *_mediaKinds; - (NSTableCellView *)boolCellWithState:(BOOL)state tableView:(NSTableView *)tableView { - SBCheckBoxCellView *cell = [tableView makeViewWithIdentifier:@"BoolCell" owner:self]; + CheckBoxCellView *cell = [tableView makeViewWithIdentifier:@"BoolCell" owner:self]; cell.checkboxButton.state = state; return cell; } @@ -445,7 +442,7 @@ static NSArray *_mediaKinds; - (NSTableCellView *)popUpRatingCellWithContents:(NSArray *)contents value:(NSString *)value tableView:(NSTableView *)tableView { - SBPopUpCellView *popUpCell = [tableView makeViewWithIdentifier:@"PopUpCell" owner:self]; + PopUpCellView *popUpCell = [tableView makeViewWithIdentifier:@"PopUpCell" owner:self]; [popUpCell.popUpButton removeAllItems]; for (NSString *title in contents) { [popUpCell.popUpButton.menu addItem:[[NSMenuItem alloc] initWithTitle:title action:NULL keyEquivalent:@""]]; @@ -468,7 +465,7 @@ static NSArray *_mediaKinds; - (NSTableCellView *)popUpCellWithArrayContents:(NSArray *)contents value:(NSNumber *)value tableView:(NSTableView *)tableView { NSInteger index = 0; - SBPopUpCellView *popUpCell = [tableView makeViewWithIdentifier:@"PopUpCell" owner:self]; + PopUpCellView *popUpCell = [tableView makeViewWithIdentifier:@"PopUpCell" owner:self]; [popUpCell.popUpButton removeAllItems]; for (NSArray *array in contents) { [popUpCell.popUpButton.menu addItem:[[NSMenuItem alloc] initWithTitle:array.firstObject action:NULL keyEquivalent:@""]]; @@ -489,7 +486,7 @@ static NSArray *_mediaKinds; - (NSTableCellView *)comboBoxCellWithArrayContents:(NSArray *)contents value:(NSString *)value tableView:(NSTableView *)tableView { - SBComboBoxCellView *comboBoxCell = [tableView makeViewWithIdentifier:@"ComboCell" owner:self]; + ComboBoxCellView *comboBoxCell = [tableView makeViewWithIdentifier:@"ComboCell" owner:self]; comboBoxCell.comboBox.stringValue = value; [comboBoxCell.comboBox addItemsWithObjectValues:contents]; return comboBoxCell; diff --git a/Classes/SBCheckBoxCellView.h b/Classes/SBCheckBoxCellView.h deleted file mode 100644 index 634286e..0000000 --- a/Classes/SBCheckBoxCellView.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// SBCheckBoxCellView.h -// Subler -// -// Created by Damiano Galassi on 10/10/2016. -// -// - -#import - -@interface SBCheckBoxCellView : NSTableCellView - -@property (nonatomic, nullable, assign) IBOutlet NSButton *checkboxButton; - -@end diff --git a/Classes/SBCheckBoxCellView.m b/Classes/SBCheckBoxCellView.m deleted file mode 100644 index eb95e63..0000000 --- a/Classes/SBCheckBoxCellView.m +++ /dev/null @@ -1,13 +0,0 @@ -// -// SBCheckBoxCellView.m -// Subler -// -// Created by Damiano Galassi on 10/10/2016. -// -// - -#import "SBCheckBoxCellView.h" - -@implementation SBCheckBoxCellView - -@end diff --git a/Classes/SBComboBoxCell.h b/Classes/SBComboBoxCell.h deleted file mode 100644 index 8d75bdd..0000000 --- a/Classes/SBComboBoxCell.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// SBComboBoxCell.h -// Subler -// -// Created by Damiano Galassi on 10/11/16. -// -// - -#import - -@interface SBComboBoxCell : NSComboBoxCell - -@end diff --git a/Classes/SBComboBoxCell.m b/Classes/SBComboBoxCell.m deleted file mode 100644 index 0401662..0000000 --- a/Classes/SBComboBoxCell.m +++ /dev/null @@ -1,47 +0,0 @@ -// -// SBComboBoxCell.m -// Subler -// -// Created by Damiano Galassi on 10/11/16. -// -// - -#import "SBComboBoxCell.h" - -@interface SBComboBoxCell () - -@property (nonatomic) NSBackgroundStyle SB_originalBackgroundStyle; - -@end - -@implementation SBComboBoxCell - -- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle -{ - [super setBackgroundStyle:backgroundStyle]; - if (backgroundStyle == NSBackgroundStyleDark) { - self.textColor = [NSColor controlHighlightColor]; - } - else { - self.textColor = [NSColor controlTextColor]; - } -} - -- (NSText *)setUpFieldEditorAttributes:(NSText *)textObj; -{ - self.SB_originalBackgroundStyle = self.backgroundStyle; - - self.backgroundStyle = NSBackgroundStyleLight; - self.drawsBackground = YES; - - return [super setUpFieldEditorAttributes:textObj]; -} - -- (void)endEditing:(NSText *)textObj -{ - [super endEditing:textObj]; - self.drawsBackground = NO; - self.backgroundStyle = self.SB_originalBackgroundStyle; -} - -@end diff --git a/Classes/SBComboBoxCellView.h b/Classes/SBComboBoxCellView.h deleted file mode 100644 index 84ccb39..0000000 --- a/Classes/SBComboBoxCellView.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// SBComboBoxCellView.h -// Subler -// -// Created by Damiano Galassi on 11/10/2016. -// -// - -#import - -@interface SBComboBoxCellView : NSTableCellView - -@property (nonatomic, nullable, assign) IBOutlet NSComboBox *comboBox; - -@end diff --git a/Classes/SBComboBoxCellView.m b/Classes/SBComboBoxCellView.m deleted file mode 100644 index f513b6a..0000000 --- a/Classes/SBComboBoxCellView.m +++ /dev/null @@ -1,13 +0,0 @@ -// -// SBComboBoxCellView.m -// Subler -// -// Created by Damiano Galassi on 11/10/2016. -// -// - -#import "SBComboBoxCellView.h" - -@implementation SBComboBoxCellView - -@end diff --git a/Classes/SBDocument.m b/Classes/SBDocument.m index 09acf47..0c58f01 100644 --- a/Classes/SBDocument.m +++ b/Classes/SBDocument.m @@ -10,8 +10,6 @@ #import "SBQueueController.h" #import "SBQueueItem.h" #import "SBTableView.h" -#import "SBCheckBoxCellView.h" -#import "SBPopUpCellView.h" #import "SBEmptyViewController.h" #import "SBMovieViewController.h" @@ -567,7 +565,7 @@ static NSDictionary *_detailMonospacedAttr; cell.textField.stringValue = track.formatSummary; } else if ([tableColumn.identifier isEqualToString:@"trackEnabled"]) { - SBCheckBoxCellView *checkCell = [tableView makeViewWithIdentifier:@"CheckCell" owner:self]; + CheckBoxCellView *checkCell = [tableView makeViewWithIdentifier:@"CheckCell" owner:self]; checkCell.checkboxButton.state = track.isEnabled; cell = checkCell; } @@ -582,7 +580,7 @@ static NSDictionary *_detailMonospacedAttr; } } else if ([tableColumn.identifier isEqualToString:@"trackLanguage"]) { - SBPopUpCellView *popUpCell = [tableView makeViewWithIdentifier:@"PopUpCell" owner:self]; + PopUpCellView *popUpCell = [tableView makeViewWithIdentifier:@"PopUpCell" owner:self]; if (popUpCell.popUpButton.numberOfItems == 0) { popUpCell.popUpButton.menu = [_languagesMenu copy]; diff --git a/Classes/SBPopUpCellView.h b/Classes/SBPopUpCellView.h deleted file mode 100644 index bea1aba..0000000 --- a/Classes/SBPopUpCellView.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// SBPopUpCellView.h -// Subler -// -// Created by Damiano Galassi on 10/10/2016. -// -// - -#import - -@interface SBPopUpCellView : NSTableCellView - -@property (nonatomic, nullable, assign) IBOutlet NSPopUpButton *popUpButton; - -@end diff --git a/Classes/SBPopUpCellView.m b/Classes/SBPopUpCellView.m deleted file mode 100644 index ca5c213..0000000 --- a/Classes/SBPopUpCellView.m +++ /dev/null @@ -1,25 +0,0 @@ -// -// SBPopUpCellView.m -// Subler -// -// Created by Damiano Galassi on 10/10/2016. -// -// - -#import "SBPopUpCellView.h" - -@implementation SBPopUpCellView - -- (instancetype)initWithFrame:(NSRect)frameRec -{ - self = [super initWithFrame:frameRec]; - return self; -} - -- (nullable instancetype)initWithCoder:(NSCoder *)coder -{ - self = [super initWithCoder:coder]; - return self; -} - -@end diff --git a/Classes/SBTokenFieldCell.h b/Classes/SBTokenFieldCell.h deleted file mode 100644 index f6bea38..0000000 --- a/Classes/SBTokenFieldCell.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// SBTokenFieldCell.h -// Subler -// -// Created by Damiano Galassi on 10/11/16. -// -// - -#import - -@interface SBTokenFieldCell : NSTokenFieldCell - -@end diff --git a/Classes/SBTokenFieldCell.m b/Classes/SBTokenFieldCell.m deleted file mode 100644 index 6d26ead..0000000 --- a/Classes/SBTokenFieldCell.m +++ /dev/null @@ -1,47 +0,0 @@ -// -// SBTokenFieldCell.m -// Subler -// -// Created by Damiano Galassi on 10/11/16. -// -// - -#import "SBTokenFieldCell.h" - -@interface SBTokenFieldCell () - -@property (nonatomic) NSBackgroundStyle SB_originalBackgroundStyle; - -@end - -@implementation SBTokenFieldCell - -- (void)setBackgroundStyle:(NSBackgroundStyle)backgroundStyle -{ - [super setBackgroundStyle:backgroundStyle]; - if (backgroundStyle == NSBackgroundStyleDark) { - self.textColor = [NSColor controlHighlightColor]; - } - else { - self.textColor = [NSColor controlTextColor]; - } -} - -- (NSText *)setUpFieldEditorAttributes:(NSText *)textObj; -{ - self.SB_originalBackgroundStyle = self.backgroundStyle; - - self.backgroundStyle = NSBackgroundStyleLight; - self.drawsBackground = YES; - - return [super setUpFieldEditorAttributes:textObj]; -} - -- (void)endEditing:(NSText *)textObj -{ - [super endEditing:textObj]; - self.drawsBackground = NO; - self.backgroundStyle = self.SB_originalBackgroundStyle; -} - -@end diff --git a/Classes/TokenFieldCell.swift b/Classes/TokenFieldCell.swift new file mode 100644 index 0000000..51fd06b --- /dev/null +++ b/Classes/TokenFieldCell.swift @@ -0,0 +1,41 @@ +// +// TokenFieldCell.swift +// Subler +// +// Created by Damiano Galassi on 20/10/2017. +// + +import Cocoa + +class TokenFieldCell : NSTokenFieldCell { + + private var originalBackgroundStyle: NSView.BackgroundStyle = NSView.BackgroundStyle.light + + override var backgroundStyle: NSView.BackgroundStyle { + get { + return super.backgroundStyle + } + set (newBackgroundStyle) { + super.backgroundStyle = newBackgroundStyle + if newBackgroundStyle == NSView.BackgroundStyle.dark { + textColor = NSColor.controlHighlightColor + } else { + textColor = NSColor.controlTextColor + } + } + } + + override func setUpFieldEditorAttributes(_ textObj: NSText) -> NSText { + originalBackgroundStyle = backgroundStyle + backgroundStyle = NSView.BackgroundStyle.light + drawsBackground = true + return super.setUpFieldEditorAttributes(textObj) + } + + override func endEditing(_ textObj: NSText) { + super.endEditing(textObj) + drawsBackground = false + backgroundStyle = originalBackgroundStyle + } + +} diff --git a/ComboBoxCell.swift b/ComboBoxCell.swift new file mode 100644 index 0000000..b1f88a3 --- /dev/null +++ b/ComboBoxCell.swift @@ -0,0 +1,41 @@ +// +// ComboBoxCell.swift +// Subler +// +// Created by Damiano Galassi on 20/10/2017. +// + +import Cocoa + +class ComboBoxCell : NSComboBoxCell { + + private var originalBackgroundStyle: NSView.BackgroundStyle = NSView.BackgroundStyle.light + + override var backgroundStyle: NSView.BackgroundStyle { + get { + return super.backgroundStyle + } + set (newBackgroundStyle) { + super.backgroundStyle = newBackgroundStyle + if newBackgroundStyle == NSView.BackgroundStyle.dark { + textColor = NSColor.controlHighlightColor + } else { + textColor = NSColor.controlTextColor + } + } + } + + override func setUpFieldEditorAttributes(_ textObj: NSText) -> NSText { + originalBackgroundStyle = backgroundStyle + backgroundStyle = NSView.BackgroundStyle.light + drawsBackground = true + return super.setUpFieldEditorAttributes(textObj) + } + + override func endEditing(_ textObj: NSText) { + super.endEditing(textObj) + drawsBackground = false + backgroundStyle = originalBackgroundStyle + } + +} diff --git a/Subler-Bridging-Header.h b/Subler-Bridging-Header.h index be37e4f..626c067 100644 --- a/Subler-Bridging-Header.h +++ b/Subler-Bridging-Header.h @@ -8,8 +8,6 @@ #import "SBMovieViewController.h" #import "SBTableView.h" -#import "SBCheckBoxCellView.h" -#import "SBPopUpCellView.h" #import #import diff --git a/Subler.xcodeproj/project.pbxproj b/Subler.xcodeproj/project.pbxproj index d51e458..f13860e 100644 --- a/Subler.xcodeproj/project.pbxproj +++ b/Subler.xcodeproj/project.pbxproj @@ -13,15 +13,17 @@ 8D15AC2F0486D014006FF6A4 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165FFE840EACC02AAC07 /* InfoPlist.strings */; }; 8D15AC320486D014006FF6A4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A37F4B0FDCFA73011CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; 8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */; }; + A90057B61F99DE2700FA4ED1 /* ComboBoxCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057B51F99DE2700FA4ED1 /* ComboBoxCellView.swift */; }; + A90057BA1F99E02400FA4ED1 /* ComboBoxCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057B91F99E02400FA4ED1 /* ComboBoxCell.swift */; }; + A90057BC1F99E20B00FA4ED1 /* CheckBoxCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BB1F99E20B00FA4ED1 /* CheckBoxCellView.swift */; }; + A90057BE1F99E2D800FA4ED1 /* TokenFieldCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */; }; + A90057C01F99E35300FA4ED1 /* PopUpCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */; }; A900CE3E1F3ACF9700CCA08E /* MetadataResultMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = A900CE3D1F3ACF9700CCA08E /* MetadataResultMap.swift */; }; A90300C81DAE72C4008237D8 /* SBPresetPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A90300CA1DAE72C4008237D8 /* SBPresetPrefsViewController.xib */; }; A9067A0C1F3CA4E6008011DC /* MetadataPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9067A0B1F3CA4E6008011DC /* MetadataPrefsViewController.swift */; }; A906B5B11E434872007D12B1 /* Queue.sdef in Resources */ = {isa = PBXBuildFile; fileRef = A906B5B01E434872007D12B1 /* Queue.sdef */; }; - A909440A1DD4B80000E9F89C /* SBComboBoxCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A90944091DD4B80000E9F89C /* SBComboBoxCell.m */; }; - A909440D1DD4C70900E9F89C /* SBTokenFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A909440C1DD4C70900E9F89C /* SBTokenFieldCell.m */; }; A90B023B10F3290A000416F3 /* Prefs.xib in Resources */ = {isa = PBXBuildFile; fileRef = A90B023910F3290A000416F3 /* Prefs.xib */; }; A90BC5E31F3A139700F9F3F3 /* MetadataResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90BC5E21F3A139700F9F3F3 /* MetadataResult.swift */; }; - A91690041DABFDAA004B9AB0 /* SBCheckBoxCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = A91690031DABFDAA004B9AB0 /* SBCheckBoxCellView.m */; }; A917286119FD288B00348DF8 /* SBLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = A917286019FD288B00348DF8 /* SBLogger.m */; }; A91B196C1F2B0DCB0008675F /* QueueAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = A91B196B1F2B0DCB0008675F /* QueueAction.swift */; }; A924A51E1D4B9E93008301A7 /* SBMetadataPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A924A5201D4B9E93008301A7 /* SBMetadataPrefsViewController.xib */; }; @@ -33,7 +35,6 @@ A92ECCE31F49984C0063BFBD /* PrefsWindowController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A92ECCE21F49984C0063BFBD /* PrefsWindowController.swift */; }; A93105391F9758EC00605146 /* FileImportController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A93105351F9758EC00605146 /* FileImportController.xib */; }; A9395E351F8B9ACA004C402B /* MP42FileAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */; }; - A93DD7681DACCE930052749A /* SBComboBoxCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = A93DD7671DACCE930052749A /* SBComboBoxCellView.m */; }; A9433A8D1F2F5C3600BB38CA /* ChapterResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9433A8C1F2F5C3600BB38CA /* ChapterResult.swift */; }; A9433A911F2F5D8A00BB38CA /* ChapterDB.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9433A901F2F5D8A00BB38CA /* ChapterDB.swift */; }; A944E5921F498FC4002E43F6 /* PresetPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A944E5911F498FC4002E43F6 /* PresetPrefsViewController.swift */; }; @@ -84,7 +85,6 @@ A9B46AA412B79BB10040517A /* Subler.icns in Resources */ = {isa = PBXBuildFile; fileRef = A9B46AA312B79BB10040517A /* Subler.icns */; }; A9B46ABF12B79D1C0040517A /* SBDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B46ABE12B79D1C0040517A /* SBDocument.m */; }; A9B514191EFC12310055A035 /* TheTVDB.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B514181EFC12310055A035 /* TheTVDB.swift */; }; - A9B75B8E1DAD1B140031798B /* SBPopUpCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = A9B75B8D1DAD1B140031798B /* SBPopUpCellView.m */; }; A9BA1AEE1DBF7DD700FD0B38 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF01DBF7DD700FD0B38 /* InfoPlist.strings */; }; A9BA1AF31DBF7DD800FD0B38 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF51DBF7DD800FD0B38 /* Localizable.strings */; }; A9BC410318D9AB8700F8C92C /* SBItemViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9BC410218D9AB8700F8C92C /* SBItemViewController.m */; }; @@ -178,17 +178,16 @@ 8D15AC360486D014006FF6A4 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 8D15AC370486D014006FF6A4 /* Subler.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Subler.app; sourceTree = BUILT_PRODUCTS_DIR; }; 948058B5106E07990037A911 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = /usr/lib/libz.dylib; sourceTree = ""; }; + A90057B51F99DE2700FA4ED1 /* ComboBoxCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ComboBoxCellView.swift; path = Classes/ComboBoxCellView.swift; sourceTree = ""; }; + A90057B91F99E02400FA4ED1 /* ComboBoxCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComboBoxCell.swift; sourceTree = ""; }; + A90057BB1F99E20B00FA4ED1 /* CheckBoxCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CheckBoxCellView.swift; path = Classes/CheckBoxCellView.swift; sourceTree = ""; }; + A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TokenFieldCell.swift; path = Classes/TokenFieldCell.swift; sourceTree = ""; }; + A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PopUpCellView.swift; path = Classes/PopUpCellView.swift; sourceTree = ""; }; A900CE3D1F3ACF9700CCA08E /* MetadataResultMap.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataResultMap.swift; path = Classes/MetadataImporters/MetadataResultMap.swift; sourceTree = ""; }; A90300C91DAE72C4008237D8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/SBPresetPrefsViewController.xib; sourceTree = ""; }; A9067A0B1F3CA4E6008011DC /* MetadataPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataPrefsViewController.swift; path = Classes/MetadataPrefsViewController.swift; sourceTree = ""; }; A906B5B01E434872007D12B1 /* Queue.sdef */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Queue.sdef; sourceTree = ""; }; - A90944081DD4B80000E9F89C /* SBComboBoxCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBComboBoxCell.h; path = Classes/SBComboBoxCell.h; sourceTree = ""; }; - A90944091DD4B80000E9F89C /* SBComboBoxCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBComboBoxCell.m; path = Classes/SBComboBoxCell.m; sourceTree = ""; }; - A909440B1DD4C70900E9F89C /* SBTokenFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBTokenFieldCell.h; path = Classes/SBTokenFieldCell.h; sourceTree = ""; }; - A909440C1DD4C70900E9F89C /* SBTokenFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBTokenFieldCell.m; path = Classes/SBTokenFieldCell.m; sourceTree = ""; }; A90BC5E21F3A139700F9F3F3 /* MetadataResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataResult.swift; path = Classes/MetadataImporters/MetadataResult.swift; sourceTree = ""; }; - A91690021DABFDAA004B9AB0 /* SBCheckBoxCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBCheckBoxCellView.h; path = Classes/SBCheckBoxCellView.h; sourceTree = ""; }; - A91690031DABFDAA004B9AB0 /* SBCheckBoxCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBCheckBoxCellView.m; path = Classes/SBCheckBoxCellView.m; sourceTree = ""; }; A917286019FD288B00348DF8 /* SBLogger.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBLogger.m; path = Classes/SBLogger.m; sourceTree = ""; }; A917286419FD289F00348DF8 /* SBLogger.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SBLogger.h; path = Classes/SBLogger.h; sourceTree = ""; }; A91B196B1F2B0DCB0008675F /* QueueAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueueAction.swift; path = Classes/QueueAction.swift; sourceTree = ""; }; @@ -217,8 +216,6 @@ A92ECCE21F49984C0063BFBD /* PrefsWindowController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PrefsWindowController.swift; path = Classes/PrefsWindowController.swift; sourceTree = ""; }; A93105361F9758EC00605146 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/FileImportController.xib; sourceTree = ""; }; A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MP42FileAdditions.swift; path = Classes/MP42FileAdditions.swift; sourceTree = ""; }; - A93DD7661DACCE930052749A /* SBComboBoxCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBComboBoxCellView.h; path = Classes/SBComboBoxCellView.h; sourceTree = ""; }; - A93DD7671DACCE930052749A /* SBComboBoxCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBComboBoxCellView.m; path = Classes/SBComboBoxCellView.m; sourceTree = ""; }; A9433A8C1F2F5C3600BB38CA /* ChapterResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterResult.swift; path = Classes/MetadataImporters/ChapterResult.swift; sourceTree = ""; }; A9433A901F2F5D8A00BB38CA /* ChapterDB.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterDB.swift; path = Classes/MetadataImporters/ChapterDB.swift; sourceTree = ""; }; A944E5911F498FC4002E43F6 /* PresetPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PresetPrefsViewController.swift; path = Classes/PresetPrefsViewController.swift; sourceTree = ""; }; @@ -283,8 +280,6 @@ A9B46ABE12B79D1C0040517A /* SBDocument.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; name = SBDocument.m; path = Classes/SBDocument.m; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; A9B4EE4E1643EBF3009AF6BC /* Subler.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Subler.entitlements; sourceTree = ""; }; A9B514181EFC12310055A035 /* TheTVDB.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TheTVDB.swift; path = Classes/MetadataImporters/TheTVDB.swift; sourceTree = ""; }; - A9B75B8C1DAD1B140031798B /* SBPopUpCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBPopUpCellView.h; path = Classes/SBPopUpCellView.h; sourceTree = ""; }; - A9B75B8D1DAD1B140031798B /* SBPopUpCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBPopUpCellView.m; path = Classes/SBPopUpCellView.m; sourceTree = ""; }; A9BA1ACF1DBF773600FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/SBPresetPrefsViewController.strings; sourceTree = ""; }; A9BA1AD01DBF773600FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/SBMetadataPrefsViewController.strings; sourceTree = ""; }; A9BA1AD11DBF773600FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/SBDocument.strings; sourceTree = ""; }; @@ -471,16 +466,11 @@ A909440E1DD4C85B00E9F89C /* Table View */ = { isa = PBXGroup; children = ( - A93DD7661DACCE930052749A /* SBComboBoxCellView.h */, - A93DD7671DACCE930052749A /* SBComboBoxCellView.m */, - A90944081DD4B80000E9F89C /* SBComboBoxCell.h */, - A90944091DD4B80000E9F89C /* SBComboBoxCell.m */, - A91690021DABFDAA004B9AB0 /* SBCheckBoxCellView.h */, - A91690031DABFDAA004B9AB0 /* SBCheckBoxCellView.m */, - A909440B1DD4C70900E9F89C /* SBTokenFieldCell.h */, - A909440C1DD4C70900E9F89C /* SBTokenFieldCell.m */, - A9B75B8C1DAD1B140031798B /* SBPopUpCellView.h */, - A9B75B8D1DAD1B140031798B /* SBPopUpCellView.m */, + A90057B51F99DE2700FA4ED1 /* ComboBoxCellView.swift */, + A90057B91F99E02400FA4ED1 /* ComboBoxCell.swift */, + A90057BB1F99E20B00FA4ED1 /* CheckBoxCellView.swift */, + A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */, + A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */, A9B46A8412B79B240040517A /* SBTableView.h */, A9B46A8512B79B240040517A /* SBTableView.m */, ); @@ -836,8 +826,6 @@ A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */, A98D98461F0280CB00A77ABC /* TheMovieDB.swift in Sources */, A98D98481F02820F00A77ABC /* TheMovieDBService.swift in Sources */, - A9B75B8E1DAD1B140031798B /* SBPopUpCellView.m in Sources */, - A91690041DABFDAA004B9AB0 /* SBCheckBoxCellView.m in Sources */, A962D9EE1F8B7F9F00802EEF /* FileImportController.swift in Sources */, A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */, A9577CF61F3DC667009181F4 /* Document+Swift.swift in Sources */, @@ -849,7 +837,6 @@ A9BC410318D9AB8700F8C92C /* SBItemViewController.m in Sources */, A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */, A9915ABF1F4B26CF003C57D1 /* MetadataPreset.swift in Sources */, - A93DD7681DACCE930052749A /* SBComboBoxCellView.m in Sources */, A900CE3E1F3ACF9700CCA08E /* MetadataResultMap.swift in Sources */, A9B46A8F12B79B240040517A /* SBTableView.m in Sources */, A9B46A9E12B79B990040517A /* ButtonToolbarItem.m in Sources */, @@ -858,12 +845,13 @@ A96946531BA3F83D0048C004 /* SBMediaTagsController.m in Sources */, A9AB485417F0AEAC000AA72E /* SBChapterViewController.m in Sources */, A9AB485817F0AEAC000AA72E /* SBVideoViewController.m in Sources */, + A90057BC1F99E20B00FA4ED1 /* CheckBoxCellView.swift in Sources */, A9433A911F2F5D8A00BB38CA /* ChapterDB.swift in Sources */, + A90057BE1F99E2D800FA4ED1 /* TokenFieldCell.swift in Sources */, A9395E351F8B9ACA004C402B /* MP42FileAdditions.swift in Sources */, A9A8CEF91E43754400BC2AE1 /* SBQueueScriptCommand.m in Sources */, A9B46ABF12B79D1C0040517A /* SBDocument.m in Sources */, A997B0AA1F348AB000974C9C /* MetadataSearchController.swift in Sources */, - A909440D1DD4C70900E9F89C /* SBTokenFieldCell.m in Sources */, A9E932A71F34D31D00B1790B /* ArtworkSelector.swift in Sources */, A9C5FA6E19FA22590051F3FF /* SBLogWindowController.m in Sources */, A9D73C5218BF3F1100C6FFA6 /* SBQueue.m in Sources */, @@ -878,13 +866,14 @@ A9FC6FF61EF2E3280034CCED /* TheTVDBService.swift in Sources */, A961476313F567E10068F161 /* SBQueueController.m in Sources */, A982D0C0140AB66400B92357 /* SBQueueItem.m in Sources */, + A90057C01F99E35300FA4ED1 /* PopUpCellView.swift in Sources */, A9AF6A7518D0496400FAAB08 /* SBQueueAction.m in Sources */, A917286119FD288B00348DF8 /* SBLogger.m in Sources */, A91B196C1F2B0DCB0008675F /* QueueAction.swift in Sources */, + A90057BA1F99E02400FA4ED1 /* ComboBoxCell.swift in Sources */, A99189D11F2F88F700623ED7 /* ChapterSearchController.swift in Sources */, A9A77C4E1F306FA70018023B /* AttributedStyles.swift in Sources */, A92AD0161F3482350082892E /* NetworkUtilities.swift in Sources */, - A909440A1DD4B80000E9F89C /* SBComboBoxCell.m in Sources */, A944E5921F498FC4002E43F6 /* PresetPrefsViewController.swift in Sources */, A9AE26C21F3B665D0041A57D /* SBMultiSelectViewController.m in Sources */, A9E97F141F274F1100DBA586 /* iTunesStore.swift in Sources */, @@ -893,6 +882,7 @@ A9AB485517F0AEAC000AA72E /* SBEmptyViewController.m in Sources */, A9AE70E11F2F7B3D001CF27C /* MetadataHelper.swift in Sources */, A9A0542E1DEEC3E000D1AFA4 /* SBLanguageTransformer.m in Sources */, + A90057B61F99DE2700FA4ED1 /* ComboBoxCellView.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; };