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

File renamed without changes.
+71
View File
@@ -0,0 +1,71 @@
//
// ImageBrowserView.swift
// Subler
//
// Created by Damiano Galassi on 11/11/2017.
//
import Cocoa
import Quartz
@objc(SBImageBrowserViewDelegate) protocol ImageBrowserViewDelegate : NSObjectProtocol {
@objc(pasteToImageBrowserView:) optional func paste(to imagebrowserview: ImageBrowserView)
}
@objc(SBImageBrowserView) class ImageBrowserView : IKImageBrowserView {
@objc var pasteboardTypes: [NSPasteboard.PasteboardType]
var pasteboardHasSupportedType: Bool {
get {
// has the pasteboard got a type we support?
let pb = NSPasteboard.general
let bestType = pb.availableType(from: pasteboardTypes)
return bestType != nil
}
}
private var expandedDelegate: ImageBrowserViewDelegate? {
get {
return delegate as? ImageBrowserViewDelegate
}
}
override init(frame frameRect: NSRect) {
pasteboardTypes = Array()
super.init(frame: frameRect)
}
required init?(coder: NSCoder) {
pasteboardTypes = Array()
super.init(coder: coder)
}
private func implements(selector: Selector) -> Bool {
if let implemented = expandedDelegate?.responds(to: selector),
implemented == true {
return true
}
return false
}
override func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
if let action = menuItem.action {
switch action {
case #selector(paste(_:)):
if pasteboardHasSupportedType == false || implements(selector: #selector(ExpandedTableViewDelegate.paste(to:))) == false {
return false
}
default:
break
}
}
return true
}
@IBAction func paste(_ sender: Any?) {
if implements(selector: #selector(ImageBrowserViewDelegate.paste(to:))) {
expandedDelegate?.paste!(to: self)
}
}
}
+69
View File
@@ -0,0 +1,69 @@
//
// ItemViewController.swift
// Subler
//
// Created by Damiano Galassi on 11/11/2017.
//
import Cocoa
@objc(SBItemViewDelegate) protocol ItemViewDelegate: AnyObject {
@objc(editItem:) func edit(item: SBQueueItem)
}
@objc(SBItemViewController) class ItemViewController : NSViewController {
@objc let item: SBQueueItem
var delegate: ItemViewDelegate
var statusObserver: NSKeyValueObservation?
var actionsObserver: NSKeyValueObservation?
@IBOutlet var editButton: NSButton!
@IBOutlet var spinner: NSProgressIndicator!
@IBOutlet var tableHeight: NSLayoutConstraint!
override var nibName: NSNib.Name? {
return NSNib.Name(rawValue: "QueueItem")
}
@objc init(item: SBQueueItem, delegate: ItemViewDelegate) {
self.item = item
self.delegate = delegate
super.init(nibName: self.nibName, bundle: nil)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override func loadView() {
super.loadView()
// Observe the item status
statusObserver = self.observe(\.item.status, options: [.initial, .new]) { [weak self] observed, change in
guard let s = self, let status = change.newValue else { return }
DispatchQueue.main.async {
if status != SBQueueItemStatus.ready && status != SBQueueItemStatus.editing {
s.editButton.isEnabled = false
} else {
s.editButton.isEnabled = true
}
}
}
// Observe the item actions
actionsObserver = self.observe(\.item.actions, options: [.initial, .new]) { [weak self] observed, change in
guard let s = self, let newCount = change.newValue?.count, let oldCount = change.oldValue?.count else { return }
let count = newCount - oldCount
let height = 16.0 * CGFloat(count >= 0 ? count : 1)
s.tableHeight.constant = height
}
}
@IBAction func edit(_ sender: Any) {
spinner.isHidden = false
delegate.edit(item: item)
}
}
+30
View File
@@ -0,0 +1,30 @@
//
// LanguageTransformer.swift
// Subler
//
// Created by Damiano Galassi on 11/11/2017.
//
import Foundation
@objc(SBLanguageTransformer) class LanguageTransformer : ValueTransformer {
private let langManager = MP42Languages.defaultManager
override class func transformedValueClass() -> Swift.AnyClass {
return NSString.self
}
override class func allowsReverseTransformation() -> Bool {
return true
}
override func transformedValue(_ value: Any?) -> Any? {
return langManager.localizedLang(forExtendedTag: value as! String)
}
override func reverseTransformedValue(_ value: Any?) -> Any? {
return langManager.extendedTag(forLocalizedLang: value as! String)
}
}
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13770" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies> <dependencies>
<deployment identifier="macosx"/> <deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13770"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
<objects> <objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBChapterViewController"> <customObject id="-2" userLabel="File's Owner" customClass="ChapterSearchController" customModule="Subler" customModuleProvider="target">
<connections> <connections>
<outlet property="chapterTableView" destination="22" id="49"/> <outlet property="removeChapter" destination="31" id="faJ-CI-g36"/>
<outlet property="removeChapter" destination="31" id="47"/> <outlet property="tableView" destination="22" id="7Za-v5-yKx"/>
<outlet property="view" destination="1" id="2"/> <outlet property="view" destination="1" id="2"/>
</connections> </connections>
</customObject> </customObject>
@@ -35,7 +35,7 @@
<rect key="frame" x="1" y="0.0" width="446" height="194"/> <rect key="frame" x="1" y="0.0" width="446" height="194"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target"> <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="14" headerView="23" viewBased="YES" id="22" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="446" height="177"/> <rect key="frame" x="0.0" y="0.0" width="446" height="177"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/> <size key="intercellSpacing" width="3" height="2"/>
@@ -302,6 +302,29 @@
</allowedInputSourceLocales> </allowedInputSourceLocales>
</textFieldCell> </textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="lUr-1t-Gov">
<rect key="frame" x="1" y="1" width="96" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" misplaced="YES" id="sbg-eG-N9u">
<rect key="frame" x="0.0" y="3" width="96" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="right" title="Table View Cell" id="fIl-II-Tfv">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<action selector="setChapterTimeStamp:" target="-2" id="SNb-Yy-l6Q"/>
</connections>
</textField>
</subviews>
<connections>
<outlet property="textField" destination="sbg-eG-N9u" id="rpX-jo-DcW"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn> </tableColumn>
<tableColumn identifier="title" width="344" minWidth="40" maxWidth="2000" id="25"> <tableColumn identifier="title" width="344" minWidth="40" maxWidth="2000" id="25">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Title"> <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Title">
@@ -315,6 +338,29 @@
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell> </textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/> <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="SuA-T8-hMx">
<rect key="frame" x="100" y="1" width="344" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" misplaced="YES" id="KkS-kR-z72">
<rect key="frame" x="0.0" y="3" width="344" height="14"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" title="Table View Cell" id="Ktq-AC-XnR">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<action selector="setChapterTitle:" target="-2" id="6Jm-gc-jcn"/>
</connections>
</textField>
</subviews>
<connections>
<outlet property="textField" destination="KkS-kR-z72" id="Psh-7t-gco"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn> </tableColumn>
</tableColumns> </tableColumns>
<accessibility description="Chapters"/> <accessibility description="Chapters"/>
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13528" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES"> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13770" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies> <dependencies>
<deployment identifier="macosx"/> <deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13528"/> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13770"/>
<plugIn identifier="com.apple.imagekit.ibplugin" version="13528"/> <plugIn identifier="com.apple.imagekit.ibplugin" version="13770"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
<objects> <objects>
@@ -255,7 +255,7 @@
<comboBox verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" preferredMaxLayoutWidth="1000" translatesAutoresizingMaskIntoConstraints="NO" id="LbC-r6-Pau"> <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"/> <rect key="frame" x="3" y="0.0" width="319" height="19"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/> <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="ComboBoxCell" customModule="Subler" customModuleProvider="target"> <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">
<font key="font" metaFont="smallSystem"/> <font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
@@ -0,0 +1,136 @@
//
// ChapterViewController.swift
// Subler
//
// Created by Damiano Galassi on 11/11/2017.
//
import Cocoa
@objc(SBChapterViewController) class ChapterViewController : NSViewController, NSTableViewDataSource, NSTableViewDelegate {
var track: MP42ChapterTrack {
didSet {
tableView.reloadData()
}
}
@IBOutlet var tableView: ExpandedTableView!
@IBOutlet var removeChapter: NSButton!
override var nibName: NSNib.Name? {
return NSNib.Name(rawValue: "ChapterView")
}
@objc init(track: MP42ChapterTrack) {
self.track = track
super.init(nibName: self.nibName, bundle: nil)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override func loadView() {
super.loadView()
tableView.defaultEditingColumn = 1
tableView.doubleAction = #selector(doubleClickAction(_:))
}
// MARK: Table View
func numberOfRows(in tableView: NSTableView) -> Int {
return Int(track.chapterCount())
}
let trackTimeColumn = NSUserInterfaceItemIdentifier(rawValue: "time")
let trackTitleColumn = NSUserInterfaceItemIdentifier(rawValue: "title")
func tableView(_ tableView: NSTableView, viewFor tableColumn: NSTableColumn?, row: Int) -> NSView? {
let chapter = track.chapter(at: UInt(row))
switch tableColumn?.identifier {
case trackTimeColumn?:
let cell = tableView.makeView(withIdentifier: trackTimeColumn, owner:self) as? NSTableCellView
cell?.textField?.attributedStringValue = StringFromTime(Int64(chapter.timestamp), 1000).boldMonospacedAttributedString()
return cell
case trackTitleColumn?:
let cell = tableView.makeView(withIdentifier: trackTitleColumn, owner:self) as? NSTableCellView
cell?.textField?.stringValue = chapter.title
return cell
default:
return nil
}
}
func tableViewSelectionDidChange(_ notification: Notification) {
removeChapter.isEnabled = tableView.selectedRow != -1 ? true : false
}
@IBAction func setChapterTitle(_ sender: NSTextField) {
let row = tableView.row(for: sender)
if row > -1 {
let chapter = track.chapter(at: UInt(row))
track.setTitle(sender.stringValue, forChapter: chapter)
tableView.reloadData(forRowIndexes: IndexSet(integer: row), columnIndexes: IndexSet(integer: 1))
updateChangeCount()
}
}
@IBAction func setChapterTimeStamp(_ sender: NSTextField) {
let row = tableView.row(for: sender)
if row > -1 {
let chapter = track.chapter(at: UInt(row))
let timestamp = TimeFromString(sender.stringValue, 1000)
track.setTimestamp(timestamp, forChapter: chapter)
tableView.reloadData()
updateChangeCount()
}
}
@IBAction func doubleClickAction(_ sender: NSTableView) {
if sender.clickedRow > -1 && sender.clickedColumn > -1 {
sender.editColumn(sender.clickedColumn, row: sender.clickedRow, with: nil, select: true)
}
}
// MARK: Actions
private func updateChangeCount() {
view.window?.windowController?.document?.updateChangeCount(NSDocument.ChangeType.changeDone)
}
@IBAction func removeChapter(_ sender: Any) {
let currentIndex = tableView.selectedRow
if currentIndex < track.chapterCount() {
track.removeChapter(at: UInt(currentIndex))
let indexes = IndexSet(integer: currentIndex)
tableView.removeRows(at: indexes, withAnimation: NSTableView.AnimationOptions.slideUp)
tableView.selectRowIndexes(indexes, byExtendingSelection: false)
updateChangeCount()
}
}
@IBAction func addChapter(_ sender: Any) {
track.addChapter("Chapter", duration: 0)
tableView.reloadData()
updateChangeCount()
}
@IBAction func renameChapters(_ sender: Any) {
for (index, chapter) in track.chapters.enumerated() {
let title = "Chapter \(index + 1)"
track.setTitle(title, forChapter: chapter)
}
tableView.reloadData()
updateChangeCount()
}
}
@@ -1,25 +0,0 @@
//
// ChapterViewController.h
// Subler
//
// Created by Damiano Galassi on 06/02/09.
// Copyright 2009 Damiano Galassi. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <MP42Foundation/MP42File.h>
#import <MP42Foundation/MP42ChapterTrack.h>
NS_ASSUME_NONNULL_BEGIN
@interface SBChapterViewController : NSViewController
@property (nonatomic, readwrite, nullable) MP42ChapterTrack *track;
- (IBAction)addChapter:(id)sender;
- (IBAction)removeChapter:(id)sender;
- (IBAction)renameChapters:(id)sender;
@end
NS_ASSUME_NONNULL_END
@@ -1,152 +0,0 @@
//
// ChapterViewController.m
// Subler
//
// Created by Damiano Galassi on 06/02/09.
// Copyright 2009 Damiano Galassi. All rights reserved.
//
#import "SBChapterViewController.h"
#import "Subler-Swift.h"
#import <MP42Foundation/MP42Utilities.h>
@implementation SBChapterViewController
{
NSDictionary *detailBoldAttr;
IBOutlet ExpandedTableView *chapterTableView;
IBOutlet NSButton *removeChapter;
}
- (void)loadView
{
[super loadView];
NSMutableParagraphStyle *ps = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
ps.headIndent = -10.0;
ps.alignment = NSTextAlignmentRight;
if ([[NSFont class] respondsToSelector:@selector(monospacedDigitSystemFontOfSize:weight:)]) {
detailBoldAttr = @{ NSFontAttributeName: [NSFont monospacedDigitSystemFontOfSize:[NSFont smallSystemFontSize] weight:NSFontWeightBold],
NSParagraphStyleAttributeName: ps,
NSForegroundColorAttributeName: [NSColor grayColor] };
}
else {
detailBoldAttr = @{ NSFontAttributeName: [NSFont boldSystemFontOfSize:[NSFont smallSystemFontSize]],
NSParagraphStyleAttributeName: ps,
NSForegroundColorAttributeName: [NSColor grayColor] };
}
chapterTableView.defaultEditingColumn = 1;
}
- (NSAttributedString *)boldString:(NSString *)string
{
return [[NSAttributedString alloc] initWithString:string attributes:detailBoldAttr];
}
- (NSInteger)numberOfRowsInTableView:(NSTableView *)t
{
return [self.track chapterCount];
}
- (id) tableView:(NSTableView *)tableView
objectValueForTableColumn:(NSTableColumn *)tableColumn
row:(NSInteger)rowIndex
{
MP42TextSample *chapter = [self.track chapterAtIndex:rowIndex];
if ([tableColumn.identifier isEqualToString:@"time"]) {
return [self boldString:StringFromTime(chapter.timestamp, 1000)];
}
if ([tableColumn.identifier isEqualToString:@"title"]) {
return chapter.title;
}
return nil;
}
- (void)tableView:(NSTableView *)tableView
setObjectValue:(id)anObject
forTableColumn:(NSTableColumn *)tableColumn
row:(NSInteger)rowIndex
{
MP42TextSample *chapter = [self.track chapterAtIndex:rowIndex];
if ([tableColumn.identifier isEqualToString:@"title"]) {
if (![chapter.title isEqualToString:anObject]) {
[self.track setTitle:anObject forChapter:chapter];
[self.view.window.windowController.document updateChangeCount:NSChangeDone];
}
}
else if ([tableColumn.identifier isEqualToString:@"time"]) {
MP42Duration timestamp = TimeFromString(anObject, 1000);
if (!(chapter.timestamp == timestamp)) {
[self.track setTimestamp:timestamp forChapter:chapter];
[chapterTableView reloadData];
[self.view.window.windowController.document updateChangeCount:NSChangeDone];
}
}
}
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification
{
if (chapterTableView.selectedRow != -1) {
[removeChapter setEnabled:YES];
}
else {
[removeChapter setEnabled:NO];
}
}
- (void)tableView:(NSTableView *)tableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)rowIndex
{
if ([tableColumn.identifier isEqualToString:@"time"]) {
if ([tableView.selectedRowIndexes containsIndex:rowIndex]) {
// Without this, the color won't change because
// we are using a attributed string.
NSMutableAttributedString *highlightedString = [[NSMutableAttributedString alloc] initWithAttributedString:[cell attributedStringValue]];
[highlightedString addAttribute:NSForegroundColorAttributeName value:[NSColor blackColor] range:NSMakeRange(0, highlightedString.length)];
[cell setAttributedStringValue:highlightedString];
[cell setTextColor:[NSColor blackColor]];
}
else {
[cell setTextColor:[NSColor grayColor]];
}
}
}
- (IBAction)removeChapter:(id)sender {
NSInteger current_index = chapterTableView.selectedRow;
if (current_index < [self.track chapterCount]) {
[self.track removeChapterAtIndex:current_index];
[chapterTableView reloadData];
[self.view.window.windowController.document updateChangeCount:NSChangeDone];
}
}
- (IBAction)addChapter:(id)sender {
[self.track addChapter:@"Chapter" duration:0];
[chapterTableView reloadData];
[self.view.window.windowController.document updateChangeCount:NSChangeDone];
}
- (IBAction)renameChapters:(id)sender {
[self.track.chapters enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop) {
NSString *title = [NSString stringWithFormat:@"Chapter %lu", (unsigned long) idx + 1];
[self.track setTitle:title forChapter:(MP42TextSample *)obj];
}];
[chapterTableView reloadData];
[self.view.window.windowController.document updateChangeCount:NSChangeDone];
}
@end
+1 -2
View File
@@ -10,7 +10,6 @@ NSString *SublerMetadataPBoardType = @"SublerMetadataPBoardTypeV2";
NSString *SublerCoverArtPBoardType = @"SublerCoverArtPBoardType"; NSString *SublerCoverArtPBoardType = @"SublerCoverArtPBoardType";
#import "SBMovieViewController.h" #import "SBMovieViewController.h"
#import "SBImageBrowserView.h"
#import <MP42Foundation/MP42Ratings.h> #import <MP42Foundation/MP42Ratings.h>
#import <MP42Foundation/MP42Image.h> #import <MP42Foundation/MP42Image.h>
@@ -982,7 +981,7 @@ static NSArray<NSArray *> *_mediaKinds;
return itemIndexes.count; return itemIndexes.count;
} }
- (void)_pasteToImageBrowserView:(IKImageBrowserView *)ImageBrowserView - (void)pasteToImageBrowserView:(SBImageBrowserView *)imagebrowserview
{ {
NSPasteboard *pasteboard = [NSPasteboard generalPasteboard]; NSPasteboard *pasteboard = [NSPasteboard generalPasteboard];
NSArray *items = nil; NSArray *items = nil;
@@ -0,0 +1,114 @@
//
// SoundViewController.swift
// Subler
//
// Created by Damiano Galassi on 11/11/2017.
//
import Cocoa
class SoundViewController : NSViewController {
var track: MP42AudioTrack {
didSet {
}
}
let fallbacks: [MP42AudioTrack]
let follows: [MP42SubtitleTrack]
let mediaTagsController: SBMediaTagsController
@IBOutlet var mediaTagsView: NSView!
@IBOutlet var volume: NSSlider!
@IBOutlet var alternateGroup: NSPopUpButton!
@IBOutlet var fallback: NSPopUpButton!
@IBOutlet var follow: NSPopUpButton!
override var nibName: NSNib.Name? {
return NSNib.Name(rawValue: "SoundView")
}
init(mp4: MP42File, track: MP42AudioTrack) {
self.track = track
self.fallbacks = Array()
self.follows = Array()
self.mediaTagsController = SBMediaTagsController(track: track)
super.init(nibName: self.nibName, bundle: nil)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override func loadView() {
super.loadView()
// Media Tags controls
mediaTagsController.view.frame = mediaTagsView.bounds
mediaTagsController.view.autoresizingMask = [.width, .height]
mediaTagsView.addSubview(mediaTagsController.view)
// Standard audio controls
alternateGroup.selectItem(at: Int(track.alternateGroup))
}
// MARK: Actions
private func updateChangeCount() {
view.window?.windowController?.document?.updateChangeCount(NSDocument.ChangeType.changeDone)
}
@IBAction func setTrackVolume(_ sender: NSSlider) {
let value = sender.floatValue / 100
if value != track.volume {
track.volume = value
updateChangeCount()
}
}
@IBAction func seTracktFallback(_ sender: NSPopUpButton) {
let index = sender.tag
if index > -1 {
let newFallbackTrack = fallbacks[index]
if newFallbackTrack != track.fallbackTrack {
track.fallbackTrack = newFallbackTrack
updateChangeCount()
}
}
else {
track.fallbackTrack = nil
updateChangeCount()
}
}
@IBAction func setTrackFollows(_ sender: NSPopUpButton) {
let index = sender.tag
if index > -1 {
let newFollowskTrack = follows[index]
if newFollowskTrack != track.followsTrack {
track.followsTrack = newFollowskTrack
updateChangeCount()
}
}
else {
track.followsTrack = nil
updateChangeCount()
}
}
@IBAction func setTrackAlternateGroup(_ sender: NSPopUpButton) {
if let group = sender.selectedItem?.tag {
if track.alternateGroup != group {
track.alternateGroup = UInt64(group)
updateChangeCount()
}
}
}
}
+1 -3
View File
@@ -13,7 +13,6 @@
#import "SBMovieViewController.h" #import "SBMovieViewController.h"
#import "SBVideoViewController.h" #import "SBVideoViewController.h"
#import "SBSoundViewController.h" #import "SBSoundViewController.h"
#import "SBChapterViewController.h"
#import <MP42Foundation/MP42File.h> #import <MP42Foundation/MP42File.h>
#import <MP42Foundation/MP42FileImporter.h> #import <MP42Foundation/MP42FileImporter.h>
@@ -720,8 +719,7 @@ static NSDictionary *_detailMonospacedAttr;
controller = [[SBMovieViewController alloc] initWithNibName:@"MovieView" bundle:nil]; controller = [[SBMovieViewController alloc] initWithNibName:@"MovieView" bundle:nil];
[(SBMovieViewController *)controller setMetadata:self.mp4.metadata]; [(SBMovieViewController *)controller setMetadata:self.mp4.metadata];
} else if ([track isMemberOfClass:[MP42ChapterTrack class]]) { } else if ([track isMemberOfClass:[MP42ChapterTrack class]]) {
controller = [[SBChapterViewController alloc] initWithNibName:@"ChapterView" bundle:nil]; controller = [[SBChapterViewController alloc] initWithTrack:track];
[controller setTrack:track];
} else if ([track isKindOfClass:[MP42VideoTrack class]]) { } else if ([track isKindOfClass:[MP42VideoTrack class]]) {
controller = [[SBVideoViewController alloc] initWithNibName:@"VideoView" bundle:nil]; controller = [[SBVideoViewController alloc] initWithNibName:@"VideoView" bundle:nil];
[controller setTrack:track]; [controller setTrack:track];
-26
View File
@@ -1,26 +0,0 @@
//
// SBImageBrowserView.h
// Subler
//
// Created by Damiano Galassi on 02/09/13.
//
//
#import <Quartz/Quartz.h>
NS_ASSUME_NONNULL_BEGIN
@protocol SBImageBrowserViewDelegate
@optional
- (void)_pasteToImageBrowserView:(IKImageBrowserView *)ImageBrowserView;
@end
@interface SBImageBrowserView : IKImageBrowserView
@property(nonatomic, readwrite, strong) NSArray<NSString *> *pasteboardTypes;
@end
NS_ASSUME_NONNULL_END
-60
View File
@@ -1,60 +0,0 @@
//
// SBImageBrowserView.m
// Subler
//
// Created by Damiano Galassi on 02/09/13.
//
//
#import "SBImageBrowserView.h"
@implementation SBImageBrowserView
- (instancetype)initWithFrame:(NSRect)frame
{
self = [super initWithFrame:frame];
if (self) {
_pasteboardTypes = @[];
}
return self;
}
- (instancetype)initWithCoder:(NSCoder *)coder
{
self = [super initWithCoder:coder];
if (self) {
_pasteboardTypes = @[];
}
return self;
}
- (BOOL)validateMenuItem:(NSMenuItem *)item
{
id delegate = [self delegate];
SEL action = item.action;
if (action == @selector(paste:)) {
if (![self pasteboardHasSupportedType] || ![delegate respondsToSelector:@selector(_pasteToImageBrowserView:)]) {
return NO;
} else {
return YES;
}
} else {
return [super validateMenuItem:item];
}
}
- (IBAction)paste:(id)sender
{
if ([[self delegate] respondsToSelector:@selector(_pasteToImageBrowserView:)])
[(id <SBImageBrowserViewDelegate>)[self delegate] _pasteToImageBrowserView:self];
}
- (BOOL)pasteboardHasSupportedType {
// has the pasteboard got a type we support?
NSPasteboard *pb = [NSPasteboard generalPasteboard];
NSString *bestType = [pb availableTypeFromArray:self.pasteboardTypes];
return (bestType != nil);
}
@end
-31
View File
@@ -1,31 +0,0 @@
//
// SBItemViewController.h
// Subler
//
// Created by Damiano Galassi on 19/03/14.
//
//
#import <Cocoa/Cocoa.h>
NS_ASSUME_NONNULL_BEGIN
@class SBQueueItem;
@protocol SBItemViewDelegate <NSObject>
- (void)setPopoverSize:(NSSize)size;
- (void)editItem:(SBQueueItem *)item;
@end
@interface SBItemViewController : NSViewController
@property (nonatomic, readonly) SBQueueItem *item;
@property (nonatomic, unsafe_unretained, readwrite) id<SBItemViewDelegate> delegate;
- (instancetype)initWithItem:(SBQueueItem *)item;
@end
NS_ASSUME_NONNULL_END
-106
View File
@@ -1,106 +0,0 @@
//
// SBItemViewController.m
// Subler
//
// Created by Damiano Galassi on 19/03/14.
//
//
#import "SBItemViewController.h"
#import "SBQueueItem.h"
static void *SBItemViewContex = &SBItemViewContex;
#define TABLE_ROW_HEIGHT 16
@interface SBItemViewController ()
{
id<SBItemViewDelegate> __unsafe_unretained _delegate;
}
@property (nonatomic) SBQueueItem *item;
@property (nonatomic, weak) IBOutlet NSButton *editButton;
@property (nonatomic, weak) IBOutlet NSProgressIndicator *spinner;
@property (nonatomic, weak) IBOutlet NSLayoutConstraint *tableHeight;
@end
@implementation SBItemViewController
@synthesize item = _item;
@synthesize delegate = _delegate;
@synthesize editButton = _editButton;
@synthesize spinner = _spinner;
- (instancetype)initWithItem:(SBQueueItem *)item {
self = [self init];
if (self) {
_item = item;
}
return self;
}
- (instancetype)init {
self = [super initWithNibName:@"QueueItem" bundle:nil];
return self;
}
- (void)loadView {
[super loadView];
// Observe the item status
[self addObserver:self
forKeyPath:@"item.status"
options:NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew
context:SBItemViewContex];
// Observe the item actions
[self addObserver:self
forKeyPath:@"item.actions"
options:NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld
context:SBItemViewContex];
}
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
if (context == SBItemViewContex) {
// Disable the edit button if the item status
// is different from ready
if ([keyPath isEqualToString:@"item.status"]) {
SBQueueItemStatus newStatus = [[change valueForKey:NSKeyValueChangeNewKey] integerValue];
dispatch_async(dispatch_get_main_queue(), ^{
if (newStatus != SBQueueItemStatusReady && newStatus != SBQueueItemStatusEditing) {
[self.editButton setEnabled:NO];
} else {
[self.editButton setEnabled:YES];
}
});
} else if ([keyPath isEqualToString:@"item.actions"]) {
NSInteger count = [change[NSKeyValueChangeNewKey] count] - [change[NSKeyValueChangeOldKey] count];
CGFloat height = TABLE_ROW_HEIGHT * (count >= 0 ? count : 1);
[self.tableHeight setConstant:height];
}
} else {
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
}
}
- (IBAction)edit:(id)sender {
[self.spinner setHidden:NO];
if ([self.delegate respondsToSelector:@selector(editItem:)]) {
[self.delegate editItem:self.item];
}
}
- (void)dealloc {
@try {
[self removeObserver:self forKeyPath:@"item.status"];
[self removeObserver:self forKeyPath:@"item.actions"];
} @catch (NSException * __unused exception) {}
}
@end
-13
View File
@@ -1,13 +0,0 @@
//
// SBLanguageTransformer.h
// Subler
//
// Created by Damiano Galassi on 30/11/16.
//
//
#import <Foundation/Foundation.h>
@interface SBLanguageTransformer : NSValueTransformer
@end
-49
View File
@@ -1,49 +0,0 @@
//
// SBLanguageTransformer.m
// Subler
//
// Created by Damiano Galassi on 30/11/16.
//
//
#import "SBLanguageTransformer.h"
#import <MP42Foundation/MP42Languages.h>
@interface SBLanguageTransformer ()
@property (nonatomic, readonly) MP42Languages *langManager;
@end
@implementation SBLanguageTransformer
- (instancetype)init
{
self = [super init];
if (self) {
_langManager = MP42Languages.defaultManager;
}
return self;
}
+ (Class)transformedValueClass
{
return [NSString class];
}
- (id)transformedValue:(id)value
{
return [self.langManager localizedLangForExtendedTag:value];
}
+ (BOOL)allowsReverseTransformation
{
return YES;
}
- (id)reverseTransformedValue:(id)value
{
return [self.langManager extendedTagForLocalizedLang:value];
}
@end
+1 -3
View File
@@ -11,7 +11,6 @@
#import "SBQueuePreferences.h" #import "SBQueuePreferences.h"
#import "SBOptionsViewController.h" #import "SBOptionsViewController.h"
#import "SBItemViewController.h"
#import "SBDocument.h" #import "SBDocument.h"
@@ -419,8 +418,7 @@ static void *SBQueueContex = &SBQueueContex;
// the popover retains us and we retain the popover, // the popover retains us and we retain the popover,
// we drop the popover whenever it is closed to avoid a cycle // we drop the popover whenever it is closed to avoid a cycle
SBItemViewController *view = [[SBItemViewController alloc] initWithItem:item]; SBItemViewController *view = [[SBItemViewController alloc] initWithItem:item delegate:self];
view.delegate = self;
self.itemPopover.contentViewController = view; self.itemPopover.contentViewController = view;
self.itemPopover.animates = YES; self.itemPopover.animates = YES;
+1
View File
@@ -6,6 +6,7 @@
#import "SBQueueItem.h" #import "SBQueueItem.h"
#import "SBQueueAction.h" #import "SBQueueAction.h"
#import "SBMovieViewController.h" #import "SBMovieViewController.h"
#import "SBMediaTagsController.h"
#import <MP42Foundation/MP42Ratings.h> #import <MP42Foundation/MP42Ratings.h>
#import <MP42Foundation/MP42Languages.h> #import <MP42Foundation/MP42Languages.h>
+20 -28
View File
@@ -14,7 +14,6 @@
8D15AC320486D014006FF6A4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A37F4B0FDCFA73011CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; 8D15AC320486D014006FF6A4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A37F4B0FDCFA73011CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */; }; 8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */; };
A90057B61F99DE2700FA4ED1 /* ComboBoxCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057B51F99DE2700FA4ED1 /* ComboBoxCellView.swift */; }; 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 */; }; A90057BC1F99E20B00FA4ED1 /* CheckBoxCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BB1F99E20B00FA4ED1 /* CheckBoxCellView.swift */; };
A90057BE1F99E2D800FA4ED1 /* TokenFieldCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */; }; A90057BE1F99E2D800FA4ED1 /* TokenFieldCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */; };
A90057C01F99E35300FA4ED1 /* PopUpCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */; }; A90057C01F99E35300FA4ED1 /* PopUpCellView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */; };
@@ -43,10 +42,11 @@
A956CE6B1F99EAAD00093992 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = A956CE6A1F99EAAD00093992 /* Logger.swift */; }; A956CE6B1F99EAAD00093992 /* Logger.swift in Sources */ = {isa = PBXBuildFile; fileRef = A956CE6A1F99EAAD00093992 /* Logger.swift */; };
A9577CF61F3DC667009181F4 /* Document+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9577CF51F3DC667009181F4 /* Document+Swift.swift */; }; A9577CF61F3DC667009181F4 /* Document+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9577CF51F3DC667009181F4 /* Document+Swift.swift */; };
A95B8DA91B09F37800F2F152 /* Subler_Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = A95B8DA81B09F37800F2F152 /* Subler_Tests.m */; }; A95B8DA91B09F37800F2F152 /* Subler_Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = A95B8DA81B09F37800F2F152 /* Subler_Tests.m */; };
A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */ = {isa = PBXBuildFile; fileRef = A960E96217D4B00900FC6ED9 /* SBImageBrowserView.m */; };
A961476313F567E10068F161 /* SBQueueController.m in Sources */ = {isa = PBXBuildFile; fileRef = A961476013F567E10068F161 /* SBQueueController.m */; }; A961476313F567E10068F161 /* SBQueueController.m in Sources */ = {isa = PBXBuildFile; fileRef = A961476013F567E10068F161 /* SBQueueController.m */; };
A961476713F568210068F161 /* Queue.xib in Resources */ = {isa = PBXBuildFile; fileRef = A961476513F568210068F161 /* Queue.xib */; }; A961476713F568210068F161 /* Queue.xib in Resources */ = {isa = PBXBuildFile; fileRef = A961476513F568210068F161 /* Queue.xib */; };
A962D9EE1F8B7F9F00802EEF /* FileImportController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A962D9ED1F8B7F9F00802EEF /* FileImportController.swift */; }; A962D9EE1F8B7F9F00802EEF /* FileImportController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A962D9ED1F8B7F9F00802EEF /* FileImportController.swift */; };
A9676A301FB6E85300C1E300 /* LanguageTransformer.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9676A2F1FB6E85300C1E300 /* LanguageTransformer.swift */; };
A9676A341FB6EAAD00C1E300 /* ItemViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9676A331FB6EAAD00C1E300 /* ItemViewController.swift */; };
A96946531BA3F83D0048C004 /* SBMediaTagsController.m in Sources */ = {isa = PBXBuildFile; fileRef = A96946511BA3F83D0048C004 /* SBMediaTagsController.m */; }; A96946531BA3F83D0048C004 /* SBMediaTagsController.m in Sources */ = {isa = PBXBuildFile; fileRef = A96946511BA3F83D0048C004 /* SBMediaTagsController.m */; };
A9707B9317B139780010F3DB /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD56966E12FAAFA90029FADB /* Quartz.framework */; }; A9707B9317B139780010F3DB /* Quartz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD56966E12FAAFA90029FADB /* Quartz.framework */; };
A982D0C0140AB66400B92357 /* SBQueueItem.m in Sources */ = {isa = PBXBuildFile; fileRef = A982D0BF140AB66400B92357 /* SBQueueItem.m */; }; A982D0C0140AB66400B92357 /* SBQueueItem.m in Sources */ = {isa = PBXBuildFile; fileRef = A982D0BF140AB66400B92357 /* SBQueueItem.m */; };
@@ -64,11 +64,10 @@
A997B0AA1F348AB000974C9C /* MetadataSearchController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A997B0A91F348AB000974C9C /* MetadataSearchController.swift */; }; A997B0AA1F348AB000974C9C /* MetadataSearchController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A997B0A91F348AB000974C9C /* MetadataSearchController.swift */; };
A998DABF1BA54CFF004D7969 /* SBMediaTagsController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A998DABD1BA54CFF004D7969 /* SBMediaTagsController.xib */; }; A998DABF1BA54CFF004D7969 /* SBMediaTagsController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A998DABD1BA54CFF004D7969 /* SBMediaTagsController.xib */; };
A99EEA3F12B801AE002367D3 /* SBDocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9B46AC012B79E230040517A /* SBDocument.xib */; }; A99EEA3F12B801AE002367D3 /* SBDocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9B46AC012B79E230040517A /* SBDocument.xib */; };
A9A0542E1DEEC3E000D1AFA4 /* SBLanguageTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = A9A0542D1DEEC3E000D1AFA4 /* SBLanguageTransformer.m */; };
A9A77C4E1F306FA70018023B /* AttributedStyles.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A77C4D1F306FA70018023B /* AttributedStyles.swift */; }; A9A77C4E1F306FA70018023B /* AttributedStyles.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A77C4D1F306FA70018023B /* AttributedStyles.swift */; };
A9A8CEF91E43754400BC2AE1 /* SBQueueScriptCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = A9A8CEF81E43754400BC2AE1 /* SBQueueScriptCommand.m */; }; A9A8CEF91E43754400BC2AE1 /* SBQueueScriptCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = A9A8CEF81E43754400BC2AE1 /* SBQueueScriptCommand.m */; };
A9A91B5D1FB6FBB700250D93 /* ChapterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9A91B5C1FB6FBB700250D93 /* ChapterViewController.swift */; };
A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB484817F0AEA2000AA72E /* SBAppDelegate.m */; }; A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB484817F0AEA2000AA72E /* SBAppDelegate.m */; };
A9AB485417F0AEAC000AA72E /* SBChapterViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB484B17F0AEAC000AA72E /* SBChapterViewController.m */; };
A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB484F17F0AEAC000AA72E /* SBMovieViewController.m */; }; A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB484F17F0AEAC000AA72E /* SBMovieViewController.m */; };
A9AB485717F0AEAC000AA72E /* SBSoundViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB485117F0AEAC000AA72E /* SBSoundViewController.m */; }; A9AB485717F0AEAC000AA72E /* SBSoundViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB485117F0AEAC000AA72E /* SBSoundViewController.m */; };
A9AB485817F0AEAC000AA72E /* SBVideoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB485317F0AEAC000AA72E /* SBVideoViewController.m */; }; A9AB485817F0AEAC000AA72E /* SBVideoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9AB485317F0AEAC000AA72E /* SBVideoViewController.m */; };
@@ -85,7 +84,6 @@
A9B514191EFC12310055A035 /* TheTVDB.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B514181EFC12310055A035 /* TheTVDB.swift */; }; A9B514191EFC12310055A035 /* TheTVDB.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B514181EFC12310055A035 /* TheTVDB.swift */; };
A9BA1AEE1DBF7DD700FD0B38 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF01DBF7DD700FD0B38 /* InfoPlist.strings */; }; A9BA1AEE1DBF7DD700FD0B38 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF01DBF7DD700FD0B38 /* InfoPlist.strings */; };
A9BA1AF31DBF7DD800FD0B38 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF51DBF7DD800FD0B38 /* Localizable.strings */; }; A9BA1AF31DBF7DD800FD0B38 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A9BA1AF51DBF7DD800FD0B38 /* Localizable.strings */; };
A9BC410318D9AB8700F8C92C /* SBItemViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9BC410218D9AB8700F8C92C /* SBItemViewController.m */; };
A9BC410818D9ABC000F8C92C /* QueueItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9BC410618D9ABC000F8C92C /* QueueItem.xib */; }; A9BC410818D9ABC000F8C92C /* QueueItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9BC410618D9ABC000F8C92C /* QueueItem.xib */; };
A9C09C7C1F99F460007939EE /* ExceptionAlertController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C09C7B1F99F460007939EE /* ExceptionAlertController.swift */; }; A9C09C7C1F99F460007939EE /* ExceptionAlertController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C09C7B1F99F460007939EE /* ExceptionAlertController.swift */; };
A9C09C981F99F971007939EE /* ExpandedTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C09C971F99F971007939EE /* ExpandedTableView.swift */; }; A9C09C981F99F971007939EE /* ExpandedTableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9C09C971F99F971007939EE /* ExpandedTableView.swift */; };
@@ -102,8 +100,10 @@
A9E97F141F274F1100DBA586 /* iTunesStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E97F131F274F1100DBA586 /* iTunesStore.swift */; }; A9E97F141F274F1100DBA586 /* iTunesStore.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E97F131F274F1100DBA586 /* iTunesStore.swift */; };
A9EEA5F218D65490008B54B4 /* SBOptionsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */; }; A9EEA5F218D65490008B54B4 /* SBOptionsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */; };
A9EEA5F818D654B9008B54B4 /* QueueOptions.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9EEA5F618D654B9008B54B4 /* QueueOptions.xib */; }; A9EEA5F818D654B9008B54B4 /* QueueOptions.xib in Resources */ = {isa = PBXBuildFile; fileRef = A9EEA5F618D654B9008B54B4 /* QueueOptions.xib */; };
A9F4FF4B1FB708FB004473A8 /* SoundViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9F4FF4A1FB708FB004473A8 /* SoundViewController.swift */; };
A9F5820C1DCC861F005F3E92 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A9F5820B1DCC861F005F3E92 /* Assets.xcassets */; }; A9F5820C1DCC861F005F3E92 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A9F5820B1DCC861F005F3E92 /* Assets.xcassets */; };
A9F7F8E01837C44B0036AE7E /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9ED7B21180067A2008FD3A8 /* IOKit.framework */; }; A9F7F8E01837C44B0036AE7E /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9ED7B21180067A2008FD3A8 /* IOKit.framework */; };
A9F8045A1FB6F4FD0069FF43 /* ImageBrowserView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9F804591FB6F4FD0069FF43 /* ImageBrowserView.swift */; };
A9FC6FF61EF2E3280034CCED /* TheTVDBService.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */; }; A9FC6FF61EF2E3280034CCED /* TheTVDBService.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */; };
CD4E6E5D12F744210095C84F /* ArtworkSelector.xib in Resources */ = {isa = PBXBuildFile; fileRef = CD4E6E5B12F744210095C84F /* ArtworkSelector.xib */; }; CD4E6E5D12F744210095C84F /* ArtworkSelector.xib in Resources */ = {isa = PBXBuildFile; fileRef = CD4E6E5B12F744210095C84F /* ArtworkSelector.xib */; };
CD71FEA612F1B62600F0A98D /* MetadataSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = CD71FEA412F1B62600F0A98D /* MetadataSearch.xib */; }; CD71FEA612F1B62600F0A98D /* MetadataSearch.xib in Resources */ = {isa = PBXBuildFile; fileRef = CD71FEA412F1B62600F0A98D /* MetadataSearch.xib */; };
@@ -178,7 +178,6 @@
8D15AC370486D014006FF6A4 /* Subler.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Subler.app; sourceTree = BUILT_PRODUCTS_DIR; }; 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>"; }; 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>"; }; 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>"; }; 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>"; }; 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>"; }; A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = PopUpCellView.swift; path = Classes/PopUpCellView.swift; sourceTree = "<group>"; };
@@ -225,11 +224,11 @@
A95B8DA41B09F37700F2F152 /* Subler Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Subler Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; A95B8DA41B09F37700F2F152 /* Subler Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Subler Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
A95B8DA71B09F37700F2F152 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; A95B8DA71B09F37700F2F152 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
A95B8DA81B09F37800F2F152 /* Subler_Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Subler_Tests.m; sourceTree = "<group>"; }; A95B8DA81B09F37800F2F152 /* Subler_Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Subler_Tests.m; sourceTree = "<group>"; };
A960E96117D4B00900FC6ED9 /* SBImageBrowserView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBImageBrowserView.h; path = Classes/SBImageBrowserView.h; sourceTree = "<group>"; };
A960E96217D4B00900FC6ED9 /* SBImageBrowserView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBImageBrowserView.m; path = Classes/SBImageBrowserView.m; sourceTree = "<group>"; };
A961475F13F567E10068F161 /* SBQueueController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBQueueController.h; path = Classes/SBQueueController.h; sourceTree = "<group>"; }; A961475F13F567E10068F161 /* SBQueueController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBQueueController.h; path = Classes/SBQueueController.h; sourceTree = "<group>"; };
A961476013F567E10068F161 /* SBQueueController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; name = SBQueueController.m; path = Classes/SBQueueController.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; }; A961476013F567E10068F161 /* SBQueueController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; name = SBQueueController.m; path = Classes/SBQueueController.m; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
A962D9ED1F8B7F9F00802EEF /* FileImportController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = FileImportController.swift; path = Classes/FileImportController.swift; sourceTree = "<group>"; }; A962D9ED1F8B7F9F00802EEF /* FileImportController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = FileImportController.swift; path = Classes/FileImportController.swift; sourceTree = "<group>"; };
A9676A2F1FB6E85300C1E300 /* LanguageTransformer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = LanguageTransformer.swift; path = Classes/LanguageTransformer.swift; sourceTree = "<group>"; };
A9676A331FB6EAAD00C1E300 /* ItemViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ItemViewController.swift; path = Classes/ItemViewController.swift; sourceTree = "<group>"; };
A96946501BA3F83D0048C004 /* SBMediaTagsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBMediaTagsController.h; path = Classes/SBMediaTagsController.h; sourceTree = "<group>"; }; A96946501BA3F83D0048C004 /* SBMediaTagsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBMediaTagsController.h; path = Classes/SBMediaTagsController.h; sourceTree = "<group>"; };
A96946511BA3F83D0048C004 /* SBMediaTagsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBMediaTagsController.m; path = Classes/SBMediaTagsController.m; sourceTree = "<group>"; }; A96946511BA3F83D0048C004 /* SBMediaTagsController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBMediaTagsController.m; path = Classes/SBMediaTagsController.m; sourceTree = "<group>"; };
A97BE36E0F73D72E00652CBD /* QTKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QTKit.framework; path = /System/Library/Frameworks/QTKit.framework; sourceTree = "<absolute>"; }; A97BE36E0F73D72E00652CBD /* QTKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QTKit.framework; path = /System/Library/Frameworks/QTKit.framework; sourceTree = "<absolute>"; };
@@ -248,15 +247,12 @@
A99189CC1F2F87EC00623ED7 /* ChapterImporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterImporter.swift; path = Classes/MetadataImporters/ChapterImporter.swift; sourceTree = "<group>"; }; A99189CC1F2F87EC00623ED7 /* ChapterImporter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterImporter.swift; path = Classes/MetadataImporters/ChapterImporter.swift; sourceTree = "<group>"; };
A99189D01F2F88F700623ED7 /* ChapterSearchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterSearchController.swift; path = Classes/ChapterSearchController.swift; sourceTree = "<group>"; }; A99189D01F2F88F700623ED7 /* ChapterSearchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterSearchController.swift; path = Classes/ChapterSearchController.swift; sourceTree = "<group>"; };
A997B0A91F348AB000974C9C /* MetadataSearchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataSearchController.swift; path = Classes/MetadataSearchController.swift; sourceTree = "<group>"; }; A997B0A91F348AB000974C9C /* MetadataSearchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = MetadataSearchController.swift; path = Classes/MetadataSearchController.swift; sourceTree = "<group>"; };
A9A0542C1DEEC3E000D1AFA4 /* SBLanguageTransformer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBLanguageTransformer.h; path = Classes/SBLanguageTransformer.h; sourceTree = "<group>"; };
A9A0542D1DEEC3E000D1AFA4 /* SBLanguageTransformer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBLanguageTransformer.m; path = Classes/SBLanguageTransformer.m; sourceTree = "<group>"; };
A9A77C4D1F306FA70018023B /* AttributedStyles.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AttributedStyles.swift; path = Classes/AttributedStyles.swift; sourceTree = "<group>"; }; A9A77C4D1F306FA70018023B /* AttributedStyles.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AttributedStyles.swift; path = Classes/AttributedStyles.swift; sourceTree = "<group>"; };
A9A8CEF71E43754400BC2AE1 /* SBQueueScriptCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBQueueScriptCommand.h; path = Classes/SBQueueScriptCommand.h; sourceTree = "<group>"; }; A9A8CEF71E43754400BC2AE1 /* SBQueueScriptCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBQueueScriptCommand.h; path = Classes/SBQueueScriptCommand.h; sourceTree = "<group>"; };
A9A8CEF81E43754400BC2AE1 /* SBQueueScriptCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBQueueScriptCommand.m; path = Classes/SBQueueScriptCommand.m; sourceTree = "<group>"; }; A9A8CEF81E43754400BC2AE1 /* SBQueueScriptCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBQueueScriptCommand.m; path = Classes/SBQueueScriptCommand.m; sourceTree = "<group>"; };
A9A91B5C1FB6FBB700250D93 /* ChapterViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ChapterViewController.swift; path = Classes/PropertyView/ChapterViewController.swift; sourceTree = "<group>"; };
A9AB484717F0AEA2000AA72E /* SBAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBAppDelegate.h; path = Classes/SBAppDelegate.h; sourceTree = "<group>"; }; A9AB484717F0AEA2000AA72E /* SBAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBAppDelegate.h; path = Classes/SBAppDelegate.h; sourceTree = "<group>"; };
A9AB484817F0AEA2000AA72E /* SBAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBAppDelegate.m; path = Classes/SBAppDelegate.m; sourceTree = "<group>"; }; A9AB484817F0AEA2000AA72E /* SBAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBAppDelegate.m; path = Classes/SBAppDelegate.m; sourceTree = "<group>"; };
A9AB484A17F0AEAC000AA72E /* SBChapterViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBChapterViewController.h; path = Classes/PropertyView/SBChapterViewController.h; sourceTree = "<group>"; };
A9AB484B17F0AEAC000AA72E /* SBChapterViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBChapterViewController.m; path = Classes/PropertyView/SBChapterViewController.m; sourceTree = "<group>"; };
A9AB484E17F0AEAC000AA72E /* SBMovieViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBMovieViewController.h; path = Classes/PropertyView/SBMovieViewController.h; sourceTree = "<group>"; }; A9AB484E17F0AEAC000AA72E /* SBMovieViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBMovieViewController.h; path = Classes/PropertyView/SBMovieViewController.h; sourceTree = "<group>"; };
A9AB484F17F0AEAC000AA72E /* SBMovieViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBMovieViewController.m; path = Classes/PropertyView/SBMovieViewController.m; sourceTree = "<group>"; }; A9AB484F17F0AEAC000AA72E /* SBMovieViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBMovieViewController.m; path = Classes/PropertyView/SBMovieViewController.m; sourceTree = "<group>"; };
A9AB485017F0AEAC000AA72E /* SBSoundViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBSoundViewController.h; path = Classes/PropertyView/SBSoundViewController.h; sourceTree = "<group>"; }; A9AB485017F0AEAC000AA72E /* SBSoundViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBSoundViewController.h; path = Classes/PropertyView/SBSoundViewController.h; sourceTree = "<group>"; };
@@ -296,8 +292,6 @@
A9BA1AE61DBF773700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; }; A9BA1AE61DBF773700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; };
A9BA1AEF1DBF7DD700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; }; A9BA1AEF1DBF7DD700FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = "<group>"; };
A9BA1AF41DBF7DD800FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = "<group>"; }; A9BA1AF41DBF7DD800FD0B38 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = "<group>"; };
A9BC410118D9AB8700F8C92C /* SBItemViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBItemViewController.h; path = Classes/SBItemViewController.h; sourceTree = "<group>"; };
A9BC410218D9AB8700F8C92C /* SBItemViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBItemViewController.m; path = Classes/SBItemViewController.m; sourceTree = "<group>"; };
A9C0603F168315C500FE3D98 /* libbz2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libbz2.dylib; path = usr/lib/libbz2.dylib; sourceTree = SDKROOT; }; A9C0603F168315C500FE3D98 /* libbz2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libbz2.dylib; path = usr/lib/libbz2.dylib; sourceTree = SDKROOT; };
A9C0957F0F7B6C8C00170CAF /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<absolute>"; }; A9C0957F0F7B6C8C00170CAF /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = /System/Library/Frameworks/AudioToolbox.framework; sourceTree = "<absolute>"; };
A9C09C7B1F99F460007939EE /* ExceptionAlertController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ExceptionAlertController.swift; path = Classes/ExceptionAlertController.swift; sourceTree = "<group>"; }; A9C09C7B1F99F460007939EE /* ExceptionAlertController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ExceptionAlertController.swift; path = Classes/ExceptionAlertController.swift; sourceTree = "<group>"; };
@@ -318,7 +312,9 @@
A9ED7B21180067A2008FD3A8 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; }; A9ED7B21180067A2008FD3A8 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; };
A9EEA5EF18D65490008B54B4 /* SBOptionsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBOptionsViewController.h; path = Classes/SBOptionsViewController.h; sourceTree = "<group>"; }; A9EEA5EF18D65490008B54B4 /* SBOptionsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBOptionsViewController.h; path = Classes/SBOptionsViewController.h; sourceTree = "<group>"; };
A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBOptionsViewController.m; path = Classes/SBOptionsViewController.m; sourceTree = "<group>"; }; A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBOptionsViewController.m; path = Classes/SBOptionsViewController.m; sourceTree = "<group>"; };
A9F4FF4A1FB708FB004473A8 /* SoundViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SoundViewController.swift; path = Classes/PropertyView/SoundViewController.swift; sourceTree = "<group>"; };
A9F5820B1DCC861F005F3E92 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; A9F5820B1DCC861F005F3E92 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
A9F804591FB6F4FD0069FF43 /* ImageBrowserView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ImageBrowserView.swift; path = Classes/ImageBrowserView.swift; sourceTree = "<group>"; };
A9FC6FF41EF2E3280034CCED /* Subler-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Subler-Bridging-Header.h"; sourceTree = "<group>"; }; A9FC6FF41EF2E3280034CCED /* Subler-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Subler-Bridging-Header.h"; sourceTree = "<group>"; };
A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TheTVDBService.swift; path = Classes/MetadataImporters/TheTVDBService.swift; sourceTree = "<group>"; }; A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TheTVDBService.swift; path = Classes/MetadataImporters/TheTVDBService.swift; sourceTree = "<group>"; };
CD56966E12FAAFA90029FADB /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = System/Library/Frameworks/Quartz.framework; sourceTree = SDKROOT; }; CD56966E12FAAFA90029FADB /* Quartz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Quartz.framework; path = System/Library/Frameworks/Quartz.framework; sourceTree = SDKROOT; };
@@ -421,6 +417,7 @@
2A37F4AFFDCFA73011CA2CEA /* Other Sources */ = { 2A37F4AFFDCFA73011CA2CEA /* Other Sources */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
A9F804591FB6F4FD0069FF43 /* ImageBrowserView.swift */,
A909440E1DD4C85B00E9F89C /* Table View */, A909440E1DD4C85B00E9F89C /* Table View */,
A9FC6FF41EF2E3280034CCED /* Subler-Bridging-Header.h */, A9FC6FF41EF2E3280034CCED /* Subler-Bridging-Header.h */,
32DBCF750370BD2300C91783 /* Subler_Prefix.pch */, 32DBCF750370BD2300C91783 /* Subler_Prefix.pch */,
@@ -461,7 +458,6 @@
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
A90057B51F99DE2700FA4ED1 /* ComboBoxCellView.swift */, A90057B51F99DE2700FA4ED1 /* ComboBoxCellView.swift */,
A90057B91F99E02400FA4ED1 /* ComboBoxCell.swift */,
A90057BB1F99E20B00FA4ED1 /* CheckBoxCellView.swift */, A90057BB1F99E20B00FA4ED1 /* CheckBoxCellView.swift */,
A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */, A90057BD1F99E2D800FA4ED1 /* TokenFieldCell.swift */,
A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */, A90057BF1F99E35300FA4ED1 /* PopUpCellView.swift */,
@@ -549,10 +545,8 @@
A9EEA5EF18D65490008B54B4 /* SBOptionsViewController.h */, A9EEA5EF18D65490008B54B4 /* SBOptionsViewController.h */,
A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */, A9EEA5F018D65490008B54B4 /* SBOptionsViewController.m */,
A9EEA5F618D654B9008B54B4 /* QueueOptions.xib */, A9EEA5F618D654B9008B54B4 /* QueueOptions.xib */,
A9A0542C1DEEC3E000D1AFA4 /* SBLanguageTransformer.h */, A9676A2F1FB6E85300C1E300 /* LanguageTransformer.swift */,
A9A0542D1DEEC3E000D1AFA4 /* SBLanguageTransformer.m */, A9676A331FB6EAAD00C1E300 /* ItemViewController.swift */,
A9BC410118D9AB8700F8C92C /* SBItemViewController.h */,
A9BC410218D9AB8700F8C92C /* SBItemViewController.m */,
A9BC410618D9ABC000F8C92C /* QueueItem.xib */, A9BC410618D9ABC000F8C92C /* QueueItem.xib */,
A9D73C5018BF3F1100C6FFA6 /* SBQueue.h */, A9D73C5018BF3F1100C6FFA6 /* SBQueue.h */,
A9D73C5118BF3F1100C6FFA6 /* SBQueue.m */, A9D73C5118BF3F1100C6FFA6 /* SBQueue.m */,
@@ -597,20 +591,18 @@
A96946501BA3F83D0048C004 /* SBMediaTagsController.h */, A96946501BA3F83D0048C004 /* SBMediaTagsController.h */,
A96946511BA3F83D0048C004 /* SBMediaTagsController.m */, A96946511BA3F83D0048C004 /* SBMediaTagsController.m */,
A998DABD1BA54CFF004D7969 /* SBMediaTagsController.xib */, A998DABD1BA54CFF004D7969 /* SBMediaTagsController.xib */,
A9AB484A17F0AEAC000AA72E /* SBChapterViewController.h */, A9A91B5C1FB6FBB700250D93 /* ChapterViewController.swift */,
A9AB484B17F0AEAC000AA72E /* SBChapterViewController.m */,
A9AB485A17F0AEFD000AA72E /* ChapterView.xib */, A9AB485A17F0AEFD000AA72E /* ChapterView.xib */,
A9AB484E17F0AEAC000AA72E /* SBMovieViewController.h */, A9AB484E17F0AEAC000AA72E /* SBMovieViewController.h */,
A9AB484F17F0AEAC000AA72E /* SBMovieViewController.m */, A9AB484F17F0AEAC000AA72E /* SBMovieViewController.m */,
A9AB485E17F0AEFD000AA72E /* MovieView.xib */, A9AB485E17F0AEFD000AA72E /* MovieView.xib */,
A9F4FF4A1FB708FB004473A8 /* SoundViewController.swift */,
A9AB485017F0AEAC000AA72E /* SBSoundViewController.h */, A9AB485017F0AEAC000AA72E /* SBSoundViewController.h */,
A9AB485117F0AEAC000AA72E /* SBSoundViewController.m */, A9AB485117F0AEAC000AA72E /* SBSoundViewController.m */,
A9AB486017F0AEFD000AA72E /* SoundView.xib */, A9AB486017F0AEFD000AA72E /* SoundView.xib */,
A9AB485217F0AEAC000AA72E /* SBVideoViewController.h */, A9AB485217F0AEAC000AA72E /* SBVideoViewController.h */,
A9AB485317F0AEAC000AA72E /* SBVideoViewController.m */, A9AB485317F0AEAC000AA72E /* SBVideoViewController.m */,
A9AB486217F0AEFD000AA72E /* VideoView.xib */, A9AB486217F0AEFD000AA72E /* VideoView.xib */,
A960E96117D4B00900FC6ED9 /* SBImageBrowserView.h */,
A960E96217D4B00900FC6ED9 /* SBImageBrowserView.m */,
); );
name = PropertyView; name = PropertyView;
sourceTree = "<group>"; sourceTree = "<group>";
@@ -802,25 +794,26 @@
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
8D15AC320486D014006FF6A4 /* main.m in Sources */, 8D15AC320486D014006FF6A4 /* main.m in Sources */,
A9676A341FB6EAAD00C1E300 /* ItemViewController.swift in Sources */,
A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */, A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */,
A9C09C7C1F99F460007939EE /* ExceptionAlertController.swift in Sources */, A9C09C7C1F99F460007939EE /* ExceptionAlertController.swift in Sources */,
A9A91B5D1FB6FBB700250D93 /* ChapterViewController.swift in Sources */,
A9676A301FB6E85300C1E300 /* LanguageTransformer.swift in Sources */,
A98D98461F0280CB00A77ABC /* TheMovieDB.swift in Sources */, A98D98461F0280CB00A77ABC /* TheMovieDB.swift in Sources */,
A98D98481F02820F00A77ABC /* TheMovieDBService.swift in Sources */, A98D98481F02820F00A77ABC /* TheMovieDBService.swift in Sources */,
A962D9EE1F8B7F9F00802EEF /* FileImportController.swift in Sources */, A962D9EE1F8B7F9F00802EEF /* FileImportController.swift in Sources */,
A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */,
A9577CF61F3DC667009181F4 /* Document+Swift.swift in Sources */, A9577CF61F3DC667009181F4 /* Document+Swift.swift in Sources */,
A9859ACE1F4B43CC00022828 /* QueuePreset.swift in Sources */, A9859ACE1F4B43CC00022828 /* QueuePreset.swift in Sources */,
A9915AC31F4B293B003C57D1 /* PresetManager.swift in Sources */, A9915AC31F4B293B003C57D1 /* PresetManager.swift in Sources */,
A90BC5E31F3A139700F9F3F3 /* MetadataResult.swift in Sources */, A90BC5E31F3A139700F9F3F3 /* MetadataResult.swift in Sources */,
A99189CD1F2F87EC00623ED7 /* ChapterImporter.swift in Sources */, A99189CD1F2F87EC00623ED7 /* ChapterImporter.swift in Sources */,
A9BC410318D9AB8700F8C92C /* SBItemViewController.m in Sources */,
A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */, A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */,
A9915ABF1F4B26CF003C57D1 /* MetadataPreset.swift in Sources */, A9915ABF1F4B26CF003C57D1 /* MetadataPreset.swift in Sources */,
A900CE3E1F3ACF9700CCA08E /* MetadataResultMap.swift in Sources */, A900CE3E1F3ACF9700CCA08E /* MetadataResultMap.swift in Sources */,
A9915AC11F4B28ED003C57D1 /* Preset.swift in Sources */, A9915AC11F4B28ED003C57D1 /* Preset.swift in Sources */,
A92ECCE31F49984C0063BFBD /* PrefsWindowController.swift in Sources */, A92ECCE31F49984C0063BFBD /* PrefsWindowController.swift in Sources */,
A96946531BA3F83D0048C004 /* SBMediaTagsController.m in Sources */, A96946531BA3F83D0048C004 /* SBMediaTagsController.m in Sources */,
A9AB485417F0AEAC000AA72E /* SBChapterViewController.m in Sources */, A9F4FF4B1FB708FB004473A8 /* SoundViewController.swift in Sources */,
A9AB485817F0AEAC000AA72E /* SBVideoViewController.m in Sources */, A9AB485817F0AEAC000AA72E /* SBVideoViewController.m in Sources */,
A90057BC1F99E20B00FA4ED1 /* CheckBoxCellView.swift in Sources */, A90057BC1F99E20B00FA4ED1 /* CheckBoxCellView.swift in Sources */,
A9433A911F2F5D8A00BB38CA /* ChapterDB.swift in Sources */, A9433A911F2F5D8A00BB38CA /* ChapterDB.swift in Sources */,
@@ -850,9 +843,9 @@
A9AF6A7518D0496400FAAB08 /* SBQueueAction.m in Sources */, A9AF6A7518D0496400FAAB08 /* SBQueueAction.m in Sources */,
A91B196C1F2B0DCB0008675F /* QueueAction.swift in Sources */, A91B196C1F2B0DCB0008675F /* QueueAction.swift in Sources */,
A956CE651F99E5BB00093992 /* ActivityWindowController.swift in Sources */, A956CE651F99E5BB00093992 /* ActivityWindowController.swift in Sources */,
A90057BA1F99E02400FA4ED1 /* ComboBoxCell.swift in Sources */,
A99189D11F2F88F700623ED7 /* ChapterSearchController.swift in Sources */, A99189D11F2F88F700623ED7 /* ChapterSearchController.swift in Sources */,
A9A77C4E1F306FA70018023B /* AttributedStyles.swift in Sources */, A9A77C4E1F306FA70018023B /* AttributedStyles.swift in Sources */,
A9F8045A1FB6F4FD0069FF43 /* ImageBrowserView.swift in Sources */,
A92AD0161F3482350082892E /* NetworkUtilities.swift in Sources */, A92AD0161F3482350082892E /* NetworkUtilities.swift in Sources */,
A944E5921F498FC4002E43F6 /* PresetPrefsViewController.swift in Sources */, A944E5921F498FC4002E43F6 /* PresetPrefsViewController.swift in Sources */,
A9E97F141F274F1100DBA586 /* iTunesStore.swift in Sources */, A9E97F141F274F1100DBA586 /* iTunesStore.swift in Sources */,
@@ -860,7 +853,6 @@
A9EEA5F218D65490008B54B4 /* SBOptionsViewController.m in Sources */, A9EEA5F218D65490008B54B4 /* SBOptionsViewController.m in Sources */,
A9C09C9C1F9A08A9007939EE /* MultiSelectViewController.swift in Sources */, A9C09C9C1F9A08A9007939EE /* MultiSelectViewController.swift in Sources */,
A9AE70E11F2F7B3D001CF27C /* MetadataHelper.swift in Sources */, A9AE70E11F2F7B3D001CF27C /* MetadataHelper.swift in Sources */,
A9A0542E1DEEC3E000D1AFA4 /* SBLanguageTransformer.m in Sources */,
A90057B61F99DE2700FA4ED1 /* ComboBoxCellView.swift in Sources */, A90057B61F99DE2700FA4ED1 /* ComboBoxCellView.swift in Sources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;