Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
3ebe48b9
Commit
3ebe48b9
authored
May 19, 2013
by
Felix Paul Kühne
Browse files
switch from tab bar add the bottom to a popover (close #8663)
proper design still to do
parent
9f6dc0b9
Changes
14
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCAboutViewController.m
View file @
3ebe48b9
...
...
@@ -25,6 +25,7 @@
{
[
super
viewDidLoad
];
self
.
dismissButton
.
title
=
NSLocalizedString
(
@"BUTTON_DONE"
,
@""
);
self
.
textContents
.
text
=
[
NSString
stringWithContentsOfFile
:[[
NSBundle
mainBundle
]
pathForResource
:
@"About Contents"
ofType
:
@"txt"
]
encoding
:
NSUTF8StringEncoding
error
:
nil
];
self
.
aspenVersion
.
text
=
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"VERSION_FORMAT"
,
@""
),
[[
NSBundle
mainBundle
]
objectForInfoDictionaryKey
:
@"CFBundleVersion"
]];
self
.
vlckitVersion
.
text
=
[
NSString
stringWithFormat
:
NSLocalizedString
(
@"BASED_ON_FORMAT"
,
@""
),[[
VLCLibrary
sharedLibrary
]
version
]];
...
...
AspenProject/VLCAddMediaViewController.h
0 → 100644
View file @
3ebe48b9
//
// VLCAddMediaViewController.h
// VLC for iOS
//
// Created by Felix Paul Kühne on 19.05.13.
// Copyright (c) 2013 VideoLAN. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface
VLCAddMediaViewController
:
UIViewController
{
NSURL
*
_pasteURL
;
}
@property
(
strong
,
nonatomic
)
IBOutlet
UIButton
*
dismissButton
;
@property
(
strong
,
nonatomic
)
IBOutlet
UIButton
*
aboutButton
;
@property
(
strong
,
nonatomic
)
IBOutlet
UIButton
*
openNetworkStreamButton
;
@property
(
strong
,
nonatomic
)
IBOutlet
UIButton
*
downloadFromHTTPServerButton
;
-
(
IBAction
)
openAboutPanel
:(
id
)
sender
;
-
(
IBAction
)
openNetworkStream
:(
id
)
sender
;
-
(
IBAction
)
downloadFromHTTPServer
:(
id
)
sender
;
@end
AspenProject/VLCAddMediaViewController.m
0 → 100644
View file @
3ebe48b9
//
// VLCAddMediaViewController.m
// VLC for iOS
//
// Created by Felix Paul Kühne on 19.05.13.
// Copyright (c) 2013 VideoLAN. All rights reserved.
//
#import "VLCAddMediaViewController.h"
#import "VLCAppDelegate.h"
#import "VLCPlaylistViewController.h"
#import "VLCAboutViewController.h"
#import "VLCMovieViewController.h"
@interface
VLCAddMediaViewController
()
@end
@implementation
VLCAddMediaViewController
-
(
id
)
initWithNibName
:(
NSString
*
)
nibNameOrNil
bundle
:(
NSBundle
*
)
nibBundleOrNil
{
self
=
[
super
initWithNibName
:
nibNameOrNil
bundle
:
nibBundleOrNil
];
return
self
;
}
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPhone
)
self
.
dismissButton
.
titleLabel
.
text
=
NSLocalizedString
(
@"BUTTON_DONE"
,
@""
);
self
.
aboutButton
.
titleLabel
.
text
=
NSLocalizedString
(
@"ABOUT_APP"
,
@""
);
self
.
openNetworkStreamButton
.
titleLabel
.
text
=
NSLocalizedString
(
@"OPEN_NETWORK"
,
@""
);
self
.
downloadFromHTTPServerButton
.
titleLabel
.
text
=
NSLocalizedString
(
@"DOWNLOAD_FROM_HTTP"
,
@""
);
}
-
(
void
)
viewWillAppear
:(
BOOL
)
animated
{
[
super
viewWillAppear
:
animated
];
}
-
(
void
)
_hideAnimated
:(
BOOL
)
animated
{
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPad
)
{
VLCAppDelegate
*
appDelegate
=
[
UIApplication
sharedApplication
].
delegate
;
[
appDelegate
.
playlistViewController
.
addMediaPopoverController
dismissPopoverAnimated
:
YES
];
}
else
[
self
dismissViewControllerAnimated
:
animated
completion
:
NULL
];
}
-
(
IBAction
)
dismiss
:(
id
)
sender
{
[
self
_hideAnimated
:
YES
];
}
-
(
void
)
openAboutPanel
:(
id
)
sender
{
VLCAppDelegate
*
appDelegate
=
[
UIApplication
sharedApplication
].
delegate
;
if
(
!
appDelegate
.
playlistViewController
.
aboutViewController
)
appDelegate
.
playlistViewController
.
aboutViewController
=
[[
VLCAboutViewController
alloc
]
initWithNibName
:
@"VLCAboutViewController"
bundle
:
nil
];
[
appDelegate
.
playlistViewController
.
navigationController
pushViewController
:
appDelegate
.
playlistViewController
.
aboutViewController
animated
:
YES
];
[
self
_hideAnimated
:
NO
];
}
-
(
void
)
openNetworkStream
:(
id
)
sender
{
if
([[
UIPasteboard
generalPasteboard
]
containsPasteboardTypes
:[
NSArray
arrayWithObjects
:
@"public.url"
,
@"public.text"
,
nil
]])
{
_pasteURL
=
[[
UIPasteboard
generalPasteboard
]
valueForPasteboardType
:
@"public.url"
];
if
(
!
_pasteURL
||
[[
_pasteURL
absoluteString
]
isEqualToString
:
@""
])
{
NSString
*
pasteString
=
[[
UIPasteboard
generalPasteboard
]
valueForPasteboardType
:
@"public.text"
];
_pasteURL
=
[
NSURL
URLWithString
:
pasteString
];
}
if
(
_pasteURL
&&
!
[[
_pasteURL
scheme
]
isEqualToString
:
@""
]
&&
!
[[
_pasteURL
absoluteString
]
isEqualToString
:
@""
])
{
NSString
*
messageString
=
[
NSString
stringWithFormat
:
@"Do you want to open %@?"
,
[
_pasteURL
absoluteString
]];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
NSLocalizedString
(
@"OPEN_URL"
,
@""
)
message
:
messageString
delegate
:
self
cancelButtonTitle
:
NSLocalizedString
(
@"BUTTON_CANCEL"
,
@""
)
otherButtonTitles
:
NSLocalizedString
(
@"BUTTON_OPEN"
,
@""
),
nil
];
[
alert
show
];
}
}
}
-
(
void
)
alertView
:(
UIAlertView
*
)
alertView
clickedButtonAtIndex
:(
NSInteger
)
buttonIndex
{
if
(
buttonIndex
==
1
)
{
VLCAppDelegate
*
appDelegate
=
[
UIApplication
sharedApplication
].
delegate
;
[
appDelegate
.
playlistViewController
openMovieFromURL
:
_pasteURL
];
}
[
self
_hideAnimated
:
NO
];
}
-
(
void
)
downloadFromHTTPServer
:(
id
)
sender
{
//TODO
}
@end
AspenProject/VLCPlaylistViewController.h
View file @
3ebe48b9
...
...
@@ -12,10 +12,10 @@
@class
VLCMovieViewController
;
@class
VLCAboutViewController
;
@class
VLCPasscodeLockViewController
;
@class
VLCAddMediaViewController
;
@interface
VLCPlaylistViewController
:
UIViewController
<
AQGridViewDataSource
,
AQGridViewDelegate
,
UITableViewDataSource
,
UITableViewDelegate
,
UITabBarDelegate
>
@interface
VLCPlaylistViewController
:
UIViewController
<
AQGridViewDataSource
,
AQGridViewDelegate
,
UITableViewDataSource
,
UITableViewDelegate
,
UITabBarDelegate
,
UIPopoverControllerDelegate
>
{
NSURL
*
_pasteURL
;
BOOL
_editMode
;
}
...
...
@@ -25,18 +25,19 @@
@property
(
nonatomic
,
strong
)
VLCMovieViewController
*
movieViewController
;
@property
(
nonatomic
,
strong
)
VLCAboutViewController
*
aboutViewController
;
@property
(
nonatomic
,
strong
)
VLCPasscodeLockViewController
*
passcodeLockViewController
;
@property
(
nonatomic
,
strong
)
VLCAddMediaViewController
*
addMediaViewController
;
@property
(
nonatomic
,
strong
)
UIPopoverController
*
addMediaPopoverController
;
@property
(
nonatomic
,
strong
)
IBOutlet
UITableView
*
tableView
;
@property
(
nonatomic
,
strong
)
IBOutlet
AQGridView
*
gridView
;
@property
(
nonatomic
,
strong
)
IBOutlet
UITabBar
*
tabBar
;
@property
(
nonatomic
,
strong
)
IBOutlet
UITabBarItem
*
localFilesBarItem
;
@property
(
nonatomic
,
strong
)
IBOutlet
UITabBarItem
*
networkStreamsBarItem
;
@property
(
nonatomic
,
strong
)
IBOutlet
UIView
*
emptyLibraryView
;
@property
(
nonatomic
,
strong
)
IBOutlet
UILabel
*
emptyLibraryLabel
;
@property
(
nonatomic
,
strong
)
IBOutlet
UILabel
*
emptyLibraryLongDescriptionLabel
;
-
(
IBAction
)
leftButtonAction
:(
id
)
sender
;
-
(
void
)
validatePasscode
;
-
(
void
)
updateViewContents
;
-
(
void
)
openMovieFromURL
:(
NSURL
*
)
url
;
...
...
AspenProject/VLCPlaylistViewController.m
View file @
3ebe48b9
...
...
@@ -12,6 +12,7 @@
#import "VLCPlaylistGridView.h"
#import "VLCAboutViewController.h"
#import "VLCPasscodeLockViewController.h"
#import "VLCAddMediaViewController.h"
@interface
VLCPlaylistViewController
()
{
NSMutableArray
*
_foundMedia
;
...
...
@@ -35,7 +36,7 @@
self
.
tableView
.
separatorColor
=
[
UIColor
colorWithWhite
:.
2
alpha
:
1
.];
[
super
viewDidLoad
];
UIBarButtonItem
*
addButton
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"BUTTON_A
BOUT
"
,
@""
)
style
:
UIBarButtonItemStyleBordered
target
:
self
action
:
@selector
(
showAboutView
:
)];
UIBarButtonItem
*
addButton
=
[[
UIBarButtonItem
alloc
]
initWithTitle
:
NSLocalizedString
(
@"BUTTON_A
DD_MEDIA
"
,
@""
)
style
:
UIBarButtonItemStyleBordered
target
:
self
action
:
@selector
(
leftButtonAction
:
)];
self
.
navigationItem
.
leftBarButtonItem
=
addButton
;
self
.
navigationItem
.
rightBarButtonItem
=
self
.
editButtonItem
;
...
...
@@ -46,9 +47,6 @@
_gridView
.
indicatorStyle
=
UIScrollViewIndicatorStyleWhite
;
}
self
.
tabBar
.
selectedItem
=
self
.
localFilesBarItem
;
self
.
networkStreamsBarItem
.
title
=
NSLocalizedString
(
@"TABBAR_NETWORK"
,
@""
);
self
.
emptyLibraryLabel
.
text
=
NSLocalizedString
(
@"EMPTY_LIBRARY"
,
@""
);
self
.
emptyLibraryLongDescriptionLabel
.
lineBreakMode
=
UILineBreakModeWordWrap
;
self
.
emptyLibraryLongDescriptionLabel
.
numberOfLines
=
0
;
...
...
@@ -248,11 +246,26 @@
}
}
-
(
void
)
showAboutView
:(
id
)
sender
-
(
IBAction
)
leftButtonAction
:(
id
)
sender
{
if
(
!
self
.
aboutViewController
)
self
.
aboutViewController
=
[[
VLCAboutViewController
alloc
]
initWithNibName
:
@"VLCAboutViewController"
bundle
:
nil
];
[
self
.
navigationController
pushViewController
:
self
.
aboutViewController
animated
:
YES
];
if
(
self
.
addMediaViewController
==
nil
)
self
.
addMediaViewController
=
[[
VLCAddMediaViewController
alloc
]
initWithNibName
:
@"VLCAddMediaViewController"
bundle
:
nil
];
if
(
UI_USER_INTERFACE_IDIOM
()
==
UIUserInterfaceIdiomPad
)
{
self
.
addMediaViewController
.
contentSizeForViewInPopover
=
self
.
addMediaViewController
.
view
.
frame
.
size
;
if
(
self
.
addMediaPopoverController
==
nil
)
{
self
.
addMediaPopoverController
=
[[
UIPopoverController
alloc
]
initWithContentViewController
:
self
.
addMediaViewController
];
self
.
addMediaPopoverController
.
delegate
=
self
;
}
if
(
self
.
addMediaPopoverController
.
popoverVisible
)
[
self
.
addMediaPopoverController
dismissPopoverAnimated
:
YES
];
else
[
self
.
addMediaPopoverController
presentPopoverFromBarButtonItem
:
self
.
navigationItem
.
leftBarButtonItem
permittedArrowDirections:
UIPopoverArrowDirectionUp
animated:
YES
];
}
else
[
self
.
navigationController
presentViewController
:
self
.
addMediaViewController
animated
:
YES
completion
:
NULL
];
}
/* deprecated in iOS 6 */
...
...
@@ -280,33 +293,7 @@
return
NO
;
}
#pragma mark - tab bar
-
(
void
)
tabBar
:(
UITabBar
*
)
tabBar
didSelectItem
:(
UITabBarItem
*
)
item
{
if
(
item
==
self
.
networkStreamsBarItem
)
{
if
([[
UIPasteboard
generalPasteboard
]
containsPasteboardTypes
:[
NSArray
arrayWithObjects
:
@"public.url"
,
@"public.text"
,
nil
]])
{
_pasteURL
=
[[
UIPasteboard
generalPasteboard
]
valueForPasteboardType
:
@"public.url"
];
if
(
!
_pasteURL
||
[[
_pasteURL
absoluteString
]
isEqualToString
:
@""
])
{
NSString
*
pasteString
=
[[
UIPasteboard
generalPasteboard
]
valueForPasteboardType
:
@"public.text"
];
_pasteURL
=
[
NSURL
URLWithString
:
pasteString
];
}
if
(
_pasteURL
&&
!
[[
_pasteURL
scheme
]
isEqualToString
:
@""
]
&&
!
[[
_pasteURL
absoluteString
]
isEqualToString
:
@""
])
{
NSString
*
messageString
=
[
NSString
stringWithFormat
:
@"Do you want to open %@?"
,
[
_pasteURL
absoluteString
]];
UIAlertView
*
alert
=
[[
UIAlertView
alloc
]
initWithTitle
:
NSLocalizedString
(
@"OPEN_URL"
,
@""
)
message
:
messageString
delegate
:
self
cancelButtonTitle
:
NSLocalizedString
(
@"BUTTON_CANCEL"
,
@""
)
otherButtonTitles
:
NSLocalizedString
(
@"BUTTON_OPEN"
,
@""
),
nil
];
[
alert
show
];
}
}
}
self
.
tabBar
.
selectedItem
=
self
.
localFilesBarItem
;
}
-
(
void
)
alertView
:(
UIAlertView
*
)
alertView
clickedButtonAtIndex
:(
NSInteger
)
buttonIndex
{
if
(
buttonIndex
==
1
)
[
self
openMovieFromURL
:
_pasteURL
];
}
#pragma mark - coin coin
-
(
void
)
openMovieFromURL
:(
NSURL
*
)
url
{
...
...
@@ -317,4 +304,5 @@
[
self
.
navigationController
pushViewController
:
self
.
movieViewController
animated
:
YES
];
}
@end
Resources/VLCAddMediaViewController~ipad.xib
0 → 100644
View file @
3ebe48b9
<?xml version="1.0" encoding="UTF-8"?>
<archive
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"8.00"
>
<data>
<int
key=
"IBDocument.SystemTarget"
>
1296
</int>
<string
key=
"IBDocument.SystemVersion"
>
12E52
</string>
<string
key=
"IBDocument.InterfaceBuilderVersion"
>
3084
</string>
<string
key=
"IBDocument.AppKitVersion"
>
1187.39
</string>
<string
key=
"IBDocument.HIToolboxVersion"
>
626.00
</string>
<object
class=
"NSMutableDictionary"
key=
"IBDocument.PluginVersions"
>
<string
key=
"NS.key.0"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
<string
key=
"NS.object.0"
>
2083
</string>
</object>
<array
key=
"IBDocument.IntegratedClassDependencies"
>
<string>
IBProxyObject
</string>
<string>
IBUIButton
</string>
<string>
IBUIView
</string>
</array>
<array
key=
"IBDocument.PluginDependencies"
>
<string>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
</array>
<object
class=
"NSMutableDictionary"
key=
"IBDocument.Metadata"
>
<string
key=
"NS.key.0"
>
PluginDependencyRecalculationVersion
</string>
<integer
value=
"1"
key=
"NS.object.0"
/>
</object>
<array
class=
"NSMutableArray"
key=
"IBDocument.RootObjects"
id=
"1000"
>
<object
class=
"IBProxyObject"
id=
"372490531"
>
<string
key=
"IBProxiedObjectIdentifier"
>
IBFilesOwner
</string>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
</object>
<object
class=
"IBProxyObject"
id=
"975951072"
>
<string
key=
"IBProxiedObjectIdentifier"
>
IBFirstResponder
</string>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
</object>
<object
class=
"IBUIView"
id=
"892317093"
>
<reference
key=
"NSNextResponder"
/>
<int
key=
"NSvFlags"
>
292
</int>
<array
class=
"NSMutableArray"
key=
"NSSubviews"
>
<object
class=
"IBUIButton"
id=
"233942944"
>
<reference
key=
"NSNextResponder"
ref=
"892317093"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrameSize"
>
{320, 60}
</string>
<reference
key=
"NSSuperview"
ref=
"892317093"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<object
class=
"NSColor"
key=
"IBUIBackgroundColor"
id=
"937037271"
>
<int
key=
"NSColorSpace"
>
3
</int>
<bytes
key=
"NSWhite"
>
MC42NjY2NjY2NjY3AA
</bytes>
</object>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<int
key=
"IBUIContentHorizontalAlignment"
>
0
</int>
<int
key=
"IBUIContentVerticalAlignment"
>
0
</int>
<string
key=
"IBUINormalTitle"
>
Open Network Stream
</string>
<object
class=
"NSColor"
key=
"IBUIHighlightedTitleColor"
id=
"878206399"
>
<int
key=
"NSColorSpace"
>
3
</int>
<bytes
key=
"NSWhite"
>
MQA
</bytes>
</object>
<object
class=
"NSColor"
key=
"IBUINormalTitleColor"
>
<int
key=
"NSColorSpace"
>
1
</int>
<bytes
key=
"NSRGB"
>
MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA
</bytes>
</object>
<object
class=
"NSColor"
key=
"IBUINormalTitleShadowColor"
id=
"1025413593"
>
<int
key=
"NSColorSpace"
>
3
</int>
<bytes
key=
"NSWhite"
>
MC41AA
</bytes>
</object>
<object
class=
"IBUIFontDescription"
key=
"IBUIFontDescription"
id=
"886215057"
>
<int
key=
"type"
>
2
</int>
<double
key=
"pointSize"
>
15
</double>
</object>
<object
class=
"NSFont"
key=
"IBUIFont"
id=
"327024238"
>
<string
key=
"NSName"
>
Helvetica-Bold
</string>
<double
key=
"NSSize"
>
15
</double>
<int
key=
"NSfFlags"
>
16
</int>
</object>
</object>
<object
class=
"IBUIButton"
id=
"306241553"
>
<reference
key=
"NSNextResponder"
ref=
"892317093"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{0, 68}, {320, 60}}
</string>
<reference
key=
"NSSuperview"
ref=
"892317093"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<reference
key=
"IBUIBackgroundColor"
ref=
"937037271"
/>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<bool
key=
"IBUIEnabled"
>
NO
</bool>
<int
key=
"IBUIContentHorizontalAlignment"
>
0
</int>
<int
key=
"IBUIContentVerticalAlignment"
>
0
</int>
<string
key=
"IBUINormalTitle"
>
Download from HTTP Server
</string>
<reference
key=
"IBUIHighlightedTitleColor"
ref=
"878206399"
/>
<object
class=
"NSColor"
key=
"IBUINormalTitleColor"
>
<int
key=
"NSColorSpace"
>
1
</int>
<bytes
key=
"NSRGB"
>
MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA
</bytes>
</object>
<reference
key=
"IBUINormalTitleShadowColor"
ref=
"1025413593"
/>
<reference
key=
"IBUIFontDescription"
ref=
"886215057"
/>
<reference
key=
"IBUIFont"
ref=
"327024238"
/>
</object>
<object
class=
"IBUIButton"
id=
"1021636329"
>
<reference
key=
"NSNextResponder"
ref=
"892317093"
/>
<int
key=
"NSvFlags"
>
292
</int>
<string
key=
"NSFrame"
>
{{0, 136}, {320, 60}}
</string>
<reference
key=
"NSSuperview"
ref=
"892317093"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<reference
key=
"IBUIBackgroundColor"
ref=
"937037271"
/>
<bool
key=
"IBUIOpaque"
>
NO
</bool>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<int
key=
"IBUIContentHorizontalAlignment"
>
0
</int>
<int
key=
"IBUIContentVerticalAlignment"
>
0
</int>
<string
key=
"IBUINormalTitle"
>
About VLC for iOS
</string>
<reference
key=
"IBUIHighlightedTitleColor"
ref=
"878206399"
/>
<object
class=
"NSColor"
key=
"IBUINormalTitleColor"
>
<int
key=
"NSColorSpace"
>
1
</int>
<bytes
key=
"NSRGB"
>
MC4xOTYwNzg0MzQ2IDAuMzA5ODAzOTMyOSAwLjUyMTU2ODY1NgA
</bytes>
</object>
<reference
key=
"IBUINormalTitleShadowColor"
ref=
"1025413593"
/>
<reference
key=
"IBUIFontDescription"
ref=
"886215057"
/>
<reference
key=
"IBUIFont"
ref=
"327024238"
/>
</object>
</array>
<string
key=
"NSFrameSize"
>
{320, 196}
</string>
<reference
key=
"NSSuperview"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"233942944"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
<object
class=
"NSColor"
key=
"IBUIBackgroundColor"
>
<int
key=
"NSColorSpace"
>
3
</int>
<bytes
key=
"NSWhite"
>
MAA
</bytes>
</object>
<object
class=
"IBUISimulatedSizeMetrics"
key=
"IBUISimulatedDestinationMetrics"
>
<string
key=
"IBUISimulatedSizeMetricsClass"
>
IBUISimulatedFreeformSizeMetricsSentinel
</string>
<string
key=
"IBUIDisplayName"
>
Freeform
</string>
</object>
<string
key=
"targetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
</object>
</array>
<object
class=
"IBObjectContainer"
key=
"IBDocument.Objects"
>
<array
class=
"NSMutableArray"
key=
"connectionRecords"
>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
view
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"892317093"
/>
</object>
<int
key=
"connectionID"
>
5
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
aboutButton
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"1021636329"
/>
</object>
<int
key=
"connectionID"
>
38
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
downloadFromHTTPServerButton
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"306241553"
/>
</object>
<int
key=
"connectionID"
>
39
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchOutletConnection"
key=
"connection"
>
<string
key=
"label"
>
openNetworkStreamButton
</string>
<reference
key=
"source"
ref=
"372490531"
/>
<reference
key=
"destination"
ref=
"233942944"
/>
</object>
<int
key=
"connectionID"
>
41
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
openNetworkStream:
</string>
<reference
key=
"source"
ref=
"233942944"
/>
<reference
key=
"destination"
ref=
"372490531"
/>
<int
key=
"IBEventType"
>
7
</int>
</object>
<int
key=
"connectionID"
>
36
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
downloadFromHTTPServer:
</string>
<reference
key=
"source"
ref=
"306241553"
/>
<reference
key=
"destination"
ref=
"372490531"
/>
<int
key=
"IBEventType"
>
7
</int>
</object>
<int
key=
"connectionID"
>
40
</int>
</object>
<object
class=
"IBConnectionRecord"
>
<object
class=
"IBCocoaTouchEventConnection"
key=
"connection"
>
<string
key=
"label"
>
openAboutPanel:
</string>
<reference
key=
"source"
ref=
"1021636329"
/>
<reference
key=
"destination"
ref=
"372490531"
/>
<int
key=
"IBEventType"
>
7
</int>
</object>
<int
key=
"connectionID"
>
37
</int>
</object>
</array>
<object
class=
"IBMutableOrderedSet"
key=
"objectRecords"
>
<array
key=
"orderedObjects"
>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
0
</int>
<array
key=
"object"
id=
"0"
/>
<reference
key=
"children"
ref=
"1000"
/>
<nil
key=
"parent"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
-1
</int>
<reference
key=
"object"
ref=
"372490531"
/>
<reference
key=
"parent"
ref=
"0"
/>
<string
key=
"objectName"
>
File's Owner
</string>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
-2
</int>
<reference
key=
"object"
ref=
"975951072"
/>
<reference
key=
"parent"
ref=
"0"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
4
</int>
<reference
key=
"object"
ref=
"892317093"
/>
<array
class=
"NSMutableArray"
key=
"children"
>
<reference
ref=
"233942944"
/>
<reference
ref=
"306241553"
/>
<reference
ref=
"1021636329"
/>
</array>
<reference
key=
"parent"
ref=
"0"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
26
</int>
<reference
key=
"object"
ref=
"233942944"
/>
<array
class=
"NSMutableArray"
key=
"children"
/>
<reference
key=
"parent"
ref=
"892317093"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
34
</int>
<reference
key=
"object"
ref=
"306241553"
/>
<reference
key=
"parent"
ref=
"892317093"
/>
</object>
<object
class=
"IBObjectRecord"
>
<int
key=
"objectID"
>
35
</int>
<reference
key=
"object"
ref=
"1021636329"
/>
<reference
key=
"parent"
ref=
"892317093"
/>
</object>
</array>
</object>
<dictionary
class=
"NSMutableDictionary"
key=
"flattenedProperties"
>
<string
key=
"-1.CustomClassName"
>
VLCAddMediaViewController
</string>
<string
key=
"-1.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
<string
key=
"-2.CustomClassName"
>
UIResponder
</string>
<string
key=
"-2.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
<string
key=
"26.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
<string
key=
"34.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
<string
key=
"35.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
<string
key=
"4.IBPluginDependency"
>
com.apple.InterfaceBuilder.IBCocoaTouchPlugin
</string>
</dictionary>
<dictionary
class=
"NSMutableDictionary"
key=
"unlocalizedProperties"
/>
<nil
key=
"activeLocalization"
/>
<dictionary
class=
"NSMutableDictionary"
key=
"localizations"
/>
<nil
key=
"sourceID"
/>
<int
key=
"maxID"
>
41
</int>
</object>
<object
class=
"IBClassDescriber"
key=
"IBDocument.Classes"
>
<array
class=
"NSMutableArray"
key=
"referencedPartialClassDescriptions"
>
<object
class=
"IBPartialClassDescription"
>
<string
key=
"className"
>
VLCAddMediaViewController
</string>
<string
key=
"superclassName"
>
UIViewController
</string>
<dictionary
class=
"NSMutableDictionary"
key=
"actions"
>
<string
key=
"downloadFromHTTPServer:"
>
id
</string>
<string
key=
"openAboutPanel:"
>
id
</string>
<string
key=
"openNetworkStream:"
>
id
</string>
</dictionary>
<dictionary
class=
"NSMutableDictionary"
key=
"actionInfosByName"
>
<object
class=
"IBActionInfo"
key=
"downloadFromHTTPServer:"
>
<string
key=
"name"
>
downloadFromHTTPServer:
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBActionInfo"
key=
"openAboutPanel:"
>
<string
key=
"name"
>
openAboutPanel:
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
<object
class=
"IBActionInfo"
key=
"openNetworkStream:"
>
<string
key=
"name"
>
openNetworkStream:
</string>
<string
key=
"candidateClassName"
>
id
</string>
</object>
</dictionary>
<dictionary
class=
"NSMutableDictionary"
key=
"outlets"
>
<string
key=
"aboutButton"
>
UIButton
</string>
<string
key=
"downloadFromHTTPServerButton"
>
UIButton
</string>
<string
key=
"openNetworkStreamButton"
>
UIButton
</string>
</dictionary>
<dictionary
class=
"NSMutableDictionary"
key=
"toOneOutletInfosByName"
>
<object
class=
"IBToOneOutletInfo"
key=
"aboutButton"
>
<string
key=
"name"
>
aboutButton
</string>
<string
key=
"candidateClassName"
>
UIButton
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"downloadFromHTTPServerButton"
>
<string
key=
"name"
>
downloadFromHTTPServerButton
</string>
<string
key=
"candidateClassName"
>
UIButton
</string>
</object>
<object
class=
"IBToOneOutletInfo"
key=
"openNetworkStreamButton"
>
<string
key=
"name"
>
openNetworkStreamButton
</string>
<string
key=
"candidateClassName"
>
UIButton
</string>
</object>
</dictionary>
<object
class=
"IBClassDescriptionSource"
key=
"sourceIdentifier"
>
<string
key=
"majorKey"
>
IBProjectSource
</string>
<string
key=
"minorKey"
>
./Classes/VLCAddMediaViewController.h
</string>
</object>
</object>
</array>
</object>
<int
key=
"IBDocument.localizationMode"
>
0
</int>
<string
key=
"IBDocument.TargetRuntimeIdentifier"
>
IBCocoaTouchFramework
</string>
<object
class=
"NSMutableDictionary"
key=
"IBDocument.PluginDeclaredDependencies"
>
<string
key=
"NS.key.0"
>
com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS
</string>
<real
value=
"1296"
key=
"NS.object.0"
/>