123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import Foundation
- import SwiftyJSON
- class NCDatabaseJSON: NSObject {
- @objc static let shared: NCDatabaseJSON = {
- let instance = NCDatabaseJSON()
- return instance
- }()
-
-
- override init() {
-
- let dirGroup = FileManager.default.containerURL(forSecurityApplicationGroupIdentifier: NCBrandOptions.sharedInstance.capabilitiesGroups)!
- let databaseUrl = dirGroup.appendingPathComponent("\(k_appDatabaseNextcloud)/\(k_databaseDefaultJSON)")
-
- if !FileManager.default.fileExists(atPath: databaseUrl.path) {
-
- }
-
-
- }
- }
|