Move the preferences toolbar to the xib, and use auto layout.

This commit is contained in:
Damiano Galassi committed 2016-07-28 09:39:56 +02:00
1 parent 247311ab1a
commit aaafcb894c
7 files changed
+752 -488

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
//
// SBMetadataPrefsViewController.h
// Subler
//
// Created by Damiano Galassi on 28/07/2016.
//
//
#import <Cocoa/Cocoa.h>
@interface SBMetadataPrefsViewController : NSViewController
@end
+22
View File
@@ -0,0 +1,22 @@
//
// SBMetadataPrefsViewController.m
// Subler
//
// Created by Damiano Galassi on 28/07/2016.
//
//
#import "SBMetadataPrefsViewController.h"
@interface SBMetadataPrefsViewController ()
@end
@implementation SBMetadataPrefsViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do view setup here.
}
@end
+159
View File
@@ -0,0 +1,159 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11173.2" systemVersion="16A238m" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" generatesPrototypingConstraints="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<development version="7000" identifier="xcode"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11173.2"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBMetadataPrefsViewController">
<connections>
<outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
</connections>
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="Hz6-mo-xeY">
<rect key="frame" x="0.0" y="0.0" width="480" height="383"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1XK-zr-YdW">
<rect key="frame" x="20" y="111" width="440" height="252"/>
<clipView key="contentView" id="mho-zw-2Ud">
<rect key="frame" x="1" y="0.0" width="438" height="251"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowSizeStyle="automatic" headerView="REl-53-Sku" viewBased="YES" id="Tid-Rc-Ljr">
<rect key="frame" x="0.0" y="0.0" width="438" height="228"/>
<autoresizingMask key="autoresizingMask"/>
<size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns>
<tableColumn width="116" minWidth="40" maxWidth="1000" id="6um-Rw-luk">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="kmV-f1-lQx">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="vYq-3Z-IEz">
<rect key="frame" x="1" y="1" width="116" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Mve-P9-Jqq">
<rect key="frame" x="0.0" y="0.0" width="116" height="17"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Table View Cell" id="ko1-Cf-TEq">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
</subviews>
<constraints>
<constraint firstItem="Mve-P9-Jqq" firstAttribute="leading" secondItem="vYq-3Z-IEz" secondAttribute="leading" constant="2" id="7Jx-2D-7Ki"/>
<constraint firstItem="Mve-P9-Jqq" firstAttribute="centerY" secondItem="vYq-3Z-IEz" secondAttribute="centerY" id="ijV-6C-DJR"/>
<constraint firstItem="Mve-P9-Jqq" firstAttribute="centerX" secondItem="vYq-3Z-IEz" secondAttribute="centerX" id="tY7-ot-Ear"/>
</constraints>
<connections>
<outlet property="textField" destination="Mve-P9-Jqq" id="EcZ-jU-wKu"/>
</connections>
</tableCellView>
</prototypeCellViews>
</tableColumn>
<tableColumn width="316" minWidth="40" maxWidth="1000" id="Aj4-bk-6RK">
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
</tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="72h-Ke-os5">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
<prototypeCellViews>
<tableCellView id="5Ey-Te-51o">
<rect key="frame" x="120" y="1" width="316" height="17"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tokenField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3sj-gY-zSo">
<rect key="frame" x="3" y="0.0" width="310" height="17"/>
<constraints>
<constraint firstAttribute="height" constant="17" id="jWi-jm-bOD"/>
</constraints>
<tokenFieldCell key="cell" selectable="YES" editable="YES" alignment="left" drawsBackground="YES" allowsEditingTextAttributes="YES" id="BaM-xn-Wzr">
<font key="font" metaFont="cellTitle"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</tokenFieldCell>
</tokenField>
</subviews>
<constraints>
<constraint firstAttribute="trailing" secondItem="3sj-gY-zSo" secondAttribute="trailing" constant="3" id="5R9-8J-dvW"/>
<constraint firstItem="3sj-gY-zSo" firstAttribute="leading" secondItem="5Ey-Te-51o" secondAttribute="leading" constant="3" id="Q7b-Vw-1vj"/>
<constraint firstItem="3sj-gY-zSo" firstAttribute="centerY" secondItem="5Ey-Te-51o" secondAttribute="centerY" id="ee7-eP-eFc"/>
</constraints>
</tableCellView>
</prototypeCellViews>
</tableColumn>
</tableColumns>
</tableView>
</subviews>
</clipView>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="htB-dN-ZBI">
<rect key="frame" x="1" y="7" width="0.0" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="V85-a0-dUm">
<rect key="frame" x="224" y="17" width="15" height="102"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<tableHeaderView key="headerView" id="REl-53-Sku">
<rect key="frame" x="0.0" y="0.0" width="438" height="23"/>
<autoresizingMask key="autoresizingMask"/>
</tableHeaderView>
</scrollView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8sr-aI-VZy">
<rect key="frame" x="18" y="20" width="442" height="17"/>
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Drag the preferred tokens above." id="OYx-Dd-YIf">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<tokenField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Y15-gP-AOw">
<rect key="frame" x="16" y="45" width="444" height="57"/>
<constraints>
<constraint firstAttribute="height" constant="57" id="EoB-Gb-aBs"/>
</constraints>
<tokenFieldCell key="cell" selectable="YES" editable="YES" alignment="left" allowsEditingTextAttributes="YES" id="rG5-g2-YmU">
<font key="font" metaFont="cellTitle"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</tokenFieldCell>
</tokenField>
</subviews>
<constraints>
<constraint firstItem="8sr-aI-VZy" firstAttribute="top" secondItem="Y15-gP-AOw" secondAttribute="bottom" constant="8" id="7h5-VE-zqQ"/>
<constraint firstItem="1XK-zr-YdW" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" symbolic="YES" id="GOc-p2-SzS"/>
<constraint firstItem="Y15-gP-AOw" firstAttribute="trailing" secondItem="8sr-aI-VZy" secondAttribute="trailing" id="HOb-w5-EHD"/>
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" symbolic="YES" id="NyJ-eY-ZFC"/>
<constraint firstAttribute="trailing" secondItem="Y15-gP-AOw" secondAttribute="trailing" constant="22" id="Oly-XE-KiI"/>
<constraint firstAttribute="trailing" secondItem="1XK-zr-YdW" secondAttribute="trailing" constant="20" symbolic="YES" id="QZy-AY-F0A"/>
<constraint firstItem="Y15-gP-AOw" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="18" id="Sq8-Y2-Qpp"/>
<constraint firstItem="1XK-zr-YdW" firstAttribute="leading" secondItem="8sr-aI-VZy" secondAttribute="leading" id="aak-4s-bsZ"/>
<constraint firstAttribute="bottom" secondItem="Y15-gP-AOw" secondAttribute="bottom" constant="45" id="amT-vc-c7k"/>
<constraint firstItem="Y15-gP-AOw" firstAttribute="top" secondItem="1XK-zr-YdW" secondAttribute="bottom" constant="9" id="jsS-ky-LCw"/>
</constraints>
<point key="canvasLocation" x="139" y="224.5"/>
</customView>
</objects>
</document>
+83 -120
View File
@@ -5,36 +5,34 @@
// Copyright 2008 Damiano Galassi. All rights reserved. // Copyright 2008 Damiano Galassi. All rights reserved.
// //
#import "SBPrefsController.h"
#import "SBMetadataPrefsViewController.h"
#import "SBMetadataSearchController.h"
#import "SBPresetManager.h"
#import "SBMovieViewController.h"
#import <MP42Foundation/MP42Metadata.h> #import <MP42Foundation/MP42Metadata.h>
#import <MP42Foundation/MP42Ratings.h> #import <MP42Foundation/MP42Ratings.h>
#import "SBPrefsController.h"
#import "SBMetadataSearchController.h"
#import "SBPresetManager.h"
#import "SBTableView.h"
#import "SBMovieViewController.h"
#define TOOLBAR_GENERAL @"TOOLBAR_GENERAL" #define TOOLBAR_GENERAL @"TOOLBAR_GENERAL"
#define TOOLBAR_METADATA @"TOOLBAR_METADATA"
#define TOOLBAR_ADVANCED @"TOOLBAR_ADVANCED" #define TOOLBAR_ADVANCED @"TOOLBAR_ADVANCED"
#define TOOLBAR_SETS @"TOOLBAR_SETS" #define TOOLBAR_SETS @"TOOLBAR_SETS"
@interface SBPrefsController () <NSToolbarDelegate, NSWindowDelegate> { @interface SBPrefsController () <NSWindowDelegate>
@private
IBOutlet NSView *generalView, *advancedView, *setsView;
NSPopover *_popover; @property (nonatomic, strong) IBOutlet NSView *generalView;
SBMovieViewController *_controller; @property (nonatomic, strong) IBOutlet NSView *advancedView;
NSInteger _currentRow; @property (nonatomic, strong) IBOutlet NSView *setsView;
@property (nonatomic, strong) SBMetadataPrefsViewController *metadataController;
IBOutlet SBTableView *tableView; @property (nonatomic, weak) IBOutlet NSTableView *tableView;
IBOutlet NSButton *removeSet; @property (nonatomic, weak) IBOutlet NSButton *removeSetButton;
}
@property (nonatomic, readonly, copy) NSArray *ratingsCountries; @property (nonatomic, readwrite) SBMovieViewController *controller;
@property (nonatomic, readwrite) NSPopover *popover;
@property (nonatomic, readwrite) NSInteger currentRow;
- (void)setPrefView:(id)sender;
- (NSToolbarItem *)toolbarItemWithIdentifier:(NSString *)identifier
label:(NSString *)label
image:(NSImage *)image;
@end @end
@implementation SBPrefsController @implementation SBPrefsController
@@ -71,76 +69,51 @@
selector:@selector(updateTableView:) selector:@selector(updateTableView:)
name:@"SBPresetManagerUpdatedNotification" object:nil]; name:@"SBPresetManagerUpdatedNotification" object:nil];
} }
_metadataController = [[SBMetadataPrefsViewController alloc] init];
return self; return self;
} }
- (void)awakeFromNib - (void)awakeFromNib
{ {
NSToolbar *toolbar = [[NSToolbar alloc] initWithIdentifier: @"Preferences Toolbar"]; self.window.toolbar.allowsUserCustomization = NO;
toolbar.delegate = self; [self.window.toolbar setSelectedItemIdentifier:TOOLBAR_GENERAL];
[toolbar setAllowsUserCustomization:NO];
toolbar.displayMode = NSToolbarDisplayModeIconAndLabel;
toolbar.sizeMode = NSToolbarSizeModeRegular;
self.window.toolbar = toolbar;
[toolbar setSelectedItemIdentifier:TOOLBAR_GENERAL];
[self setPrefView:nil]; [self setPrefView:nil];
} }
- (NSToolbarItem *)toolbar:(NSToolbar *)toolbar #pragma mark - General
itemForItemIdentifier:(NSString *)ident
willBeInsertedIntoToolbar:(BOOL)flag - (IBAction)clearRecentSearches:(id)sender
{ {
if ([ident isEqualToString:TOOLBAR_GENERAL]) {
return [self toolbarItemWithIdentifier:ident
label:NSLocalizedString(@"General", @"Preferences General Toolbar Item")
image:[NSImage imageNamed:NSImageNamePreferencesGeneral]];
}
else if ([ident isEqualToString:TOOLBAR_ADVANCED]) {
return [self toolbarItemWithIdentifier:ident
label:NSLocalizedString(@"Advanced", @"Preferences Audio Toolbar Item")
image:[NSImage imageNamed:NSImageNameAdvanced]];
}
else if ([ident isEqualToString:TOOLBAR_SETS]) {
return [self toolbarItemWithIdentifier:ident
label:NSLocalizedString(@"Sets", @"Preferences Sets Toolbar Item")
image:[NSImage imageNamed:NSImageNameFolderSmart]];
}
return nil;
}
- (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar
{
return [self toolbarDefaultItemIdentifiers:toolbar];
}
- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar *)toolbar
{
return [self toolbarAllowedItemIdentifiers:toolbar];
}
- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar *)toolbar
{
return @[TOOLBAR_GENERAL, TOOLBAR_SETS, TOOLBAR_ADVANCED];
}
- (IBAction)clearRecentSearches:(id)sender {
[SBMetadataSearchController clearRecentSearches]; [SBMetadataSearchController clearRecentSearches];
} }
- (IBAction)deleteCachedMetadata:(id)sender { - (IBAction)deleteCachedMetadata:(id)sender
{
[SBMetadataSearchController deleteCachedMetadata]; [SBMetadataSearchController deleteCachedMetadata];
} }
- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView { - (NSArray *)ratingsCountries
{
return [[MP42Ratings defaultManager] ratingsCountries];
}
- (IBAction) updateRatingsCountry:(id)sender
{
[[MP42Ratings defaultManager] updateRatingsCountry];
}
#pragma mark - Sets
- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView
{
SBPresetManager *presetManager = [SBPresetManager sharedManager]; SBPresetManager *presetManager = [SBPresetManager sharedManager];
return presetManager.presets.count; return presetManager.presets.count;
} }
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn
row:(NSInteger)rowIndex { row:(NSInteger)rowIndex
{
if ([aTableColumn.identifier isEqualToString:@"name"]) { if ([aTableColumn.identifier isEqualToString:@"name"]) {
SBPresetManager *presetManager = [SBPresetManager sharedManager]; SBPresetManager *presetManager = [SBPresetManager sharedManager];
return presetManager.presets[rowIndex].presetName; return presetManager.presets[rowIndex].presetName;
@@ -152,91 +125,93 @@
{ {
[self closePopOver:self]; [self closePopOver:self];
NSInteger rowIndex = tableView.selectedRow; NSInteger rowIndex = self.tableView.selectedRow;
SBPresetManager *presetManager = [SBPresetManager sharedManager]; SBPresetManager *presetManager = [SBPresetManager sharedManager];
[presetManager removePresetAtIndex:rowIndex]; [presetManager removePresetAtIndex:rowIndex];
[tableView reloadData]; [self.tableView reloadData];
} }
- (IBAction)closePopOver:(id)sender - (IBAction)closePopOver:(id)sender
{ {
if (_popover) { if (self.popover) {
[_popover close]; [self.popover close];
_popover = nil; self.popover = nil;
_controller = nil; self.controller = nil;
} }
} }
- (IBAction)toggleInfoWindow:(id)sender - (IBAction)toggleInfoWindow:(id)sender
{ {
if (_currentRow == tableView.clickedRow && _popover) { if (self.currentRow == self.tableView.clickedRow && _popover) {
[self closePopOver:sender]; [self closePopOver:sender];
} else { }
_currentRow = tableView.clickedRow; else {
self.currentRow = self.tableView.clickedRow;
[self closePopOver:sender]; [self closePopOver:sender];
SBPresetManager *presetManager = [SBPresetManager sharedManager]; SBPresetManager *presetManager = [SBPresetManager sharedManager];
_controller = [[SBMovieViewController alloc] initWithNibName:@"MovieView" bundle:nil]; self.controller = [[SBMovieViewController alloc] initWithNibName:@"MovieView" bundle:nil];
[_controller setMetadata:presetManager.presets[_currentRow]]; [self.controller setMetadata:presetManager.presets[_currentRow]];
_popover = [[NSPopover alloc] init]; self.popover = [[NSPopover alloc] init];
_popover.contentViewController = _controller; self.popover.contentViewController = _controller;
_popover.contentSize = NSMakeSize(480.0f, 500.0f); self.popover.contentSize = NSMakeSize(480.0f, 500.0f);
[_popover showRelativeToRect:[tableView frameOfCellAtColumn:1 row:_currentRow] ofView:tableView preferredEdge:NSMaxYEdge]; [self.popover showRelativeToRect:[self.tableView frameOfCellAtColumn:1 row:self.currentRow] ofView:self.tableView preferredEdge:NSMaxYEdge];
} }
} }
- (void)updateTableView:(id)sender - (void)updateTableView:(id)sender
{ {
[tableView reloadData]; [self.tableView reloadData];
} }
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification - (void)tableViewSelectionDidChange:(NSNotification *)aNotification
{ {
if (tableView.selectedRow != -1) if (self.tableView.selectedRow != -1) {
[removeSet setEnabled:YES]; self.removeSetButton.enabled = YES;
else }
[removeSet setEnabled:NO]; else {
self.removeSetButton.enabled = NO;
}
} }
- (NSArray *)ratingsCountries { - (IBAction)setPrefView:(id)sender
return [[MP42Ratings defaultManager] ratingsCountries];
}
- (IBAction) updateRatingsCountry:(id)sender {
[[MP42Ratings defaultManager] updateRatingsCountry];
}
- (void)setPrefView:(id)sender
{ {
NSView *view = generalView; NSView *view = self.generalView;
if (sender) { if (sender) {
NSString *identifier = [sender itemIdentifier]; NSString *identifier = [sender itemIdentifier];
if ([identifier isEqualToString: TOOLBAR_ADVANCED]) if ([identifier isEqualToString:TOOLBAR_ADVANCED]) {
view = advancedView; view = self.advancedView;
else if ([identifier isEqualToString: TOOLBAR_SETS]) }
view = setsView; else if ([identifier isEqualToString:TOOLBAR_SETS]) {
view = self.setsView;
}
else if ([identifier isEqualToString:TOOLBAR_METADATA]) {
view = self.metadataController.view;
}
} }
NSWindow *window = self.window; NSWindow *window = self.window;
if (window.contentView == view) if (window.contentView == view) {
return; return;
}
NSRect windowRect = window.frame; NSRect windowRect = window.frame;
CGFloat difference = (view.frame.size.height - window.contentView.frame.size.height); CGFloat difference = (view.frame.size.height - window.contentView.frame.size.height);
windowRect.origin.y -= difference; windowRect.origin.y -= difference;
windowRect.size.height += difference; windowRect.size.height += difference;
[view setHidden:YES]; view.hidden = YES;
window.contentView = view; window.contentView = view;
[window setFrame:windowRect display:YES animate:YES]; [window setFrame:windowRect display:YES animate:YES];
[view setHidden:NO]; view.hidden = NO;
//set title label // Set title label
if (sender) if (sender) {
window.title = [sender label]; window.title = [sender label];
}
else { else {
NSToolbar *toolbar = window.toolbar; NSToolbar *toolbar = window.toolbar;
NSString *itemIdentifier = toolbar.selectedItemIdentifier; NSString *itemIdentifier = toolbar.selectedItemIdentifier;
@@ -248,16 +223,4 @@
} }
} }
- (NSToolbarItem *)toolbarItemWithIdentifier:(NSString *)identifier
label:(NSString *)label
image:(NSImage *)image
{
NSToolbarItem *item = [[NSToolbarItem alloc] initWithItemIdentifier:identifier];
item.label = label;
item.image = image;
item.action = @selector(setPrefView:);
[item setAutovalidates:NO];
return item;
}
@end @end
+451 -353
View File
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8187.4" systemVersion="15A262e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11173.2" systemVersion="16A238m" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies> <dependencies>
<deployment identifier="macosx"/> <deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8187.4"/> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11173.2"/>
</dependencies> </dependencies>
<objects> <objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBPrefsController"> <customObject id="-2" userLabel="File's Owner" customClass="SBPrefsController">
<connections> <connections>
<outlet property="advancedView" destination="94" id="A3V-qO-eaD"/> <outlet property="advancedView" destination="94" id="8hG-Wq-rYD"/>
<outlet property="generalView" destination="76" id="93"/> <outlet property="generalView" destination="76" id="0Fo-d5-cUM"/>
<outlet property="removeSet" destination="184" id="188"/> <outlet property="removeSetButton" destination="184" id="pk7-tV-clo"/>
<outlet property="setsView" destination="142" id="172"/> <outlet property="setsView" destination="142" id="RLl-ms-Dp2"/>
<outlet property="tableView" destination="166" id="182"/> <outlet property="tableView" destination="166" id="Yp7-nd-TmH"/>
<outlet property="window" destination="1" id="6"/> <outlet property="window" destination="1" id="6"/>
</connections> </connections>
</customObject> </customObject>
@@ -20,13 +20,45 @@
<window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" showsToolbarButton="NO" animationBehavior="default" id="1"> <window title="Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" showsToolbarButton="NO" animationBehavior="default" id="1">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/> <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
<windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/> <windowPositionMask key="initialPositionMask" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="625" y="992" width="400" height="130"/> <rect key="contentRect" x="625" y="992" width="540" height="130"/>
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1418"/> <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
<view key="contentView" id="2"> <view key="contentView" id="2">
<rect key="frame" x="0.0" y="0.0" width="400" height="130"/> <rect key="frame" x="0.0" y="0.0" width="540" height="130"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<animations/>
</view> </view>
<toolbar key="toolbar" implicitIdentifier="0A22B294-70B1-4E35-B468-425EC64FF9C7" autosavesConfiguration="NO" displayMode="iconAndLabel" sizeMode="regular" id="W21-Kp-oTx">
<allowedToolbarItems>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="PFX-qh-pDu"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="j41-vQ-qUD"/>
<toolbarItem implicitItemIdentifier="3D1B25A3-891C-42F5-ADA7-6B1B83F02120" explicitItemIdentifier="TOOLBAR_GENERAL" label="General" paletteLabel="General" tag="-1" image="NSPreferencesGeneral" autovalidates="NO" selectable="YES" id="h9J-Wg-NA5">
<connections>
<action selector="setPrefView:" target="-2" id="Whc-uQ-A0c"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="0809D367-75C6-4BB8-A355-B096AFFF8774" explicitItemIdentifier="TOOLBAR_METADATA" label="Metadata" paletteLabel="Metadata" tag="-1" image="NSUserAccounts" autovalidates="NO" selectable="YES" id="1NM-zc-8xJ">
<connections>
<action selector="setPrefView:" target="-2" id="Ag8-C8-L9t"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="E63989A9-D0E0-4806-8068-3C2D03D45257" explicitItemIdentifier="TOOLBAR_SETS" label="Sets" paletteLabel="Sets" tag="-1" image="NSFolderSmart" autovalidates="NO" selectable="YES" id="x8c-1o-aZk">
<connections>
<action selector="setPrefView:" target="-2" id="qzJ-nP-jfu"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="302AF2AA-7CED-4DAB-B037-A208F5CBF88B" explicitItemIdentifier="TOOLBAR_ADVANCED" label="Advanced" paletteLabel="Advanced" tag="-1" image="NSAdvanced" autovalidates="NO" selectable="YES" id="yrt-qD-Ctd">
<connections>
<action selector="setPrefView:" target="-2" id="aWt-By-iD2"/>
</connections>
</toolbarItem>
</allowedToolbarItems>
<defaultToolbarItems>
<toolbarItem reference="h9J-Wg-NA5"/>
<toolbarItem reference="1NM-zc-8xJ"/>
<toolbarItem reference="x8c-1o-aZk"/>
<toolbarItem reference="yrt-qD-Ctd"/>
</defaultToolbarItems>
</toolbar>
<point key="canvasLocation" x="-78" y="-653"/>
</window> </window>
<userDefaultsController id="3"> <userDefaultsController id="3">
<declaredKeys> <declaredKeys>
@@ -39,355 +71,414 @@
</declaredKeys> </declaredKeys>
</userDefaultsController> </userDefaultsController>
<customView id="76" userLabel="General View"> <customView id="76" userLabel="General View">
<rect key="frame" x="0.0" y="0.0" width="396" height="242"/> <rect key="frame" x="0.0" y="0.0" width="500" height="242"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews> <subviews>
<textField verticalHuggingPriority="750" id="77"> <customView translatesAutoresizingMaskIntoConstraints="NO" id="UII-c7-6hP">
<rect key="frame" x="40" y="205" width="117" height="17"/> <rect key="frame" x="76" y="0.0" width="348" height="242"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <subviews>
<animations/> <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="1000" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="77">
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Check for update:" id="89"> <rect key="frame" x="18" y="205" width="117" height="17"/>
<font key="font" metaFont="system"/> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Check for update:" id="89">
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <font key="font" metaFont="system"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
</textFieldCell> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textField> </textFieldCell>
<textField verticalHuggingPriority="750" id="78"> </textField>
<rect key="frame" x="99" y="180" width="58" height="17"/> <textField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="78">
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <rect key="frame" x="77" y="180" width="58" height="17"/>
<animations/> <constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Window:" id="88"> <constraint firstAttribute="width" constant="54" id="0kv-BY-4gC"/>
<font key="font" metaFont="system"/> </constraints>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Window:" id="88">
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <font key="font" metaFont="system"/>
</textFieldCell> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
</textField> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<button id="79"> </textFieldCell>
<rect key="frame" x="160" y="204" width="192" height="18"/> </textField>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <button translatesAutoresizingMaskIntoConstraints="NO" id="79">
<animations/> <rect key="frame" x="139" y="204" width="192" height="18"/>
<buttonCell key="cell" type="check" title="Automatically check daily" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="87"> <buttonCell key="cell" type="check" title="Automatically check daily" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="87">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
</buttonCell> </buttonCell>
<connections> <connections>
<binding destination="3" name="value" keyPath="values.SUEnableAutomaticChecks" id="90"/> <binding destination="3" name="value" keyPath="values.SUEnableAutomaticChecks" id="90"/>
</connections> </connections>
</button> </button>
<button id="80"> <button translatesAutoresizingMaskIntoConstraints="NO" id="80">
<rect key="frame" x="160" y="179" width="192" height="18"/> <rect key="frame" x="139" y="179" width="192" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <buttonCell key="cell" type="check" title="Remember Size" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="86">
<animations/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<buttonCell key="cell" type="check" title="Remember Size" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" inset="2" id="86"> <font key="font" metaFont="system"/>
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> </buttonCell>
<font key="font" metaFont="system"/> <connections>
</buttonCell> <binding destination="3" name="value" keyPath="values.rememberWindowSize" id="92">
<connections> <dictionary key="options">
<binding destination="3" name="value" keyPath="values.rememberWindowSize" id="92"> <bool key="NSValidatesImmediately" value="YES"/>
<dictionary key="options"> </dictionary>
<bool key="NSValidatesImmediately" value="YES"/> </binding>
</dictionary> </connections>
</binding> </button>
</connections> <textField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="81">
</button> <rect key="frame" x="70" y="155" width="65" height="17"/>
<textField verticalHuggingPriority="750" id="81"> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Chapters:" id="85">
<rect key="frame" x="92" y="155" width="65" height="17"/> <font key="font" metaFont="system"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<animations/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Chapters:" id="85"> </textFieldCell>
<font key="font" metaFont="system"/> </textField>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <textField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="206">
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <rect key="frame" x="23" y="115" width="110" height="17"/>
</textFieldCell> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Show ratings for:" id="207">
</textField> <font key="font" metaFont="system"/>
<textField verticalHuggingPriority="750" id="206"> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<rect key="frame" x="47" y="115" width="110" height="17"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> </textFieldCell>
<animations/> </textField>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Show ratings for:" id="207"> <textField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="139">
<font key="font" metaFont="system"/> <rect key="frame" x="70" y="54" width="65" height="17"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Privacy:" id="140">
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <font key="font" metaFont="system"/>
</textFieldCell> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
</textField> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<textField verticalHuggingPriority="750" id="139"> </textFieldCell>
<rect key="frame" x="92" y="54" width="65" height="17"/> </textField>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <button translatesAutoresizingMaskIntoConstraints="NO" id="82">
<animations/> <rect key="frame" x="139" y="154" width="192" height="18"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Privacy:" id="140"> <buttonCell key="cell" type="check" title="Create Preview Images" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="84">
<font key="font" metaFont="system"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <font key="font" metaFont="system"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </buttonCell>
</textFieldCell> <connections>
</textField> <binding destination="3" name="value" keyPath="values.chaptersPreviewTrack" id="91">
<button id="82"> <dictionary key="options">
<rect key="frame" x="160" y="154" width="192" height="18"/> <bool key="NSValidatesImmediately" value="YES"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> </dictionary>
<animations/> </binding>
<buttonCell key="cell" type="check" title="Create Preview Images" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="84"> </connections>
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> </button>
<font key="font" metaFont="system"/> <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="133">
</buttonCell> <rect key="frame" x="135" y="44" width="192" height="32"/>
<connections> <buttonCell key="cell" type="push" title="Clear recent searches" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="134">
<binding destination="3" name="value" keyPath="values.chaptersPreviewTrack" id="91"> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<dictionary key="options"> <font key="font" metaFont="system"/>
<bool key="NSValidatesImmediately" value="YES"/> </buttonCell>
</dictionary> <connections>
</binding> <action selector="clearRecentSearches:" target="-2" id="135"/>
</connections> </connections>
</button> </button>
<button verticalHuggingPriority="750" id="133"> <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="136">
<rect key="frame" x="156" y="44" width="192" height="32"/> <rect key="frame" x="135" y="13" width="192" height="32"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <buttonCell key="cell" type="push" title="Delete cached metadata" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="137">
<animations/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<buttonCell key="cell" type="push" title="Clear recent searches" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="134"> <font key="font" metaFont="system"/>
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> </buttonCell>
<font key="font" metaFont="system"/> <connections>
</buttonCell> <action selector="deleteCachedMetadata:" target="-2" id="141"/>
<connections> </connections>
<action selector="clearRecentSearches:" target="-2" id="135"/> </button>
</connections> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="236">
</button> <rect key="frame" x="139" y="109" width="185" height="26"/>
<button verticalHuggingPriority="750" id="136"> <popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="239" id="237">
<rect key="frame" x="156" y="13" width="192" height="32"/> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <font key="font" metaFont="menu"/>
<animations/> <menu key="menu" title="OtherViews" id="238">
<buttonCell key="cell" type="push" title="Delete cached metadata" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="137"> <items>
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <menuItem title="Item 1" state="on" id="239"/>
<font key="font" metaFont="system"/> <menuItem title="Item 2" id="240"/>
</buttonCell> <menuItem title="Item 3" id="241"/>
<connections> </items>
<action selector="deleteCachedMetadata:" target="-2" id="141"/> </menu>
</connections> </popUpButtonCell>
</button> <connections>
<popUpButton verticalHuggingPriority="750" id="236"> <action selector="updateRatingsCountry:" target="-2" id="242"/>
<rect key="frame" x="160" y="109" width="185" height="26"/> <binding destination="-2" name="content" keyPath="ratingsCountries" id="245"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <binding destination="123" name="selectedValue" keyPath="values.SBRatingsCountry" previousBinding="245" id="248"/>
<animations/> </connections>
<popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="239" id="237"> </popUpButton>
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="249">
<font key="font" metaFont="menu"/> <rect key="frame" x="139" y="96" width="167" height="14"/>
<menu key="menu" title="OtherViews" id="238"> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250">
<items> <font key="font" metaFont="smallSystem"/>
<menuItem title="Item 1" state="on" id="239"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<menuItem title="Item 2" id="240"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<menuItem title="Item 3" id="241"/> </textFieldCell>
</items> </textField>
</menu> </subviews>
</popUpButtonCell> <constraints>
<connections> <constraint firstItem="80" firstAttribute="leading" secondItem="78" secondAttribute="trailing" constant="8" id="1Gl-jX-m4c"/>
<action selector="updateRatingsCountry:" target="-2" id="242"/> <constraint firstItem="81" firstAttribute="baseline" secondItem="82" secondAttribute="baseline" id="1fb-2P-1NA"/>
<binding destination="-2" name="content" keyPath="ratingsCountries" id="245"/> <constraint firstItem="82" firstAttribute="leading" secondItem="236" secondAttribute="leading" id="2IY-F1-e12"/>
<binding destination="123" name="selectedValue" keyPath="values.SBRatingsCountry" previousBinding="245" id="248"/> <constraint firstItem="249" firstAttribute="leading" secondItem="206" secondAttribute="trailing" constant="10" id="56j-TE-Nei"/>
</connections> <constraint firstItem="206" firstAttribute="top" secondItem="81" secondAttribute="bottom" constant="23" id="7Gj-a4-Lk7"/>
</popUpButton> <constraint firstItem="236" firstAttribute="leading" secondItem="206" secondAttribute="trailing" constant="10" id="9LT-4f-dQz"/>
<textField verticalHuggingPriority="750" id="249"> <constraint firstItem="133" firstAttribute="leading" secondItem="139" secondAttribute="trailing" constant="8" id="BNa-eI-CR9"/>
<rect key="frame" x="161" y="96" width="167" height="14"/> <constraint firstItem="81" firstAttribute="width" secondItem="206" secondAttribute="width" constant="-45" id="C1N-GY-KCw"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <constraint firstItem="136" firstAttribute="leading" secondItem="139" secondAttribute="trailing" constant="8" id="C2H-yG-npD"/>
<animations/> <constraint firstItem="133" firstAttribute="trailing" secondItem="136" secondAttribute="trailing" id="CgO-GH-gt7"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="USA ratings are always shown." id="250"> <constraint firstItem="206" firstAttribute="width" secondItem="139" secondAttribute="width" constant="45" id="FVj-oA-bkv"/>
<font key="font" metaFont="smallSystem"/> <constraint firstItem="82" firstAttribute="leading" secondItem="81" secondAttribute="trailing" constant="8" id="IJT-Pf-Xan"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <constraint firstItem="80" firstAttribute="leading" secondItem="82" secondAttribute="leading" id="IQb-ax-zXf"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <constraint firstAttribute="trailing" secondItem="79" secondAttribute="trailing" constant="19" id="MT1-nV-jMy"/>
</textFieldCell> <constraint firstItem="139" firstAttribute="top" secondItem="206" secondAttribute="bottom" constant="44" id="Mh8-D2-GeW"/>
</textField> <constraint firstItem="77" firstAttribute="baseline" secondItem="79" secondAttribute="baseline" id="OMV-81-msx"/>
<constraint firstItem="236" firstAttribute="trailing" secondItem="133" secondAttribute="trailing" id="Q5e-0l-0Jr"/>
<constraint firstItem="79" firstAttribute="trailing" secondItem="80" secondAttribute="trailing" id="RbV-77-fHE"/>
<constraint firstItem="78" firstAttribute="baseline" secondItem="80" secondAttribute="baseline" id="SoH-rl-dZ7"/>
<constraint firstItem="139" firstAttribute="baseline" secondItem="133" secondAttribute="baseline" id="Sqr-YI-Xp7"/>
<constraint firstItem="78" firstAttribute="top" secondItem="77" secondAttribute="bottom" constant="8" id="Vev-EJ-GkJ"/>
<constraint firstItem="77" firstAttribute="width" secondItem="78" secondAttribute="width" constant="59" id="WDQ-5W-mGl"/>
<constraint firstItem="81" firstAttribute="top" secondItem="78" secondAttribute="bottom" constant="8" id="ciw-aq-uPV"/>
<constraint firstItem="249" firstAttribute="leading" secondItem="133" secondAttribute="leading" id="dpk-JI-cIe"/>
<constraint firstItem="206" firstAttribute="baseline" secondItem="236" secondAttribute="baseline" id="e4T-VP-kRp"/>
<constraint firstItem="80" firstAttribute="trailing" secondItem="82" secondAttribute="trailing" id="ecc-4x-cYt"/>
<constraint firstAttribute="trailing" secondItem="249" secondAttribute="trailing" constant="44" id="hXa-En-DHg"/>
<constraint firstItem="79" firstAttribute="leading" secondItem="80" secondAttribute="leading" id="rjX-FO-BbK"/>
<constraint firstAttribute="trailing" secondItem="236" secondAttribute="trailing" constant="27" id="s2n-eK-UDb"/>
<constraint firstItem="136" firstAttribute="top" secondItem="133" secondAttribute="bottom" constant="10" id="u8x-Vf-JlB"/>
<constraint firstItem="78" firstAttribute="width" secondItem="81" secondAttribute="width" constant="-7" id="vBe-U7-K4r"/>
<constraint firstItem="77" firstAttribute="leading" secondItem="UII-c7-6hP" secondAttribute="leading" constant="20" id="wR9-bT-Aha"/>
<constraint firstItem="77" firstAttribute="top" secondItem="UII-c7-6hP" secondAttribute="top" constant="20" id="yvS-io-euv"/>
<constraint firstItem="249" firstAttribute="top" secondItem="236" secondAttribute="bottom" constant="2" id="zFj-QK-Xas"/>
<constraint firstItem="79" firstAttribute="leading" secondItem="77" secondAttribute="trailing" constant="8" id="za2-mz-lPN"/>
</constraints>
</customView>
</subviews> </subviews>
<animations/> <constraints>
<constraint firstItem="UII-c7-6hP" firstAttribute="leading" secondItem="76" secondAttribute="leading" constant="76" id="Dn3-LT-Twc"/>
<constraint firstItem="UII-c7-6hP" firstAttribute="centerX" secondItem="76" secondAttribute="centerX" id="ThN-0I-qy7"/>
<constraint firstItem="UII-c7-6hP" firstAttribute="centerY" secondItem="76" secondAttribute="centerY" id="YVW-MI-w8c"/>
<constraint firstItem="UII-c7-6hP" firstAttribute="top" secondItem="76" secondAttribute="top" id="oQl-sJ-Yrx"/>
</constraints>
<point key="canvasLocation" x="-79.5" y="-487"/>
</customView> </customView>
<customView id="94" userLabel="Advanced View"> <customView id="94" userLabel="Advanced View">
<rect key="frame" x="0.0" y="0.0" width="400" height="242"/> <rect key="frame" x="0.0" y="0.0" width="500" height="242"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews> <subviews>
<textField verticalHuggingPriority="750" id="101"> <customView focusRingType="none" translatesAutoresizingMaskIntoConstraints="NO" id="dxP-K4-Plz">
<rect key="frame" x="18" y="173" width="151" height="17"/> <rect key="frame" x="66" y="0.0" width="368" height="242"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <subviews>
<animations/> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="189">
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Convert:" id="102"> <rect key="frame" x="15" y="23" width="132" height="17"/>
<font key="font" metaFont="system"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Bitrate (per channel):" id="190">
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <font key="font" metaFont="system"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
</textFieldCell> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textField> </textFieldCell>
<button id="hjZ-wQ-Sbb"> </textField>
<rect key="frame" x="172" y="172" width="124" height="18"/> <button translatesAutoresizingMaskIntoConstraints="NO" id="99">
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <rect key="frame" x="150" y="110" width="143" height="18"/>
<animations/> <buttonCell key="cell" type="check" title="AC-3 audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="104">
<buttonCell key="cell" type="check" title="VobSub to Tx3g" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="wgy-N5-9cB"> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <font key="font" metaFont="system"/>
<font key="font" metaFont="system"/> </buttonCell>
</buttonCell> <connections>
<connections> <binding destination="3" name="value" keyPath="values.SBAudioConvertAC3" id="112"/>
<binding destination="3" name="value" keyPath="values.SBSubtitleConvertBitmap" id="beC-0w-uVY"/> </connections>
</connections> </button>
</button> <button translatesAutoresizingMaskIntoConstraints="NO" id="3Jb-tI-sSK">
<textField verticalHuggingPriority="750" id="hgg-QV-i0I"> <rect key="frame" x="168" y="130" width="99" height="18"/>
<rect key="frame" x="18" y="207" width="150" height="17"/> <constraints>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <constraint firstAttribute="width" constant="95" id="mcd-DC-smo"/>
<animations/> </constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Groups:" id="agM-jg-8mH"> <buttonCell key="cell" type="check" title="Keep DTS" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="LFa-OQ-j5q">
<font key="font" metaFont="system"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <font key="font" metaFont="system"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </buttonCell>
</textFieldCell> <connections>
</textField> <binding destination="3" name="enabled" keyPath="values.SBAudioConvertDts" id="SkM-S0-Vns"/>
<button id="3fA-qQ-VvX"> <binding destination="3" name="value" keyPath="values.SBAudioKeepDts" id="M1l-zj-oV1"/>
<rect key="frame" x="172" y="206" width="169" height="18"/> </connections>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> </button>
<animations/> <button translatesAutoresizingMaskIntoConstraints="NO" id="olE-Dy-uJm">
<buttonCell key="cell" type="check" title="Keep groups organized" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Yld-Or-7Hu"> <rect key="frame" x="150" y="150" width="143" height="18"/>
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <constraints>
<font key="font" metaFont="system"/> <constraint firstAttribute="width" constant="139" id="oXf-4q-SH9"/>
</buttonCell> </constraints>
<connections> <buttonCell key="cell" type="check" title="DTS audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="ZcC-1D-D4s">
<binding destination="3" name="value" keyPath="values.SBOrganizeAlternateGroups" id="dwA-nR-J68"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
</connections> <font key="font" metaFont="system"/>
</button> </buttonCell>
<button id="olE-Dy-uJm"> <connections>
<rect key="frame" x="172" y="152" width="143" height="18"/> <binding destination="3" name="value" keyPath="values.SBAudioConvertDts" id="zGa-cq-MgW"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> </connections>
<animations/> </button>
<buttonCell key="cell" type="check" title="DTS audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="ZcC-1D-D4s"> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="191">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <rect key="frame" x="150" y="17" width="63" height="26"/>
<font key="font" metaFont="system"/> <constraints>
</buttonCell> <constraint firstAttribute="width" constant="58" id="on3-Gd-kHK"/>
<connections> </constraints>
<binding destination="3" name="value" keyPath="values.SBAudioConvertDts" id="zGa-cq-MgW"/> <popUpButtonCell key="cell" type="push" title="80" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="80" imageScaling="proportionallyDown" inset="2" selectedItem="195" id="192">
</connections> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
</button> <font key="font" metaFont="menu"/>
<textField verticalHuggingPriority="750" id="113"> <menu key="menu" title="OtherViews" id="193">
<rect key="frame" x="18" y="53" width="151" height="17"/> <items>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <menuItem title="64" tag="64" id="194"/>
<animations/> <menuItem title="80" state="on" tag="80" id="195"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Downmix audio to:" id="114"> <menuItem title="96" tag="96" id="196"/>
<font key="font" metaFont="system"/> <menuItem title="112" tag="112" id="197"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <menuItem title="128" tag="128" id="198"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <menuItem title="144" tag="144" id="199"/>
</textFieldCell> <menuItem title="160" tag="160" id="200"/>
</textField> </items>
<textField verticalHuggingPriority="750" id="189"> </menu>
<rect key="frame" x="18" y="22" width="151" height="17"/> </popUpButtonCell>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <connections>
<animations/> <binding destination="123" name="selectedTag" keyPath="values.SBAudioBitrate" id="205"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Bitrate (per channel):" id="190"> </connections>
<font key="font" metaFont="system"/> </popUpButton>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="201">
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <rect key="frame" x="215" y="23" width="42" height="17"/>
</textFieldCell> <constraints>
</textField> <constraint firstAttribute="width" constant="38" id="AJw-Fs-IUR"/>
<textField verticalHuggingPriority="750" id="201"> </constraints>
<rect key="frame" x="237" y="24" width="42" height="17"/> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="kbps" id="202">
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <font key="font" metaFont="system"/>
<animations/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="kbps" id="202"> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<font key="font" metaFont="system"/> </textFieldCell>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> </textField>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> <textField verticalHuggingPriority="750" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hgg-QV-i0I">
</textFieldCell> <rect key="frame" x="15" y="205" width="132" height="17"/>
</textField> <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="right" title="Alternate Groups:" id="agM-jg-8mH">
<popUpButton verticalHuggingPriority="750" id="115"> <font key="font" metaFont="system"/>
<rect key="frame" x="173" y="48" width="178" height="26"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<animations/> </textFieldCell>
<popUpButtonCell key="cell" type="push" title="Dolby Pro Logic II" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="121" id="116"> </textField>
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="115">
<font key="font" metaFont="menu"/> <rect key="frame" x="151" y="48" width="178" height="26"/>
<menu key="menu" title="OtherViews" id="117"> <popUpButtonCell key="cell" type="push" title="Dolby Pro Logic II" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="121" id="116">
<items> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<menuItem title="Dolby Pro Logic II" state="on" tag="1" id="121"/> <font key="font" metaFont="menu"/>
<menuItem title="Dolby Pro Logic" tag="2" id="120"/> <menu key="menu" title="OtherViews" id="117">
<menuItem title="Stereo" tag="3" id="119"/> <items>
<menuItem title="Mono" tag="4" id="122"/> <menuItem title="Dolby Pro Logic II" state="on" tag="1" id="121"/>
<menuItem title="Multi-Channel" tag="5" id="118"/> <menuItem title="Dolby Pro Logic" tag="2" id="120"/>
</items> <menuItem title="Stereo" tag="3" id="119"/>
</menu> <menuItem title="Mono" tag="4" id="122"/>
</popUpButtonCell> <menuItem title="Multi-Channel" tag="5" id="118"/>
<connections> </items>
<binding destination="123" name="selectedTag" keyPath="values.SBAudioMixdown" id="129"/> </menu>
</connections> </popUpButtonCell>
</popUpButton> <connections>
<popUpButton verticalHuggingPriority="750" id="191"> <binding destination="123" name="selectedTag" keyPath="values.SBAudioMixdown" id="129"/>
<rect key="frame" x="172" y="17" width="63" height="26"/> </connections>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> </popUpButton>
<animations/> <button translatesAutoresizingMaskIntoConstraints="NO" id="edJ-A5-eyf">
<popUpButtonCell key="cell" type="push" title="80" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="80" imageScaling="proportionallyDown" inset="2" selectedItem="195" id="192"> <rect key="frame" x="168" y="90" width="99" height="18"/>
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <buttonCell key="cell" type="check" title="Keep AC-3" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Zgy-z5-6UG">
<font key="font" metaFont="menu"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<menu key="menu" title="OtherViews" id="193"> <font key="font" metaFont="system"/>
<items> </buttonCell>
<menuItem title="64" tag="64" id="194"/> <connections>
<menuItem title="80" state="on" tag="80" id="195"/> <binding destination="3" name="enabled" keyPath="values.SBAudioConvertAC3" id="st6-D0-eUe"/>
<menuItem title="96" tag="96" id="196"/> <binding destination="3" name="value" keyPath="values.SBAudioKeepAC3" id="W2T-se-Fud"/>
<menuItem title="112" tag="112" id="197"/> </connections>
<menuItem title="128" tag="128" id="198"/> </button>
<menuItem title="144" tag="144" id="199"/> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="101">
<menuItem title="160" tag="160" id="200"/> <rect key="frame" x="15" y="171" width="132" height="17"/>
</items> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Convert:" id="102">
</menu> <font key="font" metaFont="system"/>
</popUpButtonCell> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<connections> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<binding destination="123" name="selectedTag" keyPath="values.SBAudioBitrate" id="205"/> </textFieldCell>
</connections> </textField>
</popUpButton> <button translatesAutoresizingMaskIntoConstraints="NO" id="hjZ-wQ-Sbb">
<button id="99"> <rect key="frame" x="150" y="170" width="124" height="18"/>
<rect key="frame" x="172" y="112" width="143" height="18"/> <constraints>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <constraint firstAttribute="width" constant="120" id="HaU-Kj-DHJ"/>
<animations/> </constraints>
<buttonCell key="cell" type="check" title="AC-3 audio to AAC" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="104"> <buttonCell key="cell" type="check" title="VobSub to Tx3g" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="wgy-N5-9cB">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
</buttonCell> </buttonCell>
<connections> <connections>
<binding destination="3" name="value" keyPath="values.SBAudioConvertAC3" id="112"/> <binding destination="3" name="value" keyPath="values.SBSubtitleConvertBitmap" id="beC-0w-uVY"/>
</connections> </connections>
</button> </button>
<button id="edJ-A5-eyf"> <button translatesAutoresizingMaskIntoConstraints="NO" id="3fA-qQ-VvX">
<rect key="frame" x="190" y="92" width="99" height="18"/> <rect key="frame" x="151" y="204" width="168" height="18"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <buttonCell key="cell" type="check" title="Keep groups organized" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Yld-Or-7Hu">
<animations/> <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<buttonCell key="cell" type="check" title="Keep AC-3" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="Zgy-z5-6UG"> <font key="font" metaFont="system"/>
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> </buttonCell>
<font key="font" metaFont="system"/> <connections>
</buttonCell> <binding destination="3" name="value" keyPath="values.SBOrganizeAlternateGroups" id="dwA-nR-J68"/>
<connections> </connections>
<binding destination="3" name="enabled" keyPath="values.SBAudioConvertAC3" id="st6-D0-eUe"/> </button>
<binding destination="3" name="value" keyPath="values.SBAudioKeepAC3" id="W2T-se-Fud"/> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="113">
</connections> <rect key="frame" x="15" y="53" width="132" height="17"/>
</button> <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Downmix audio to:" id="114">
<button id="3Jb-tI-sSK"> <font key="font" metaFont="system"/>
<rect key="frame" x="190" y="132" width="99" height="18"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/> <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
<animations/> </textFieldCell>
<buttonCell key="cell" type="check" title="Keep DTS" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="LFa-OQ-j5q"> </textField>
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/> </subviews>
<font key="font" metaFont="system"/> <constraints>
</buttonCell> <constraint firstItem="201" firstAttribute="leading" secondItem="191" secondAttribute="trailing" constant="7" id="0r0-dV-g2W"/>
<connections> <constraint firstItem="3fA-qQ-VvX" firstAttribute="leading" secondItem="hgg-QV-i0I" secondAttribute="trailing" constant="8" id="41f-qe-xN3"/>
<binding destination="3" name="enabled" keyPath="values.SBAudioConvertDts" id="SkM-S0-Vns"/> <constraint firstItem="113" firstAttribute="leading" secondItem="101" secondAttribute="leading" id="Af9-fN-G59"/>
<binding destination="3" name="value" keyPath="values.SBAudioKeepDts" id="M1l-zj-oV1"/> <constraint firstItem="115" firstAttribute="leading" secondItem="113" secondAttribute="trailing" constant="8" id="Afd-BA-HDD"/>
</connections> <constraint firstItem="3Jb-tI-sSK" firstAttribute="trailing" secondItem="edJ-A5-eyf" secondAttribute="trailing" id="D3H-iQ-ogh"/>
</button> <constraint firstItem="191" firstAttribute="leading" secondItem="189" secondAttribute="trailing" constant="7" id="Eqs-Yh-pKk"/>
<constraint firstItem="olE-Dy-uJm" firstAttribute="leading" secondItem="101" secondAttribute="trailing" constant="7" id="GFc-UR-VFi"/>
<constraint firstItem="olE-Dy-uJm" firstAttribute="top" secondItem="hjZ-wQ-Sbb" secondAttribute="bottom" constant="6" id="Gpd-Sy-idP"/>
<constraint firstItem="113" firstAttribute="width" secondItem="189" secondAttribute="width" id="Hto-pM-nAi"/>
<constraint firstAttribute="trailing" secondItem="115" secondAttribute="trailing" constant="42" id="IEo-86-aFT"/>
<constraint firstAttribute="bottom" secondItem="191" secondAttribute="bottom" constant="20" symbolic="YES" id="Jcr-Dz-Rzh"/>
<constraint firstItem="3Jb-tI-sSK" firstAttribute="top" secondItem="olE-Dy-uJm" secondAttribute="bottom" constant="6" id="Jhh-QU-JWT"/>
<constraint firstItem="113" firstAttribute="centerY" secondItem="115" secondAttribute="centerY" id="KNU-qi-cb5"/>
<constraint firstItem="edJ-A5-eyf" firstAttribute="top" secondItem="99" secondAttribute="bottom" constant="6" id="Oyq-s9-heS"/>
<constraint firstItem="hjZ-wQ-Sbb" firstAttribute="leading" secondItem="101" secondAttribute="trailing" constant="7" id="PCz-yo-aee"/>
<constraint firstItem="hgg-QV-i0I" firstAttribute="baseline" secondItem="3fA-qQ-VvX" secondAttribute="baseline" id="Pid-1p-FSq"/>
<constraint firstItem="edJ-A5-eyf" firstAttribute="leading" secondItem="101" secondAttribute="trailing" constant="25" id="PzU-IR-jBH"/>
<constraint firstItem="101" firstAttribute="leading" secondItem="hgg-QV-i0I" secondAttribute="leading" id="QgZ-Ov-3Az"/>
<constraint firstItem="olE-Dy-uJm" firstAttribute="trailing" secondItem="99" secondAttribute="trailing" id="YQb-if-wBq"/>
<constraint firstAttribute="trailing" secondItem="3fA-qQ-VvX" secondAttribute="trailing" constant="51" id="hPs-tI-1DP"/>
<constraint firstItem="hjZ-wQ-Sbb" firstAttribute="top" secondItem="3fA-qQ-VvX" secondAttribute="bottom" constant="20" id="hp9-yh-HgS"/>
<constraint firstItem="191" firstAttribute="top" secondItem="115" secondAttribute="bottom" constant="10" symbolic="YES" id="j3d-7t-dwJ"/>
<constraint firstItem="3Jb-tI-sSK" firstAttribute="leading" secondItem="101" secondAttribute="trailing" constant="25" id="kVk-EV-TCf"/>
<constraint firstItem="191" firstAttribute="baseline" secondItem="189" secondAttribute="baseline" id="kgs-yC-QAg"/>
<constraint firstItem="191" firstAttribute="baseline" secondItem="201" secondAttribute="baseline" id="lQC-AF-KfM"/>
<constraint firstAttribute="trailing" secondItem="olE-Dy-uJm" secondAttribute="trailing" constant="77" id="lbY-a1-yTz"/>
<constraint firstItem="hgg-QV-i0I" firstAttribute="width" secondItem="101" secondAttribute="width" id="mUD-zG-hfR"/>
<constraint firstItem="hgg-QV-i0I" firstAttribute="top" secondItem="dxP-K4-Plz" secondAttribute="top" constant="20" symbolic="YES" id="oF1-uh-Vnp"/>
<constraint firstItem="189" firstAttribute="leading" secondItem="113" secondAttribute="leading" id="rzq-G2-K11"/>
<constraint firstItem="101" firstAttribute="width" secondItem="113" secondAttribute="width" id="tkb-xh-8Mo"/>
<constraint firstItem="101" firstAttribute="baseline" secondItem="hjZ-wQ-Sbb" secondAttribute="baseline" id="u4h-Jl-9q8"/>
<constraint firstItem="99" firstAttribute="leading" secondItem="101" secondAttribute="trailing" constant="7" id="xW7-Oh-rOU"/>
<constraint firstItem="99" firstAttribute="top" secondItem="3Jb-tI-sSK" secondAttribute="bottom" constant="6" id="xiw-tI-sTT"/>
</constraints>
</customView>
</subviews> </subviews>
<animations/> <constraints>
<point key="canvasLocation" x="262" y="808"/> <constraint firstItem="dxP-K4-Plz" firstAttribute="centerX" secondItem="94" secondAttribute="centerX" id="FLe-BG-1bJ"/>
<constraint firstAttribute="bottom" secondItem="dxP-K4-Plz" secondAttribute="bottom" id="RgL-FE-J7N"/>
<constraint firstItem="dxP-K4-Plz" firstAttribute="centerY" secondItem="94" secondAttribute="centerY" id="gk7-KG-NGy"/>
<constraint firstItem="dxP-K4-Plz" firstAttribute="leading" secondItem="94" secondAttribute="leading" constant="66" id="svl-z1-LtS"/>
</constraints>
<point key="canvasLocation" x="-88" y="-776"/>
</customView> </customView>
<userDefaultsController representsSharedInstance="YES" id="123"/> <userDefaultsController representsSharedInstance="YES" id="123"/>
<customView id="142" userLabel="Sets View"> <customView id="142" userLabel="Sets View">
<rect key="frame" x="0.0" y="0.0" width="396" height="263"/> <rect key="frame" x="0.0" y="0.0" width="396" height="263"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews> <subviews>
<scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="163"> <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="163">
<rect key="frame" x="20" y="46" width="356" height="197"/> <rect key="frame" x="20" y="46" width="356" height="197"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<clipView key="contentView" id="C7d-ji-Qle"> <clipView key="contentView" id="C7d-ji-Qle">
<rect key="frame" x="1" y="1" width="354" height="195"/> <rect key="frame" x="1" y="1" width="354" height="195"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" id="166" customClass="SBTableView"> <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="firstColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" typeSelect="NO" id="166" customClass="SBTableView">
<rect key="frame" x="0.0" y="0.0" width="354" height="19"/> <rect key="frame" x="0.0" y="0.0" width="354" height="195"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<animations/>
<size key="intercellSpacing" width="3" height="2"/> <size key="intercellSpacing" width="3" height="2"/>
<color key="backgroundColor" name="_sourceListBackgroundColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/> <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
<tableColumns> <tableColumns>
<tableColumn identifier="name" editable="NO" width="328" minWidth="40" maxWidth="1000" id="168"> <tableColumn identifier="name" editable="NO" width="328" minWidth="40" maxWidth="1000" id="168">
@@ -396,7 +487,7 @@
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
</tableHeaderCell> </tableHeaderCell>
<textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="171"> <textFieldCell key="dataCell" lineBreakMode="truncatingMiddle" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="171">
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -409,7 +500,7 @@
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/> <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
</tableHeaderCell> </tableHeaderCell>
<buttonCell key="dataCell" type="recessed" bezelStyle="recessed" image="info" imagePosition="only" alignment="center" alternateImage="info-pressed" inset="2" id="176"> <buttonCell key="dataCell" type="recessed" bezelStyle="recessed" image="info" imagePosition="only" alignment="center" alternateImage="info-pressed" lineBreakMode="truncatingMiddle" inset="2" id="176">
<behavior key="behavior" lightByContents="YES"/> <behavior key="behavior" lightByContents="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
<connections> <connections>
@@ -426,25 +517,21 @@
</connections> </connections>
</tableView> </tableView>
</subviews> </subviews>
<animations/>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
</clipView> </clipView>
<animations/>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="165"> <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="165">
<rect key="frame" x="1" y="181" width="354" height="15"/> <rect key="frame" x="1" y="-15" width="0.0" height="16"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<animations/>
</scroller> </scroller>
<scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="164"> <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="164">
<rect key="frame" x="224" y="17" width="15" height="102"/> <rect key="frame" x="-15" y="1" width="16" height="0.0"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<animations/>
</scroller> </scroller>
</scrollView> </scrollView>
<button verticalHuggingPriority="750" id="184"> <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="184">
<rect key="frame" x="20" y="19" width="25" height="21"/> <rect key="frame" x="20" y="19" width="25" height="21"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> <constraints>
<animations/> <constraint firstAttribute="width" constant="25" id="3mc-XF-vcw"/>
</constraints>
<buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="185"> <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="overlaps" alignment="center" enabled="NO" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="185">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/> <font key="font" metaFont="system"/>
@@ -454,7 +541,14 @@
</connections> </connections>
</button> </button>
</subviews> </subviews>
<animations/> <constraints>
<constraint firstAttribute="trailing" secondItem="163" secondAttribute="trailing" constant="20" id="1qQ-7c-vF7"/>
<constraint firstAttribute="bottom" secondItem="184" secondAttribute="bottom" constant="20" id="MTS-Qd-RAG"/>
<constraint firstItem="184" firstAttribute="leading" secondItem="142" secondAttribute="leading" constant="20" id="NbG-bO-Bjd"/>
<constraint firstItem="163" firstAttribute="leading" secondItem="142" secondAttribute="leading" constant="20" id="Tx8-F1-Ctz"/>
<constraint firstItem="163" firstAttribute="top" secondItem="142" secondAttribute="top" constant="20" id="WjL-2N-6ME"/>
<constraint firstItem="184" firstAttribute="top" secondItem="163" secondAttribute="bottom" constant="7" id="uBP-t5-nEo"/>
</constraints>
</customView> </customView>
<menu id="pzR-CP-Gdo"> <menu id="pzR-CP-Gdo">
<items> <items>
@@ -471,7 +565,11 @@
</menu> </menu>
</objects> </objects>
<resources> <resources>
<image name="NSAdvanced" width="32" height="32"/>
<image name="NSFolderSmart" width="32" height="32"/>
<image name="NSPreferencesGeneral" width="32" height="32"/>
<image name="NSRemoveTemplate" width="11" height="11"/> <image name="NSRemoveTemplate" width="11" height="11"/>
<image name="NSUserAccounts" width="32" height="32"/>
<image name="info" width="16" height="16"/> <image name="info" width="16" height="16"/>
<image name="info-pressed" width="16" height="16"/> <image name="info-pressed" width="16" height="16"/>
</resources> </resources>
+4 -13
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8187.4" systemVersion="15A262e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11173.2" systemVersion="16A238m" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies> <dependencies>
<deployment identifier="macosx"/> <deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8187.4"/> <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11173.2"/>
</dependencies> </dependencies>
<objects> <objects>
<customObject id="-2" userLabel="File's Owner" customClass="SBLogWindowController"> <customObject id="-2" userLabel="File's Owner" customClass="SBLogWindowController">
@@ -30,37 +30,29 @@
<rect key="frame" x="1" y="1" width="400" height="412"/> <rect key="frame" x="1" y="1" width="400" height="412"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<textView editable="NO" importsGraphics="NO" findStyle="panel" allowsUndo="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" id="Ztd-g7-f0E"> <textView editable="NO" importsGraphics="NO" findStyle="panel" allowsUndo="YES" allowsNonContiguousLayout="YES" id="Ztd-g7-f0E">
<rect key="frame" x="0.0" y="0.0" width="400" height="412"/> <rect key="frame" x="0.0" y="0.0" width="400" height="412"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<size key="minSize" width="400" height="412"/> <size key="minSize" width="400" height="412"/>
<size key="maxSize" width="482" height="10000000"/> <size key="maxSize" width="482" height="10000000"/>
<color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> <color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<size key="minSize" width="400" height="412"/>
<size key="maxSize" width="482" height="10000000"/>
</textView> </textView>
</subviews> </subviews>
<animations/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</clipView> </clipView>
<animations/>
<scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="Vnb-hn-cmp"> <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="Vnb-hn-cmp">
<rect key="frame" x="-100" y="-100" width="87" height="18"/> <rect key="frame" x="-100" y="-100" width="87" height="18"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<animations/>
</scroller> </scroller>
<scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="UlH-Il-Vxj"> <scroller key="verticalScroller" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="UlH-Il-Vxj">
<rect key="frame" x="385" y="1" width="16" height="412"/> <rect key="frame" x="385" y="1" width="16" height="412"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<animations/>
</scroller> </scroller>
</scrollView> </scrollView>
<button verticalHuggingPriority="750" id="myf-Ql-qUP"> <button verticalHuggingPriority="750" id="myf-Ql-qUP">
<rect key="frame" x="324" y="2" width="73" height="28"/> <rect key="frame" x="324" y="2" width="73" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
<animations/>
<buttonCell key="cell" type="push" title="Clear" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="h1X-Ni-exQ"> <buttonCell key="cell" type="push" title="Clear" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="h1X-Ni-exQ">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="smallSystem"/> <font key="font" metaFont="smallSystem"/>
@@ -70,7 +62,6 @@
</connections> </connections>
</button> </button>
</subviews> </subviews>
<animations/>
</view> </view>
<connections> <connections>
<outlet property="delegate" destination="-2" id="0bl-1N-AYu"/> <outlet property="delegate" destination="-2" id="0bl-1N-AYu"/>
+20 -2
View File
@@ -18,6 +18,8 @@
A917286119FD288B00348DF8 /* SBLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = A917286019FD288B00348DF8 /* SBLogger.m */; }; A917286119FD288B00348DF8 /* SBLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = A917286019FD288B00348DF8 /* SBLogger.m */; };
A925AA8518378D8A00BE84D4 /* MP42Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A925AA8218378D7900BE84D4 /* MP42Foundation.framework */; }; A925AA8518378D8A00BE84D4 /* MP42Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A925AA8218378D7900BE84D4 /* MP42Foundation.framework */; };
A925AA8818378DD000BE84D4 /* MP42Foundation.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A925AA8218378D7900BE84D4 /* MP42Foundation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; }; A925AA8818378DD000BE84D4 /* MP42Foundation.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A925AA8218378D7900BE84D4 /* MP42Foundation.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
A94721931D49DC0000858DD8 /* SBMetadataPrefsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A94721911D49DC0000858DD8 /* SBMetadataPrefsViewController.m */; };
A94721941D49DC0000858DD8 /* SBMetadataPrefsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A94721921D49DC0000858DD8 /* SBMetadataPrefsViewController.xib */; };
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 */; };
A95C881D0F827BFB00F51A22 /* ToolbarRemoveTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A95C881C0F827BFB00F51A22 /* ToolbarRemoveTemplate.png */; }; A95C881D0F827BFB00F51A22 /* ToolbarRemoveTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A95C881C0F827BFB00F51A22 /* ToolbarRemoveTemplate.png */; };
A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */ = {isa = PBXBuildFile; fileRef = A960E96217D4B00900FC6ED9 /* SBImageBrowserView.m */; }; A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */ = {isa = PBXBuildFile; fileRef = A960E96217D4B00900FC6ED9 /* SBImageBrowserView.m */; };
@@ -181,6 +183,9 @@
A917286019FD288B00348DF8 /* SBLogger.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBLogger.m; path = Classes/SBLogger.m; sourceTree = "<group>"; }; A917286019FD288B00348DF8 /* SBLogger.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBLogger.m; path = Classes/SBLogger.m; sourceTree = "<group>"; };
A917286419FD289F00348DF8 /* SBLogger.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SBLogger.h; path = Classes/SBLogger.h; sourceTree = "<group>"; }; A917286419FD289F00348DF8 /* SBLogger.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SBLogger.h; path = Classes/SBLogger.h; sourceTree = "<group>"; };
A925AA7B18378D7800BE84D4 /* MP42Foundation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = MP42Foundation.xcodeproj; path = MP42Foundation/MP42Foundation.xcodeproj; sourceTree = "<group>"; }; A925AA7B18378D7800BE84D4 /* MP42Foundation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = MP42Foundation.xcodeproj; path = MP42Foundation/MP42Foundation.xcodeproj; sourceTree = "<group>"; };
A94721901D49DC0000858DD8 /* SBMetadataPrefsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBMetadataPrefsViewController.h; path = Classes/SBMetadataPrefsViewController.h; sourceTree = "<group>"; };
A94721911D49DC0000858DD8 /* SBMetadataPrefsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SBMetadataPrefsViewController.m; path = Classes/SBMetadataPrefsViewController.m; sourceTree = "<group>"; };
A94721921D49DC0000858DD8 /* SBMetadataPrefsViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = SBMetadataPrefsViewController.xib; path = Classes/SBMetadataPrefsViewController.xib; sourceTree = "<group>"; };
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>"; };
@@ -394,10 +399,9 @@
A9AF6A7818D0537F00FAAB08 /* Queue */, A9AF6A7818D0537F00FAAB08 /* Queue */,
A961476113F567E10068F161 /* SBPresetManager.h */, A961476113F567E10068F161 /* SBPresetManager.h */,
A961476213F567E10068F161 /* SBPresetManager.m */, A961476213F567E10068F161 /* SBPresetManager.m */,
A9B46A8212B79B240040517A /* SBPrefsController.h */,
A9B46A8312B79B240040517A /* SBPrefsController.m */,
A9AB484717F0AEA2000AA72E /* SBAppDelegate.h */, A9AB484717F0AEA2000AA72E /* SBAppDelegate.h */,
A9AB484817F0AEA2000AA72E /* SBAppDelegate.m */, A9AB484817F0AEA2000AA72E /* SBAppDelegate.m */,
A947218D1D49D9F700858DD8 /* Preferences */,
CD71FF1A12F1C46900F0A98D /* MetadataImporters */, CD71FF1A12F1C46900F0A98D /* MetadataImporters */,
A95688AC1B91B35A004456A6 /* Activity Log */, A95688AC1B91B35A004456A6 /* Activity Log */,
); );
@@ -470,6 +474,18 @@
name = Products; name = Products;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
A947218D1D49D9F700858DD8 /* Preferences */ = {
isa = PBXGroup;
children = (
A9B46A8212B79B240040517A /* SBPrefsController.h */,
A9B46A8312B79B240040517A /* SBPrefsController.m */,
A94721901D49DC0000858DD8 /* SBMetadataPrefsViewController.h */,
A94721911D49DC0000858DD8 /* SBMetadataPrefsViewController.m */,
A94721921D49DC0000858DD8 /* SBMetadataPrefsViewController.xib */,
);
name = Preferences;
sourceTree = "<group>";
};
A95688AC1B91B35A004456A6 /* Activity Log */ = { A95688AC1B91B35A004456A6 /* Activity Log */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@@ -814,6 +830,7 @@
A9C9E34413FBC1EB00CA3B4E /* EncodeWorking.png in Resources */, A9C9E34413FBC1EB00CA3B4E /* EncodeWorking.png in Resources */,
A96371B8164695070083BB80 /* ToolbarRemoveTemplate@2x.png in Resources */, A96371B8164695070083BB80 /* ToolbarRemoveTemplate@2x.png in Resources */,
CDE8E452174CBBD4009410B5 /* iTunesStores.json in Resources */, CDE8E452174CBBD4009410B5 /* iTunesStores.json in Resources */,
A94721941D49DC0000858DD8 /* SBMetadataPrefsViewController.xib in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@@ -852,6 +869,7 @@
A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */, A9AB485617F0AEAC000AA72E /* SBMovieViewController.m in Sources */,
A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */, A960E96317D4B00900FC6ED9 /* SBImageBrowserView.m in Sources */,
A9DA3B9D1B918D5C00F1E40C /* SBExceptionAlertController.m in Sources */, A9DA3B9D1B918D5C00F1E40C /* SBExceptionAlertController.m in Sources */,
A94721931D49DC0000858DD8 /* SBMetadataPrefsViewController.m in Sources */,
A9BC410318D9AB8700F8C92C /* SBItemViewController.m in Sources */, A9BC410318D9AB8700F8C92C /* SBItemViewController.m in Sources */,
A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */, A9AB484917F0AEA2000AA72E /* SBAppDelegate.m in Sources */,
A9B46A8C12B79B240040517A /* SBFileImport.m in Sources */, A9B46A8C12B79B240040517A /* SBFileImport.m in Sources */,