Improve Drag & Drop

This commit is contained in:
Damiano Galassi committed 2024-06-29 13:16:23 +02:00
1 parent a1bb044164
commit f3676f68c1
8 files changed
+207 -62

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22154" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22154"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -79,7 +79,7 @@ Gw
<rect key="frame" x="1" y="1" width="529" height="459"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<collectionView selectable="YES" allowsMultipleSelection="YES" id="234-cJ-3Un" customClass="CollectionView" customModule="Subler" customModuleProvider="target">
<collectionView selectable="YES" allowsMultipleSelection="YES" id="234-cJ-3Un" customClass="ArtworkCollectionView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="529" height="459"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" id="lte-fF-bVi">
+1 -1
View File
@@ -103,7 +103,7 @@ protocol ArtworkSelectorControllerDelegate: AnyObject {
func didAddArtworks(metadata: MetadataResult)
}
class CollectionView : NSCollectionView {
class ArtworkCollectionView : NSCollectionView {
override func keyDown(with event: NSEvent) {
guard let key = event.charactersIgnoringModifiers?.utf16.first else { super.keyDown(with: event); return }
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="18122" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="18122"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -307,7 +307,7 @@
<rect key="frame" x="1" y="1" width="96" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sbg-eG-N9u">
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" 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">
@@ -342,7 +342,7 @@
<rect key="frame" x="100" y="1" width="615" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KkS-kR-z72">
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KkS-kR-z72">
<rect key="frame" x="0.0" y="3" width="615" 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">
@@ -436,8 +436,8 @@
</customView>
</objects>
<resources>
<image name="NSActionTemplate" width="15" height="15"/>
<image name="NSAddTemplate" width="14" height="13"/>
<image name="NSRemoveTemplate" width="14" height="4"/>
<image name="NSActionTemplate" width="20" height="20"/>
<image name="NSAddTemplate" width="18" height="17"/>
<image name="NSRemoveTemplate" width="18" height="5"/>
</resources>
</document>
+10 -10
View File
@@ -24,16 +24,16 @@
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView misplaced="YES" id="1">
<customView id="1">
<rect key="frame" x="0.0" y="0.0" width="769" height="306"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<tabView controlSize="small" translatesAutoresizingMaskIntoConstraints="NO" id="10">
<rect key="frame" x="-11" y="-12" width="791" height="170"/>
<rect key="frame" x="-11" y="-12" width="791" height="313"/>
<tabViewItems>
<tabViewItem label="Metadata" identifier="1" id="11">
<view key="view" id="12">
<rect key="frame" x="10" y="25" width="771" height="132"/>
<rect key="frame" x="10" y="25" width="771" height="86"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<popUpButton toolTip="Add a new metadata item" translatesAutoresizingMaskIntoConstraints="NO" id="30">
@@ -90,9 +90,9 @@
<accessibility description="Sets"/>
</popUpButton>
<scrollView autohidesScrollers="YES" horizontalLineScroll="16" horizontalPageScroll="10" verticalLineScroll="16" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="r4i-wT-qDC">
<rect key="frame" x="17" y="36" width="737" height="90"/>
<rect key="frame" x="17" y="36" width="737" height="44"/>
<clipView key="contentView" id="cQT-bX-0YB">
<rect key="frame" x="1" y="1" width="735" height="88"/>
<rect key="frame" x="1" y="1" width="735" height="42"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" columnReordering="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="14" rowSizeStyle="automatic" headerView="qXU-xB-xRF" viewBased="YES" floatsGroupRows="NO" id="qg5-r0-E4V" customClass="ExpandedTableView" customModule="Subler" customModuleProvider="target">
@@ -325,7 +325,7 @@
</tabViewItem>
<tabViewItem label="Artwork" identifier="Item 1" id="15">
<view key="view" id="16">
<rect key="frame" x="10" y="25" width="771" height="286"/>
<rect key="frame" x="10" y="25" width="771" height="275"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="223">
@@ -366,13 +366,13 @@
</connections>
</slider>
<scrollView wantsLayer="YES" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WUe-C3-hRA">
<rect key="frame" x="17" y="36" width="737" height="256"/>
<rect key="frame" x="17" y="36" width="737" height="233"/>
<clipView key="contentView" id="jau-dn-6LI">
<rect key="frame" x="1" y="1" width="735" height="254"/>
<rect key="frame" x="1" y="1" width="735" height="231"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<collectionView selectable="YES" allowsMultipleSelection="YES" id="HHe-zs-flI" customClass="CollectionView" customModule="Subler" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="735" height="254"/>
<rect key="frame" x="0.0" y="0.0" width="735" height="231"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<collectionViewFlowLayout key="collectionViewLayout" minimumInteritemSpacing="10" minimumLineSpacing="10" id="ofy-8i-tTx">
<size key="itemSize" width="280" height="260"/>
@@ -391,7 +391,7 @@
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="bD2-5M-Iiz">
<rect key="frame" x="720" y="1" width="16" height="172"/>
<rect key="frame" x="720" y="1" width="16" height="231"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
</scrollView>
+35 -35
View File
@@ -14,7 +14,7 @@ extension NSPasteboard.PasteboardType {
static let artworkDragType = NSPasteboard.PasteboardType("org.subler.artworkdragdrop")
}
class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableViewDelegate, NSCollectionViewDataSource, NSCollectionViewDelegate, NSDraggingDestination, NSFilePromiseProviderDelegate {
class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableViewDelegate, NSCollectionViewDataSource, CollectionViewDelegate, NSDraggingDestination, NSFilePromiseProviderDelegate {
var metadata: MP42Metadata {
didSet {
@@ -976,9 +976,9 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
func filePromiseProvider(_ filePromiseProvider: NSFilePromiseProvider, fileNameForType fileType: String) -> String {
if let userInfo = filePromiseProvider.userInfo as? [String: AnyObject] {
return "Untitled." + (userInfo[FilePromiseProvider.UserInfoKeys.extensionKey] as! String)
return "Artwork." + (userInfo[FilePromiseProvider.UserInfoKeys.extensionKey] as! String)
} else {
return "Untitled.tiff"
return "Artwork.tiff"
}
}
@@ -1249,38 +1249,38 @@ class MovieViewController: PropertyView, NSTableViewDataSource, ExpandedTableVie
}
}
func collectionViewDelete(in collectionView: NSCollectionView) {
let itemIndexes = collectionView.selectionIndexPaths.compactMap { $0.last }
let items = itemIndexes.map { artworks[$0] }
remove(metadataArtworks: items)
}
// override func imageBrowser(_ aBrowser: IKImageBrowserView!, writeItemsAt itemIndexes: IndexSet!, to pasteboard: NSPasteboard!) -> Int {
// pasteboard.declareTypes([artworksPBoardType, .tiff], owner: nil)
//
// for image in itemIndexes.map({ artworks[$0] }).compactMap({ $0.imageValue }) {
// if let representations = image.image?.representations {
// let bitmapData = NSBitmapImageRep.representationOfImageReps(in: representations, using: .tiff, properties: [:])
// pasteboard.setData(bitmapData, forType: .tiff)
// }
// pasteboard.setData(NSKeyedArchiver.archivedData(withRootObject: image), forType: artworksPBoardType)
// }
//
// return itemIndexes.count
// }
//
// func paste(to imagebrowserview: ImageBrowserView) {
// let pb = NSPasteboard.general
//
// if let archivedImageData = pb.data(forType: artworksPBoardType), let image = NSKeyedUnarchiver.unarchiveObject(with: archivedImageData) as? MP42Image {
// _ = add(artworks: [image])
// } else {
// let classes = [NSURL.classForCoder(), NSImage.classForCoder()]
// let options = [NSPasteboard.ReadingOptionKey.urlReadingContentsConformToTypes: NSImage.imageTypes]
// if let items = pb.readObjects(forClasses: classes, options: options) as [AnyObject]? {
// _ = add(artworks: items)
// }
// }
// }
//
// override func imageBrowser(_ aBrowser: IKImageBrowserView!, removeItemsAt indexes: IndexSet!) {
// let items = indexes.map { artworks[$0] }
// remove(metadataArtworks: items)
// }
func collectionViewCopy(in collectionView: NSCollectionView) {
// pasteboard.declareTypes([artworksPBoardType, .tiff], owner: nil)
//
// for image in itemIndexes.map({ artworks[$0] }).compactMap({ $0.imageValue }) {
// if let representations = image.image?.representations {
// let bitmapData = NSBitmapImageRep.representationOfImageReps(in: representations, using: .tiff, properties: [:])
// pasteboard.setData(bitmapData, forType: .tiff)
// }
// pasteboard.setData(NSKeyedArchiver.archivedData(withRootObject: image), forType: artworksPBoardType)
// }
//
// return itemIndexes.count
}
func collectionViewPaste(to collectionView: NSCollectionView) {
// let pb = NSPasteboard.general
//
// if let archivedImageData = pb.data(forType: artworksPBoardType), let image = NSKeyedUnarchiver.unarchiveObject(with: archivedImageData) as? MP42Image {
// _ = add(artworks: [image])
// } else {
// let classes = [NSURL.classForCoder(), NSImage.classForCoder()]
// let options = [NSPasteboard.ReadingOptionKey.urlReadingContentsConformToTypes: NSImage.imageTypes]
// if let items = pb.readObjects(forClasses: classes, options: options) as [AnyObject]? {
// _ = add(artworks: items)
// }
// }
}
}
+133
View File
@@ -0,0 +1,133 @@
//
// CollectionView.swift
// Subler
//
// Created by Damiano Galassi on 29/06/24.
//
import Cocoa
@objc protocol CollectionViewDelegate: NSCollectionViewDelegate {
@MainActor @objc optional func collectionViewDelete(in collectionView: NSCollectionView)
@MainActor @objc optional func collectionViewCopy(in collectionView: NSCollectionView)
@MainActor @objc optional func collectionViewCut(in collectionView: NSCollectionView)
@MainActor @objc optional func collectionViewPaste(to collectionView: NSCollectionView)
}
class CollectionView: NSCollectionView, NSMenuItemValidation {
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: CollectionViewDelegate? {
get {
return delegate as? CollectionViewDelegate
}
}
override init(frame frameRect: NSRect) {
pasteboardTypes = Array()
super.init(frame: frameRect)
}
required init?(coder: NSCoder) {
pasteboardTypes = Array()
super.init(coder: coder)
}
private var isSelected: Bool {
get {
selectionIndexPaths.isEmpty == false
}
}
private var isSelectionEmpty: Bool {
get {
selectionIndexPaths.isEmpty == true
}
}
override func keyDown(with event: NSEvent) {
guard let key = event.charactersIgnoringModifiers?.utf16.first else { super.keyDown(with: event); return }
if (key == NSDeleteCharacter || key == NSDeleteFunctionKey) && implements(selector: #selector(CollectionViewDelegate.collectionViewDelete(in:))) {
if isSelectionEmpty {
__NSBeep()
} else {
expandedDelegate?.collectionViewDelete!(in: self)
}
}
else if key == 27 && isSelected {
deselectAll(self)
}
else {
super.keyDown(with: event)
}
}
private func implements(selector: Selector) -> Bool {
if let implemented = expandedDelegate?.responds(to: selector),
implemented == true {
return true
}
return false
}
@IBAction func delete(_ sender: Any?) {
if isSelected && implements(selector: #selector(CollectionViewDelegate.collectionViewDelete(in:))) {
expandedDelegate?.collectionViewDelete!(in: self)
}
}
@IBAction func copy(_ sender: Any?) {
if isSelected && implements(selector: #selector(CollectionViewDelegate.collectionViewCopy(in:))) {
expandedDelegate?.collectionViewCopy!(in: self)
}
}
@IBAction func cut(_ sender: Any?) {
if isSelected && implements(selector: #selector(CollectionViewDelegate.collectionViewCut(in:))) {
expandedDelegate?.collectionViewCut!(in: self)
}
}
@IBAction func paste(_ sender: Any?) {
if implements(selector: #selector(CollectionViewDelegate.collectionViewPaste(to:))) {
expandedDelegate?.collectionViewPaste!(to: self)
}
}
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {
if let action = menuItem.action {
switch action {
case #selector(delete(_:)):
if isSelectionEmpty || implements(selector: #selector(CollectionViewDelegate.collectionViewDelete(in:))) == false {
return false
}
case #selector(copy(_:)):
if isSelectionEmpty || implements(selector: #selector(CollectionViewDelegate.collectionViewCopy(in:))) == false {
return false
}
case #selector(cut(_:)):
if isSelectionEmpty || implements(selector: #selector(CollectionViewDelegate.collectionViewCut(in:))) == false {
return false
}
case #selector(paste(_:)):
if isSelectionEmpty || implements(selector: #selector(CollectionViewDelegate.collectionViewPaste(to:))) == false {
return false
}
default:
break
}
}
return true
}
}
+14 -6
View File
@@ -6,12 +6,14 @@
//
import Cocoa
import UniformTypeIdentifiers
class FilePromiseProvider: NSFilePromiseProvider {
struct UserInfoKeys {
static let indexPathKey = "indexPath"
static let extensionKey = "extension"
static let urlKey = "url"
}
/** Required:
@@ -26,7 +28,13 @@ class FilePromiseProvider: NSFilePromiseProvider {
override func writableTypes(for pasteboard: NSPasteboard) -> [NSPasteboard.PasteboardType] {
var types = super.writableTypes(for: pasteboard)
types.append(.artworkDragType) // Add our own internal drag type (row drag and drop reordering).
// types.append(.fileURL) // Add the .fileURL drag type (to promise files to other apps).
var type: NSPasteboard.PasteboardType
if #available(macOS 11.0, *) {
type = NSPasteboard.PasteboardType(UTType.image.identifier)
} else {
type = (kUTTypeImage as NSPasteboard.PasteboardType)
}
types.append(type)
return types
}
@@ -38,11 +46,11 @@ class FilePromiseProvider: NSFilePromiseProvider {
override func pasteboardPropertyList(forType type: NSPasteboard.PasteboardType) -> Any? {
guard let userInfoDict = userInfo as? [String: Any] else { return nil }
switch type {
// case .fileURL:
// // Incoming type is "public.file-url", return (from our userInfo) the item's URL.
// if let url = userInfoDict[FilePromiseProvider.UserInfoKeys.urlKey] as? NSURL {
// return url.pasteboardPropertyList(forType: type)
// }
case .fileURL:
// Incoming type is "public.file-url", return (from our userInfo) the item's URL.
if let url = userInfoDict[FilePromiseProvider.UserInfoKeys.urlKey] as? NSURL {
return url.pasteboardPropertyList(forType: type)
}
case .artworkDragType:
// Incoming type is "com.mycompany.mydragdrop", return (from our userInfo) the item's indexPath.
let indexPathData = userInfoDict[FilePromiseProvider.UserInfoKeys.indexPathKey]
+4
View File
@@ -129,6 +129,7 @@
A9F2A2662026EACD00C4B69A /* DetailsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9F2A2642026EACD00C4B69A /* DetailsViewController.swift */; };
A9F4FF4B1FB708FB004473A8 /* SoundViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9F4FF4A1FB708FB004473A8 /* SoundViewController.swift */; };
A9F5820C1DCC861F005F3E92 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A9F5820B1DCC861F005F3E92 /* Assets.xcassets */; };
A9F64CED2C301CE000DEBAEA /* CollectionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9F64CEC2C301CE000DEBAEA /* CollectionView.swift */; };
A9F680A81FD06E0200018371 /* OutputPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9F680A61FD06E0200018371 /* OutputPrefsViewController.swift */; };
A9F7F8E01837C44B0036AE7E /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A9ED7B21180067A2008FD3A8 /* IOKit.framework */; };
A9FC6FF61EF2E3280034CCED /* TheTVDBService.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */; };
@@ -402,6 +403,7 @@
A9F2A2642026EACD00C4B69A /* DetailsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DetailsViewController.swift; path = Classes/DetailsViewController.swift; 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>"; };
A9F64CEC2C301CE000DEBAEA /* CollectionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CollectionView.swift; sourceTree = "<group>"; };
A9F680A61FD06E0200018371 /* OutputPrefsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = OutputPrefsViewController.swift; path = Classes/OutputPrefsViewController.swift; sourceTree = "<group>"; };
A9FC6FF51EF2E3280034CCED /* TheTVDBService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = TheTVDBService.swift; path = Classes/MetadataImporters/TheTVDBService.swift; sourceTree = "<group>"; };
CDE8E451174CBBD4009410B5 /* iTunesStores.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = iTunesStores.json; sourceTree = "<group>"; };
@@ -480,6 +482,7 @@
A9A77C4D1F306FA70018023B /* AttributedStyles.swift */,
A956CE681F99E93D00093992 /* ButtonToolbarItem.swift */,
A9586F662C2EF0750016350E /* FilePromiseProvider.swift */,
A9F64CEC2C301CE000DEBAEA /* CollectionView.swift */,
);
name = "Other Sources";
sourceTree = "<group>";
@@ -885,6 +888,7 @@
A956CE691F99E93D00093992 /* ButtonToolbarItem.swift in Sources */,
A98D44102036F661005CB092 /* AppDelegate.swift in Sources */,
A9C31E572029A75F00CEF474 /* GeneralPrefsViewController.swift in Sources */,
A9F64CED2C301CE000DEBAEA /* CollectionView.swift in Sources */,
A9AE26C01F3B66470041A57D /* SquaredTVArt.swift in Sources */,
A9B1056E2025D9B9009E91FC /* TracksViewController.swift in Sources */,
A9B514191EFC12310055A035 /* TheTVDB.swift in Sources */,