Convert some cells to Swift.
This commit is contained in:
25 files changed
+173
-288
No files matched your search
@@ -49,7 +49,7 @@
|
||||
</customCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="check" id="MEZ-zI-j7A" customClass="SBCheckBoxCellView">
|
||||
<tableCellView identifier="check" id="MEZ-zI-j7A" customClass="CheckBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="1" y="1" width="20" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
@@ -247,7 +247,7 @@
|
||||
</customCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView id="K4f-NU-em4" customClass="SBPopUpCellView">
|
||||
<tableCellView id="K4f-NU-em4" customClass="PopUpCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="476" y="1" width="124" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13189.4" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13189.4"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -124,7 +124,7 @@
|
||||
</buttonCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="CheckCell" id="OXq-OQ-QE3" customClass="SBCheckBoxCellView">
|
||||
<tableCellView identifier="CheckCell" id="OXq-OQ-QE3" customClass="CheckBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="41" y="1" width="18" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
@@ -229,7 +229,7 @@
|
||||
</comboBoxCell>
|
||||
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
|
||||
<prototypeCellViews>
|
||||
<tableCellView identifier="PopUpCell" id="Yb8-DO-WWM" customClass="SBPopUpCellView">
|
||||
<tableCellView identifier="PopUpCell" id="Yb8-DO-WWM" customClass="PopUpCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="382" y="1" width="158" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13189.4" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13189.4"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="13189.4"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="13528"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -35,7 +35,7 @@
|
||||
<rect key="frame" x="20" y="86" width="179" height="296"/>
|
||||
<clipView key="contentView" copiesOnScroll="NO" id="7IP-Gn-Bxd">
|
||||
<rect key="frame" x="1" y="1" width="177" height="294"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<ikImageBrowserView autoresizesSubviews="NO" zoomValue="1" allowsReordering="YES" animates="YES" translatesAutoresizingMaskIntoConstraints="NO" id="217" customClass="SBImageBrowserView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="177" height="294"/>
|
||||
@@ -163,7 +163,7 @@
|
||||
<rect key="frame" x="207" y="86" width="473" height="296"/>
|
||||
<clipView key="contentView" id="cQT-bX-0YB">
|
||||
<rect key="frame" x="1" y="0.0" width="471" height="295"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="14" rowSizeStyle="automatic" headerView="qXU-xB-xRF" viewBased="YES" floatsGroupRows="NO" id="qg5-r0-E4V" customClass="SBTableView">
|
||||
<rect key="frame" x="0.0" y="0.0" width="471" height="272"/>
|
||||
@@ -273,7 +273,7 @@
|
||||
<outlet property="textField" destination="AmC-rT-7Rf" id="L5l-ht-Zv3"/>
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="PopUpCell" id="JEU-aR-J9v" customClass="SBPopUpCellView">
|
||||
<tableCellView identifier="PopUpCell" id="JEU-aR-J9v" customClass="PopUpCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="122" y="33" width="347" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
@@ -302,7 +302,7 @@
|
||||
<outlet property="popUpButton" destination="cFv-4U-VzM" id="ELP-zT-lga"/>
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="BoolCell" id="DGy-Nb-PAN" customClass="SBCheckBoxCellView">
|
||||
<tableCellView identifier="BoolCell" id="DGy-Nb-PAN" customClass="CheckBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="122" y="49" width="347" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
@@ -327,13 +327,13 @@
|
||||
<outlet property="checkboxButton" destination="oyk-jS-zmh" id="8Ei-w1-gg3"/>
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="ComboCell" id="vy5-48-Vip" customClass="SBComboBoxCellView">
|
||||
<tableCellView identifier="ComboCell" id="vy5-48-Vip" customClass="ComboBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="122" y="68" width="347" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<comboBox verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="1000" translatesAutoresizingMaskIntoConstraints="NO" id="LbC-r6-Pau">
|
||||
<rect key="frame" x="3" y="0.0" width="344" height="19"/>
|
||||
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" title="Do not localize" usesSingleLineMode="YES" buttonBordered="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn" customClass="SBComboBoxCell">
|
||||
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" title="Do not localize" usesSingleLineMode="YES" buttonBordered="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn" customClass="ComboBoxCell" customModule="Subler" customModuleProvider="target">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13168.3" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13168.3"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -99,7 +99,7 @@
|
||||
<subviews>
|
||||
<tokenField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3sj-gY-zSo">
|
||||
<rect key="frame" x="1" y="1" width="205" height="16"/>
|
||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" alignment="left" allowsEditingTextAttributes="YES" id="BaM-xn-Wzr" customClass="SBTokenFieldCell">
|
||||
<tokenFieldCell key="cell" selectable="YES" editable="YES" alignment="left" allowsEditingTextAttributes="YES" id="BaM-xn-Wzr" customClass="TokenFieldCell" customModule="Subler" customModuleProvider="target">
|
||||
<font key="font" metaFont="cellTitle"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// CheckBoxCellView.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 20/10/2017.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
class CheckBoxCellView : NSTableCellView {
|
||||
@IBOutlet var checkboxButton: NSButton!
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// ComboBoxCellView.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 20/10/2017.
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
|
||||
class ComboBoxCellView : NSTableCellView {
|
||||
@IBOutlet var comboBox: NSComboBox!
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// PopUpCellView.swift
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 20/10/2017.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
class PopUpCellView : NSTableCellView {
|
||||
@IBOutlet var popUpButton: NSPopUpButton!
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13526" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13526"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="13526"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/>
|
||||
<plugIn identifier="com.apple.imagekit.ibplugin" version="13528"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
@@ -203,7 +203,7 @@
|
||||
<outlet property="textField" destination="AmC-rT-7Rf" id="L5l-ht-Zv3"/>
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="PopUpCell" id="JEU-aR-J9v" customClass="SBPopUpCellView">
|
||||
<tableCellView identifier="PopUpCell" id="JEU-aR-J9v" customClass="PopUpCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="122" y="33" width="322" height="14"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
@@ -228,7 +228,7 @@
|
||||
<outlet property="popUpButton" destination="cFv-4U-VzM" id="ELP-zT-lga"/>
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="BoolCell" id="DGy-Nb-PAN" customClass="SBCheckBoxCellView">
|
||||
<tableCellView identifier="BoolCell" id="DGy-Nb-PAN" customClass="CheckBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="122" y="49" width="322" height="17"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
@@ -248,14 +248,14 @@
|
||||
<outlet property="checkboxButton" destination="oyk-jS-zmh" id="8Ei-w1-gg3"/>
|
||||
</connections>
|
||||
</tableCellView>
|
||||
<tableCellView identifier="ComboCell" id="vy5-48-Vip" customClass="SBComboBoxCellView">
|
||||
<tableCellView identifier="ComboCell" id="vy5-48-Vip" customClass="ComboBoxCellView" customModule="Subler" customModuleProvider="target">
|
||||
<rect key="frame" x="122" y="68" width="322" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<subviews>
|
||||
<comboBox verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="1000" translatesAutoresizingMaskIntoConstraints="NO" id="LbC-r6-Pau">
|
||||
<rect key="frame" x="3" y="0.0" width="319" height="19"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
|
||||
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" title="Do not localize" usesSingleLineMode="YES" buttonBordered="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn" customClass="SBComboBoxCell">
|
||||
<comboBoxCell key="cell" controlSize="small" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="left" title="Do not localize" usesSingleLineMode="YES" buttonBordered="NO" numberOfVisibleItems="5" id="jkg-xz-Hbn" customClass="ComboBoxCell" customModule="Subler" customModuleProvider="target">
|
||||
<font key="font" metaFont="smallSystem"/>
|
||||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
||||
|
||||
@@ -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 <MP42Foundation/MP42Ratings.h>
|
||||
#import <MP42Foundation/MP42Image.h>
|
||||
@@ -431,7 +428,7 @@ static NSArray<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<NSArray *> *_mediaKinds;
|
||||
|
||||
- (NSTableCellView *)popUpRatingCellWithContents:(NSArray<NSString *> *)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<NSArray *> *_mediaKinds;
|
||||
- (NSTableCellView *)popUpCellWithArrayContents:(NSArray<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<NSArray *> *_mediaKinds;
|
||||
|
||||
- (NSTableCellView *)comboBoxCellWithArrayContents:(NSArray<NSString *> *)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;
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
//
|
||||
// SBCheckBoxCellView.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 10/10/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface SBCheckBoxCellView : NSTableCellView
|
||||
|
||||
@property (nonatomic, nullable, assign) IBOutlet NSButton *checkboxButton;
|
||||
|
||||
@end
|
||||
@@ -1,13 +0,0 @@
|
||||
//
|
||||
// SBCheckBoxCellView.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 10/10/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import "SBCheckBoxCellView.h"
|
||||
|
||||
@implementation SBCheckBoxCellView
|
||||
|
||||
@end
|
||||
@@ -1,13 +0,0 @@
|
||||
//
|
||||
// SBComboBoxCell.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 10/11/16.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface SBComboBoxCell : NSComboBoxCell
|
||||
|
||||
@end
|
||||
@@ -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
|
||||
@@ -1,15 +0,0 @@
|
||||
//
|
||||
// SBComboBoxCellView.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 11/10/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface SBComboBoxCellView : NSTableCellView
|
||||
|
||||
@property (nonatomic, nullable, assign) IBOutlet NSComboBox *comboBox;
|
||||
|
||||
@end
|
||||
@@ -1,13 +0,0 @@
|
||||
//
|
||||
// SBComboBoxCellView.m
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 11/10/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import "SBComboBoxCellView.h"
|
||||
|
||||
@implementation SBComboBoxCellView
|
||||
|
||||
@end
|
||||
@@ -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];
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
//
|
||||
// SBPopUpCellView.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 10/10/2016.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface SBPopUpCellView : NSTableCellView
|
||||
|
||||
@property (nonatomic, nullable, assign) IBOutlet NSPopUpButton *popUpButton;
|
||||
|
||||
@end
|
||||
@@ -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
|
||||
@@ -1,13 +0,0 @@
|
||||
//
|
||||
// SBTokenFieldCell.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 10/11/16.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
@interface SBTokenFieldCell : NSTokenFieldCell
|
||||
|
||||
@end
|
||||
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
@@ -8,8 +8,6 @@
|
||||
#import "SBMovieViewController.h"
|
||||
|
||||
#import "SBTableView.h"
|
||||
#import "SBCheckBoxCellView.h"
|
||||
#import "SBPopUpCellView.h"
|
||||
|
||||
#import <MP42Foundation/MP42Ratings.h>
|
||||
#import <MP42Foundation/MP42Languages.h>
|
||||
|
||||
@@ -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 = "<group>"; };
|
||||
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 = "<absolute>"; };
|
||||
A90057B51F99DE2700FA4ED1 /* ComboBoxCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ComboBoxCellView.swift; path = Classes/ComboBoxCellView.swift; sourceTree = "<group>"; };
|
||||
A90057B91F99E02400FA4ED1 /* ComboBoxCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComboBoxCell.swift; sourceTree = "<group>"; };
|
||||
A90057BB1F99E20B00FA4ED1 /* CheckBoxCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = CheckBoxCellView.swift; path = Classes/CheckBoxCellView.swift; sourceTree = "<group>"; };
|
||||
A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TokenFieldCell.swift; path = Classes/TokenFieldCell.swift; sourceTree = "<group>"; };
|
||||
A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PopUpCellView.swift; path = Classes/PopUpCellView.swift; sourceTree = "<group>"; };
|
||||
A900CE3D1F3ACF9700CCA08E /* MetadataResultMap.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataResultMap.swift; path = Classes/MetadataImporters/MetadataResultMap.swift; sourceTree = "<group>"; };
|
||||
A90300C91DAE72C4008237D8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/SBPresetPrefsViewController.xib; sourceTree = "<group>"; };
|
||||
A9067A0B1F3CA4E6008011DC /* MetadataPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataPrefsViewController.swift; path = Classes/MetadataPrefsViewController.swift; sourceTree = "<group>"; };
|
||||
A906B5B01E434872007D12B1 /* Queue.sdef */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Queue.sdef; sourceTree = "<group>"; };
|
||||
A90944081DD4B80000E9F89C /* SBComboBoxCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBComboBoxCell.h; path = Classes/SBComboBoxCell.h; sourceTree = "<group>"; };
|
||||
A90944091DD4B80000E9F89C /* SBComboBoxCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBComboBoxCell.m; path = Classes/SBComboBoxCell.m; sourceTree = "<group>"; };
|
||||
A909440B1DD4C70900E9F89C /* SBTokenFieldCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBTokenFieldCell.h; path = Classes/SBTokenFieldCell.h; sourceTree = "<group>"; };
|
||||
A909440C1DD4C70900E9F89C /* SBTokenFieldCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBTokenFieldCell.m; path = Classes/SBTokenFieldCell.m; sourceTree = "<group>"; };
|
||||
A90BC5E21F3A139700F9F3F3 /* MetadataResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataResult.swift; path = Classes/MetadataImporters/MetadataResult.swift; sourceTree = "<group>"; };
|
||||
A91690021DABFDAA004B9AB0 /* SBCheckBoxCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBCheckBoxCellView.h; path = Classes/SBCheckBoxCellView.h; sourceTree = "<group>"; };
|
||||
A91690031DABFDAA004B9AB0 /* SBCheckBoxCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBCheckBoxCellView.m; path = Classes/SBCheckBoxCellView.m; sourceTree = "<group>"; };
|
||||
A917286019FD288B00348DF8 /* SBLogger.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBLogger.m; path = Classes/SBLogger.m; sourceTree = "<group>"; };
|
||||
A917286419FD289F00348DF8 /* SBLogger.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SBLogger.h; path = Classes/SBLogger.h; sourceTree = "<group>"; };
|
||||
A91B196B1F2B0DCB0008675F /* QueueAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = QueueAction.swift; path = Classes/QueueAction.swift; sourceTree = "<group>"; };
|
||||
@@ -217,8 +216,6 @@
|
||||
A92ECCE21F49984C0063BFBD /* PrefsWindowController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PrefsWindowController.swift; path = Classes/PrefsWindowController.swift; sourceTree = "<group>"; };
|
||||
A93105361F9758EC00605146 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/FileImportController.xib; sourceTree = "<group>"; };
|
||||
A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MP42FileAdditions.swift; path = Classes/MP42FileAdditions.swift; sourceTree = "<group>"; };
|
||||
A93DD7661DACCE930052749A /* SBComboBoxCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBComboBoxCellView.h; path = Classes/SBComboBoxCellView.h; sourceTree = "<group>"; };
|
||||
A93DD7671DACCE930052749A /* SBComboBoxCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBComboBoxCellView.m; path = Classes/SBComboBoxCellView.m; sourceTree = "<group>"; };
|
||||
A9433A8C1F2F5C3600BB38CA /* ChapterResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterResult.swift; path = Classes/MetadataImporters/ChapterResult.swift; sourceTree = "<group>"; };
|
||||
A9433A901F2F5D8A00BB38CA /* ChapterDB.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterDB.swift; path = Classes/MetadataImporters/ChapterDB.swift; sourceTree = "<group>"; };
|
||||
A944E5911F498FC4002E43F6 /* PresetPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PresetPrefsViewController.swift; path = Classes/PresetPrefsViewController.swift; sourceTree = "<group>"; };
|
||||
@@ -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 = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
|
||||
A9B4EE4E1643EBF3009AF6BC /* Subler.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Subler.entitlements; sourceTree = "<group>"; };
|
||||
A9B514181EFC12310055A035 /* TheTVDB.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TheTVDB.swift; path = Classes/MetadataImporters/TheTVDB.swift; sourceTree = "<group>"; };
|
||||
A9B75B8C1DAD1B140031798B /* SBPopUpCellView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBPopUpCellView.h; path = Classes/SBPopUpCellView.h; sourceTree = "<group>"; };
|
||||
A9B75B8D1DAD1B140031798B /* SBPopUpCellView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBPopUpCellView.m; path = Classes/SBPopUpCellView.m; sourceTree = "<group>"; };
|
||||
A9BA1ACF1DBF773600FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/SBPresetPrefsViewController.strings; sourceTree = "<group>"; };
|
||||
A9BA1AD01DBF773600FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/SBMetadataPrefsViewController.strings; sourceTree = "<group>"; };
|
||||
A9BA1AD11DBF773600FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/SBDocument.strings; sourceTree = "<group>"; };
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user