Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-iOS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
310
Issues
310
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLC-iOS
Commits
ef53f559
Commit
ef53f559
authored
Jul 23, 2018
by
Soomin Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VideoViewController: Simplify viewControllers return
parent
7a07dcf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
MediaViewControllers/VideoViewController.swift
MediaViewControllers/VideoViewController.swift
+5
-4
No files found.
MediaViewControllers/VideoViewController.swift
View file @
ef53f559
...
...
@@ -26,9 +26,10 @@ class VLCVideoViewController: VLCMediaViewController {
}
override
func
viewControllers
(
for
pagerTabStripController
:
PagerTabStripViewController
)
->
[
UIViewController
]
{
let
movies
=
VLCMovieCategoryViewController
(
services
)
let
episodes
=
VLCShowEpisodeCategoryViewController
(
services
)
let
playlists
=
VLCVideoPlaylistCategoryViewController
(
services
)
return
[
movies
,
episodes
,
playlists
]
return
[
VLCMovieCategoryViewController
(
services
),
VLCShowEpisodeCategoryViewController
(
services
),
VLCVideoPlaylistCategoryViewController
(
services
)
]
}
}
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