Prechádzať zdrojové kódy

Remove old MediaLibraryModelView

Soomin Lee 7 rokov pred
rodič
commit
51a617e44a

+ 0 - 4
SharedSources/MediaLibraryModel/MediaLibraryBaseModel.swift

@@ -9,10 +9,6 @@
  * Refer to the COPYING file of the official project for license.
  *****************************************************************************/
 
-protocol MediaLibraryModelView {
-    func dataChanged()
-}
-
 // Expose a "shadow" version without associatedType in order to use it as a type
 protocol MediaLibraryBaseModel {
     init(medialibrary: VLCMediaLibraryManager)

+ 0 - 1
SharedSources/MediaLibraryModel/ShowEpisodeModel.swift

@@ -16,7 +16,6 @@ class ShowEpisodeModel: MLBaseModel {
 
     var files = [VLCMLMedia]()
 
-    var view: MediaLibraryModelView?
 
     var indicatorName: String = NSLocalizedString("EPISODES", comment: "")
 

+ 1 - 1
Sources/MediaCategories/MediaCategoryViewController.swift

@@ -13,7 +13,7 @@
 
 import Foundation
 
-class VLCMediaCategoryViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout, UISearchResultsUpdating, UISearchControllerDelegate, IndicatorInfoProvider, MediaLibraryModelView {
+class VLCMediaCategoryViewController: UICollectionViewController, UICollectionViewDelegateFlowLayout, UISearchResultsUpdating, UISearchControllerDelegate, IndicatorInfoProvider {
     let cellPadding: CGFloat = 5.0
     private var services: Services
     private var searchController: UISearchController?