Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
077e9699
Commit
077e9699
authored
Oct 20, 2015
by
Felix Paul Kühne
Browse files
ATV: deploy VPDC
parent
37555f9f
Changes
4
Hide whitespace changes
Inline
Side-by-side
VLC for Apple TV/AppDelegate.h
View file @
077e9699
...
...
@@ -11,9 +11,12 @@
#import <UIKit/UIKit.h>
@class
VLCPlayerDisplayController
;
@interface
AppDelegate
:
UIResponder
<
UIApplicationDelegate
>
@property
(
strong
,
nonatomic
)
UIWindow
*
window
;
@property
(
nonatomic
,
readonly
)
VLCPlayerDisplayController
*
playerDisplayController
;
@end
VLC for Apple TV/AppDelegate.m
View file @
077e9699
...
...
@@ -13,6 +13,7 @@
#import "VLCAppSharesTVViewController.h"
#import "VLCLocalNetworkTVViewController.h"
#import "VLCOpenNetworkStreamTVViewController.h"
#import "VLCPlayerDisplayController.h"
@interface
AppDelegate
()
{
...
...
@@ -33,6 +34,7 @@
NSDictionary
*
appDefaults
=
@{
kVLCSettingContinueAudioInBackgroundKey
:
@
(
YES
),
kVLCSettingStretchAudio
:
@
(
NO
),
kVLCSettingVideoFullscreenPlayback
:
@
(
YES
),
kVLCSettingTextEncoding
:
kVLCSettingTextEncodingDefaultValue
,
kVLCSettingSkipLoopFilter
:
kVLCSettingSkipLoopFilterNonRef
,
kVLCSettingSubtitlesFont
:
kVLCSettingSubtitlesFontDefaultValue
,
...
...
@@ -59,7 +61,10 @@
_mainViewController
.
tabBar
.
backgroundColor
=
[
UIColor
VLCOrangeTintColor
];
_mainViewController
.
viewControllers
=
@[
_sharesVC
,
_localNetworkVC
,
_openNetworkVC
];
self
.
window
.
rootViewController
=
_mainViewController
;
_playerDisplayController
=
[[
VLCPlayerDisplayController
alloc
]
init
];
_playerDisplayController
.
childViewController
=
_mainViewController
;
self
.
window
.
rootViewController
=
_playerDisplayController
;
[
self
.
window
makeKeyAndVisible
];
return
YES
;
...
...
VLC for Apple TV/VLCTVConstants.h
View file @
077e9699
...
...
@@ -51,3 +51,4 @@
#define kVLCSettingSkipLoopFilterNone @(0)
#define kVLCSettingSkipLoopFilterNonRef @(1)
#define kVLCSettingSkipLoopFilterNonKey @(3)
#define kVLCSettingVideoFullscreenPlayback @"AlwaysUseFullscreenForVideo"
VLC for iOS.xcodeproj/project.pbxproj
View file @
077e9699
...
...
@@ -199,6 +199,7 @@
7DD2A3A9179C04A7003EB537
/* OpenSans-Regular.ttf in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7DD2A3A8179C04A6003EB537
/* OpenSans-Regular.ttf */
;
};
7DDD0429172D98E5005A7B10
/* CFNetwork.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7DDD0428172D98E5005A7B10
/* CFNetwork.framework */
;
};
7DE56C1A1AD93F9100E8CA00
/* VLCPlaybackController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7DE56C191AD93F9100E8CA00
/* VLCPlaybackController.m */
;
};
7DEC8BD71BD658E6006E1093
/* VLCPlayerDisplayController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
DD510B6F1B14E564003BA71C
/* VLCPlayerDisplayController.m */
;
};
7DF04F4D1961F2B8004A5429
/* web-download-fixed.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7DF04F491961F2B8004A5429
/* web-download-fixed.png */
;
};
7DF04F4E1961F2B8004A5429
/* web-download.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7DF04F4A1961F2B8004A5429
/* web-download.png */
;
};
7DF04F4F1961F2B8004A5429
/* web-open-fixed.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
7DF04F4B1961F2B8004A5429
/* web-open-fixed.png */
;
};
...
...
@@ -2183,6 +2184,7 @@
7DC71D211BC83058001FACAA
/* VLCAppSharesTVViewController.m in Sources */
,
7D7EF3DA1BD56B5900CD4CEE
/* VLCOpenNetworkStreamTVViewController.m in Sources */
,
7D7EF3DD1BD5779F00CD4CEE
/* VLCPlaybackController.m in Sources */
,
7DEC8BD71BD658E6006E1093
/* VLCPlayerDisplayController.m in Sources */
,
7DC71D261BC830A5001FACAA
/* VLCLocalNetworkTVViewController.m in Sources */
,
7D1329441BA1F10100BE647E
/* AppDelegate.m in Sources */
,
7D1329411BA1F10100BE647E
/* main.m in Sources */
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment