소스 검색

VLCEditController: Add EditToolbarDelegate

Soomin Lee 7 년 전
부모
커밋
dbabddebe9
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15 0
      Sources/VLCEditController.swift

+ 15 - 0
Sources/VLCEditController.swift

@@ -21,6 +21,7 @@ class VLCEditController: NSObject {
         let editToolbar = VLCEditToolbar(frame: CGRect(x: 0, y: 550,
                                                        width: collectionView.frame.width, height: 50))
         editToolbar.isHidden = true
+        editToolbar.delegate = self
         return editToolbar
     }()
 
@@ -40,6 +41,20 @@ extension VLCEditController: VLCEditControllerDataSource {
     }
 }
 
+extension VLCEditController: VLCEditToolbarDelegate {
+    func createPlaylist() {
+
+    }
+
+    func delete() {
+
+    }
+
+    func rename() {
+
+    }
+}
+
 extension VLCEditController: UICollectionViewDataSource {
     func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
         return category.anyfiles.count