NCTrash.swift 711 B

123456789101112131415161718192021222324252627
  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. override func viewDidLoad() {
  12. super.viewDidLoad()
  13. let ocNetworking = OCnetworking.init(delegate: self, metadataNet: nil, withUser: appDelegate.activeUser, withUserID: appDelegate.activeUserID, withPassword: appDelegate.activePassword, withUrl: appDelegate.activeUrl)
  14. ocNetworking?.listingTrashs({ ([Any]?) in
  15. }, failure: { (message, errorCode) in
  16. })
  17. }
  18. }