NCTrash.swift 828 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // NCTrash.swift
  3. // Nextcloud
  4. //
  5. // Created by Marino Faggiana on 02/10/2018.
  6. // Copyright © 2018 Marino Faggiana. All rights reserved.
  7. //
  8. import Foundation
  9. class NCTrash: UICollectionViewController {
  10. let appDelegate = UIApplication.shared.delegate as! AppDelegate
  11. var path = ""
  12. override func viewDidLoad() {
  13. super.viewDidLoad()
  14. let ocNetworking = OCnetworking.init(delegate: self, metadataNet: nil, withUser: appDelegate.activeUser, withUserID: appDelegate.activeUserID, withPassword: appDelegate.activePassword, withUrl: appDelegate.activeUrl)
  15. ocNetworking?.listingTrash(appDelegate.activeUrl, path: path, account: appDelegate.activeAccount, success: { (item) in
  16. }, failure: { (message, errorCode) in
  17. })
  18. }
  19. }