Commit dbabddeb authored by Soomin Lee's avatar Soomin Lee

VLCEditController: Add EditToolbarDelegate

parent ab560409
......@@ -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
......
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