Commit 9718cf7a authored by Felix Paul Kühne's avatar Felix Paul Kühne

AspenProject: added a basic set of playback buttons

parent 57286cad
......@@ -8,7 +8,7 @@
#import <UIKit/UIKit.h>
@interface VLCMovieViewController : UIViewController <UISplitViewControllerDelegate>
@interface VLCMovieViewController : UIViewController <UISplitViewControllerDelegate, VLCMediaPlayerDelegate, UIActionSheetDelegate>
{
VLCMediaPlayer *_mediaPlayer;
UIView *_movieView;
......@@ -16,6 +16,15 @@
UIBarButtonItem * _backButton;
UISlider *_positionSlider;
UIBarButtonItem *_timeDisplay;
UIButton *_playPauseButton;
UIButton *_bwdButton;
UIButton *_fwdButton;
UIButton *_subtitleSwitcherButton;
UIButton *_audioSwitcherButton;
UIView *_controllerPanel;
UIActionSheet *_subtitleActionSheet;
UIActionSheet *_audiotrackActionSheet;
}
@property (nonatomic, retain) IBOutlet UIView * movieView;
......@@ -23,10 +32,22 @@
@property (nonatomic, retain) IBOutlet UIBarButtonItem * backButton;
@property (nonatomic, retain) IBOutlet UISlider * positionSlider;
@property (nonatomic, retain) IBOutlet UIBarButtonItem * timeDisplay;
@property (nonatomic, retain) IBOutlet UIButton * playPauseButton;
@property (nonatomic, retain) IBOutlet UIButton * bwdButton;
@property (nonatomic, retain) IBOutlet UIButton * fwdButton;
@property (nonatomic, retain) IBOutlet UIButton * subtitleSwitcherButton;
@property (nonatomic, retain) IBOutlet UIButton * audioSwitcherButton;
@property (nonatomic, retain) IBOutlet UIView * controllerPanel;
@property (strong, nonatomic) MLFile *mediaItem;
- (IBAction)closePlayback:(id)sender;
- (IBAction)positionSliderAction:(id)sender;
- (IBAction)play:(id)sender;
- (IBAction)backward:(id)sender;
- (IBAction)forward:(id)sender;
- (IBAction)switchAudioTrack:(id)sender;
- (IBAction)switchSubtitleTrack:(id)sender;
@end
......@@ -13,7 +13,7 @@
@end
@implementation VLCMovieViewController
@synthesize movieView=_movieView, tapBarView=_tapBarView, backButton=_backButton, positionSlider=_positionSlider, timeDisplay=_timeDisplay;
@synthesize movieView=_movieView, tapBarView=_tapBarView, backButton=_backButton, positionSlider=_positionSlider, timeDisplay=_timeDisplay, playPauseButton = _playPauseButton, bwdButton = _bwdButton, fwdButton = _fwdButton, subtitleSwitcherButton = _subtitleSwitcherButton, audioSwitcherButton = _audioSwitcherButton, controllerPanel = _controllerPanel;
- (void)dealloc
{
......@@ -103,6 +103,65 @@
self.timeDisplay.title = [[_mediaPlayer remainingTime] stringValue];
}
- (IBAction)play:(id)sender
{
if ([_mediaPlayer isPlaying]) {
[_mediaPlayer pause];
_playPauseButton.titleLabel.text = @"Pse";
} else {
[_mediaPlayer play];
_playPauseButton.titleLabel.text = @"Play";
}
}
- (IBAction)forward:(id)sender
{
[_mediaPlayer mediumJumpForward];
}
- (IBAction)backward:(id)sender
{
[_mediaPlayer mediumJumpBackward];
}
- (IBAction)switchAudioTrack:(id)sender
{
_audiotrackActionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Choose Audio Track", @"audio track selector") delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles: nil];
NSArray * audioTracks = [_mediaPlayer audioTracks];
NSUInteger count = [audioTracks count];
for (NSUInteger i = 1; i < count; i++) // skip the "Disable menu item"
[_audiotrackActionSheet addButtonWithTitle:[audioTracks objectAtIndex:i]];
[_audiotrackActionSheet addButtonWithTitle:NSLocalizedString(@"Cancel", @"audio track selector")];
[_audiotrackActionSheet setCancelButtonIndex:[_audiotrackActionSheet numberOfButtons] - 1];
[_audiotrackActionSheet showFromRect:[self.audioSwitcherButton frame] inView:self.audioSwitcherButton animated:YES];
}
- (IBAction)switchSubtitleTrack:(id)sender
{
_subtitleActionSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"Choose Subtitle Track", @"subtitle track selector") delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles: nil];
NSArray * spuTracks = [_mediaPlayer videoSubTitles];
NSUInteger count = [spuTracks count];
for (NSUInteger i = 0; i < count; i++)
[_subtitleActionSheet addButtonWithTitle:[spuTracks objectAtIndex:i]];
[_subtitleActionSheet addButtonWithTitle:NSLocalizedString(@"Cancel", @"subtitle track selector")];
[_subtitleActionSheet setCancelButtonIndex:[_subtitleActionSheet numberOfButtons] - 1];
[_subtitleActionSheet showFromRect:[self.subtitleSwitcherButton frame] inView:self.subtitleSwitcherButton animated:YES];
}
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {
if (buttonIndex == 0) { // "Cancel" button
APLog(@"action sheet was canceled");
return;
}
if (actionSheet == _subtitleActionSheet) {
_mediaPlayer.currentVideoSubTitleIndex = buttonIndex;
[_subtitleActionSheet release];
} else {
_mediaPlayer.currentAudioTrackIndex = buttonIndex;
[_audiotrackActionSheet release];
}
}
#pragma mark - Split view
- (void)splitViewController:(UISplitViewController *)splitController willHideViewController:(UIViewController *)viewController withBarButtonItem:(UIBarButtonItem *)barButtonItem forPopoverController:(UIPopoverController *)popoverController
......
......@@ -13,6 +13,7 @@
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
<string>IBUIBarButtonItem</string>
<string>IBUIButton</string>
<string>IBUILabel</string>
<string>IBUISlider</string>
<string>IBUIToolbar</string>
......@@ -38,21 +39,31 @@
<reference key="NSNextResponder"/>
<int key="NSvFlags">274</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUIView" id="240213673">
<object class="IBUIView" id="991208409">
<reference key="NSNextResponder" ref="191373211"/>
<int key="NSvFlags">274</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUIToolbar" id="36086402">
<reference key="NSNextResponder" ref="240213673"/>
<string key="NSFrameSize">{320, 548}</string>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIToolbar" id="831191623">
<reference key="NSNextResponder" ref="191373211"/>
<int key="NSvFlags">266</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUISlider" id="1027552655">
<reference key="NSNextResponder" ref="36086402"/>
<object class="IBUISlider" id="334977839">
<reference key="NSNextResponder" ref="831191623"/>
<int key="NSvFlags">290</int>
<string key="NSFrame">{{66, 11}, {194, 23}}</string>
<reference key="NSSuperview" ref="36086402"/>
<reference key="NSSuperview" ref="831191623"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<reference key="NSNextKeyView" ref="644225698"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<string key="NSHuggingPriority">{250, 250}</string>
<bool key="IBUIOpaque">NO</bool>
......@@ -66,57 +77,202 @@
</object>
</array>
<string key="NSFrameSize">{320, 44}</string>
<reference key="NSSuperview" ref="240213673"/>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="1027552655"/>
<reference key="NSNextKeyView" ref="334977839"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<array class="NSMutableArray" key="IBUIItems">
<object class="IBUIBarButtonItem" id="327160518">
<object class="IBUIBarButtonItem" id="717140598">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIStyle">1</int>
<reference key="IBUIToolbar" ref="36086402"/>
<reference key="IBUIToolbar" ref="831191623"/>
<int key="IBUISystemItemIdentifier">0</int>
</object>
<object class="IBUIBarButtonItem" id="80699035">
<object class="IBUIBarButtonItem" id="283005401">
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<reference key="IBUICustomView" ref="1027552655"/>
<reference key="IBUIToolbar" ref="36086402"/>
<reference key="IBUICustomView" ref="334977839"/>
<reference key="IBUIToolbar" ref="831191623"/>
</object>
<object class="IBUIBarButtonItem" id="700695272">
<object class="IBUIBarButtonItem" id="776984111">
<string key="IBUITitle">--:--</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<reference key="IBUIToolbar" ref="36086402"/>
<reference key="IBUIToolbar" ref="831191623"/>
</object>
</array>
</object>
</array>
<string key="NSFrameSize">{320, 550}</string>
<reference key="NSSuperview" ref="191373211"/>
<object class="IBUIView" id="644225698">
<reference key="NSNextResponder" ref="191373211"/>
<int key="NSvFlags">292</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUIButton" id="133336185">
<reference key="NSNextResponder" ref="644225698"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{199, 20}, {54, 44}}</string>
<reference key="NSSuperview" ref="644225698"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="36086402"/>
<reference key="NSNextKeyView" ref="649952457"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor">
<object class="NSColor" key="IBUIBackgroundColor" id="119528819">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MCAwAA</bytes>
</object>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<int key="IBUIButtonType">1</int>
<bool key="IBUIShowsTouchWhenHighlighted">YES</bool>
<string key="IBUINormalTitle">Fwd</string>
<object class="NSColor" key="IBUIHighlightedTitleColor" id="351379376">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
<object class="NSColorSpace" key="NSCustomColorSpace" id="1039919242">
<int key="NSID">2</int>
</object>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<object class="NSColor" key="IBUINormalTitleShadowColor" id="710600961">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC41AA</bytes>
</object>
<object class="IBUIFontDescription" key="IBUIFontDescription" id="838206983">
<int key="type">2</int>
<double key="pointSize">15</double>
</object>
<object class="NSFont" key="IBUIFont" id="389950768">
<string key="NSName">Helvetica-Bold</string>
<double key="NSSize">15</double>
<int key="NSfFlags">16</int>
</object>
</object>
<object class="IBUIButton" id="722825395">
<reference key="NSNextResponder" ref="644225698"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{72, 20}, {56, 44}}</string>
<reference key="NSSuperview" ref="644225698"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="58725604"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<reference key="IBUIBackgroundColor" ref="119528819"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<int key="IBUIButtonType">1</int>
<bool key="IBUIShowsTouchWhenHighlighted">YES</bool>
<string key="IBUINormalTitle">Bwd</string>
<reference key="IBUIHighlightedTitleColor" ref="351379376"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="710600961"/>
<reference key="IBUIFontDescription" ref="838206983"/>
<reference key="IBUIFont" ref="389950768"/>
</object>
<object class="IBUIButton" id="58725604">
<reference key="NSNextResponder" ref="644225698"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{136, 20}, {55, 44}}</string>
<reference key="NSSuperview" ref="644225698"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="133336185"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<reference key="IBUIBackgroundColor" ref="119528819"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<int key="IBUIButtonType">1</int>
<bool key="IBUIShowsTouchWhenHighlighted">YES</bool>
<string key="IBUINormalTitle">Play</string>
<reference key="IBUIHighlightedTitleColor" ref="351379376"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="710600961"/>
<reference key="IBUIFontDescription" ref="838206983"/>
<reference key="IBUIFont" ref="389950768"/>
</object>
<object class="IBUIButton" id="1041366711">
<reference key="NSNextResponder" ref="644225698"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 20}, {44, 44}}</string>
<reference key="NSSuperview" ref="644225698"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="722825395"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<reference key="IBUIBackgroundColor" ref="119528819"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<int key="IBUIButtonType">1</int>
<bool key="IBUIShowsTouchWhenHighlighted">YES</bool>
<string key="IBUINormalTitle">AT</string>
<reference key="IBUIHighlightedTitleColor" ref="351379376"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="710600961"/>
<reference key="IBUIFontDescription" ref="838206983"/>
<reference key="IBUIFont" ref="389950768"/>
</object>
<object class="IBUIButton" id="649952457">
<reference key="NSNextResponder" ref="644225698"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{261, 20}, {44, 44}}</string>
<reference key="NSSuperview" ref="644225698"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="991208409"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<reference key="IBUIBackgroundColor" ref="119528819"/>
<bool key="IBUIOpaque">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIContentHorizontalAlignment">0</int>
<int key="IBUIContentVerticalAlignment">0</int>
<int key="IBUIButtonType">1</int>
<bool key="IBUIShowsTouchWhenHighlighted">YES</bool>
<string key="IBUINormalTitle">ST</string>
<reference key="IBUIHighlightedTitleColor" ref="351379376"/>
<object class="NSColor" key="IBUINormalTitleColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA</bytes>
</object>
<reference key="IBUINormalTitleShadowColor" ref="710600961"/>
<reference key="IBUIFontDescription" ref="838206983"/>
<reference key="IBUIFont" ref="389950768"/>
</object>
</array>
<string key="NSFrame">{{-2, 298}, {325, 83}}</string>
<reference key="NSSuperview" ref="191373211"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="1041366711"/>
<string key="NSReuseIdentifierKey">_NS:10</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes>
</object>
<float key="IBUIAlpha">0.69999998807907104</float>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</array>
<string key="NSFrame">{{0, 20}, {320, 548}}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="240213673"/>
<reference key="NSNextKeyView" ref="831191623"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MQA</bytes>
<reference key="NSCustomColorSpace" ref="1039919242"/>
<object class="NSColorSpace" key="NSCustomColorSpace">
<int key="NSID">2</int>
</object>
</object>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
<int key="IBUIStatusBarStyle">1</int>
......@@ -184,58 +340,151 @@
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">movieView</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="240213673"/>
<reference key="destination" ref="991208409"/>
</object>
<int key="connectionID">22</int>
<int key="connectionID">93</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">tapBarView</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="36086402"/>
<reference key="destination" ref="831191623"/>
</object>
<int key="connectionID">46</int>
<int key="connectionID">94</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">positionSlider</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="1027552655"/>
<reference key="destination" ref="334977839"/>
</object>
<int key="connectionID">95</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">backButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="717140598"/>
</object>
<int key="connectionID">48</int>
<int key="connectionID">96</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">timeDisplay</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="700695272"/>
<reference key="destination" ref="776984111"/>
</object>
<int key="connectionID">49</int>
<int key="connectionID">97</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">backButton</string>
<string key="label">audioSwitcherButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="1041366711"/>
</object>
<int key="connectionID">98</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">bwdButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="722825395"/>
</object>
<int key="connectionID">100</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">playPauseButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="327160518"/>
<reference key="destination" ref="58725604"/>
</object>
<int key="connectionID">51</int>
<int key="connectionID">101</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">fwdButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="133336185"/>
</object>
<int key="connectionID">102</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">subtitleSwitcherButton</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="649952457"/>
</object>
<int key="connectionID">103</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">controllerPanel</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="644225698"/>
</object>
<int key="connectionID">104</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">switchSubtitleTrack:</string>
<reference key="source" ref="649952457"/>
<reference key="destination" ref="372490531"/>
<int key="IBEventType">7</int>
</object>
<int key="connectionID">79</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">forward:</string>
<reference key="source" ref="133336185"/>
<reference key="destination" ref="372490531"/>
<int key="IBEventType">7</int>
</object>
<int key="connectionID">81</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">play:</string>
<reference key="source" ref="58725604"/>
<reference key="destination" ref="372490531"/>
<int key="IBEventType">7</int>
</object>
<int key="connectionID">82</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">backward:</string>
<reference key="source" ref="722825395"/>
<reference key="destination" ref="372490531"/>
<int key="IBEventType">7</int>
</object>
<int key="connectionID">80</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">switchAudioTrack:</string>
<reference key="source" ref="1041366711"/>
<reference key="destination" ref="372490531"/>
<int key="IBEventType">7</int>
</object>
<int key="connectionID">83</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">closePlayback:</string>
<reference key="source" ref="327160518"/>
<reference key="source" ref="717140598"/>
<reference key="destination" ref="372490531"/>
</object>
<int key="connectionID">47</int>
<int key="connectionID">89</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchEventConnection" key="connection">
<string key="label">positionSliderAction:</string>
<reference key="source" ref="1027552655"/>
<reference key="source" ref="334977839"/>
<reference key="destination" ref="372490531"/>
<int key="IBEventType">13</int>
</object>
<int key="connectionID">50</int>
<int key="connectionID">90</int>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
......@@ -250,7 +499,9 @@
<int key="objectID">1</int>
<reference key="object" ref="191373211"/>
<array class="NSMutableArray" key="children">
<reference ref="240213673"/>
<reference ref="831191623"/>
<reference ref="991208409"/>
<reference ref="644225698"/>
</array>
<reference key="parent" ref="0"/>
</object>
......@@ -271,45 +522,79 @@
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">13</int>
<reference key="object" ref="240213673"/>
<int key="objectID">84</int>
<reference key="object" ref="831191623"/>
<array class="NSMutableArray" key="children">
<reference ref="36086402"/>
<reference ref="717140598"/>
<reference ref="776984111"/>
<reference ref="283005401"/>
</array>
<reference key="parent" ref="191373211"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">32</int>
<reference key="object" ref="36086402"/>
<int key="objectID">85</int>
<reference key="object" ref="717140598"/>
<reference key="parent" ref="831191623"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">86</int>
<reference key="object" ref="776984111"/>
<reference key="parent" ref="831191623"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">87</int>
<reference key="object" ref="283005401"/>
<array class="NSMutableArray" key="children">
<reference ref="327160518"/>
<reference ref="700695272"/>
<reference ref="80699035"/>
<reference ref="334977839"/>
</array>
<reference key="parent" ref="240213673"/>
<reference key="parent" ref="831191623"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">33</int>
<reference key="object" ref="327160518"/>
<reference key="parent" ref="36086402"/>
<int key="objectID">88</int>
<reference key="object" ref="334977839"/>
<reference key="parent" ref="283005401"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">41</int>
<reference key="object" ref="700695272"/>
<reference key="parent" ref="36086402"/>
<int key="objectID">91</int>
<reference key="object" ref="991208409"/>
<reference key="parent" ref="191373211"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">45</int>
<reference key="object" ref="80699035"/>
<int key="objectID">92</int>
<reference key="object" ref="644225698"/>
<array class="NSMutableArray" key="children">
<reference ref="1027552655"/>
<reference ref="649952457"/>
<reference ref="1041366711"/>
<reference ref="58725604"/>
<reference ref="722825395"/>
<reference ref="133336185"/>
</array>
<reference key="parent" ref="36086402"/>
<reference key="parent" ref="191373211"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">75</int>
<reference key="object" ref="133336185"/>
<reference key="parent" ref="644225698"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">77</int>
<reference key="object" ref="722825395"/>
<reference key="parent" ref="644225698"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">44</int>
<reference key="object" ref="1027552655"/>
<reference key="parent" ref="80699035"/>
<int key="objectID">76</int>
<reference key="object" ref="58725604"/>
<reference key="parent" ref="644225698"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">78</int>
<reference key="object" ref="1041366711"/>
<reference key="parent" ref="644225698"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">74</int>
<reference key="object" ref="649952457"/>
<reference key="parent" ref="644225698"/>
</object>
</array>
</object>
......@@ -320,19 +605,25 @@
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="12.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key=