Commit 46ea4137 authored by Carola Nitz's avatar Carola Nitz

AboutScreen: Add License for XLPagerTabStrip

remove public and open declarations
parent b33b222c
......@@ -87,6 +87,9 @@ Copyright &copy; 2013 Apple Inc. All Rights Reserved. - <a href="#applesampledis
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/karlvr/XKKeychain">XKKeychain</a><br />
Copyright &copy; 2014-2016 Karl von Randow - <a href="#mit">MIT License</a><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/xmartlabs/XLPagerTabStrip">XLPagerTabStrip</a><br />
Copyright &copy; 2014-2018 xmartlabs - <a href="#mit">MIT License</a><br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/ndfred/xcode-tools/blob/master/update_strings.py">update_strings.py</a><br />
Copyright &copy; 2010 Frédéric Sagnes - <a href="#mit">MIT License</a><br />
<br />
......
......@@ -285,7 +285,7 @@ protocol PagerTabStripIsProgressiveDelegate: class {
func updateIndicator(for viewController: PagerTabStripViewController, fromIndex: Int, toIndex: Int, withProgressPercentage progressPercentage: CGFloat, indexWasChanged: Bool)
}
public protocol PagerTabStripDataSource: class {
protocol PagerTabStripDataSource: class {
func viewControllers(for pagerTabStripController: PagerTabStripViewController) -> [UIViewController]
}
......
......@@ -13,18 +13,18 @@
import Foundation
@objc public protocol VLCMediaViewControllerDelegate: class {
@objc protocol VLCMediaViewControllerDelegate: class {
func mediaViewControllerDidSelectMediaObject(_ mediaViewController: VLCMediaViewController, mediaObject: NSManagedObject)
}
public class VLCMediaViewController: UICollectionViewController, UISearchResultsUpdating, UISearchControllerDelegate, IndicatorInfoProvider {
class VLCMediaViewController: UICollectionViewController, UISearchResultsUpdating, UISearchControllerDelegate, IndicatorInfoProvider {
private var services: Services
private var mediaDataSourceAndDelegate: MediaDataSourceAndDelegate?
private var searchController: UISearchController?
private let searchDataSource = VLCLibrarySearchDisplayDataSource()
private var mediaType: VLCMediaType
public weak var delegate: VLCMediaViewControllerDelegate?
weak var delegate: VLCMediaViewControllerDelegate?
@available(iOS 11.0, *)
lazy var dragAndDropManager: VLCDragAndDropManager = {
......@@ -58,7 +58,7 @@ public class VLCMediaViewController: UICollectionViewController, UISearchResults
}
}
public override var preferredStatusBarStyle: UIStatusBarStyle {
override var preferredStatusBarStyle: UIStatusBarStyle {
return PresentationTheme.current.colors.statusBarStyle
}
......@@ -172,7 +172,7 @@ public class VLCMediaViewController: UICollectionViewController, UISearchResults
collectionView?.dataSource = mediaDataSourceAndDelegate
}
public func indicatorInfo(for pagerTabStripController: PagerTabStripViewController) -> IndicatorInfo {
func indicatorInfo(for pagerTabStripController: PagerTabStripViewController) -> IndicatorInfo {
return services.mediaDataSource.indicatorInfo(for:mediaType.subcategory)
}
}
......@@ -12,7 +12,7 @@
import Foundation
open class PagerTabStripViewController: UIViewController, UIScrollViewDelegate {
class PagerTabStripViewController: UIViewController, UIScrollViewDelegate {
var containerView: UIScrollView!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment