|
@@ -39,11 +39,11 @@ class NCService: NSObject {
|
|
|
|
|
|
NCManageDatabase.shared.clearAllAvatarLoaded()
|
|
|
|
|
|
- if appDelegate.account == "" { return }
|
|
|
+ guard !appDelegate.account.isEmpty else { return }
|
|
|
|
|
|
- self.addInternalTypeIdentifier()
|
|
|
- self.requestUserProfile()
|
|
|
- self.requestServerStatus()
|
|
|
+ addInternalTypeIdentifier()
|
|
|
+ requestServerStatus()
|
|
|
+ requestUserProfile()
|
|
|
}
|
|
|
|
|
|
// MARK: -
|
|
@@ -79,180 +79,167 @@ class NCService: NSObject {
|
|
|
NCCommunicationCommon.shared.addInternalTypeIdentifier(typeIdentifier: "com.apple.iwork.keynote.key", classFile: NCCommunicationCommon.typeClassFile.document.rawValue, editor: NCGlobal.shared.editorQuickLook, iconName: NCCommunicationCommon.typeIconFile.ppt.rawValue, name: "keynote")
|
|
|
}
|
|
|
|
|
|
- private func requestUserProfile() {
|
|
|
+ private func requestServerStatus() {
|
|
|
|
|
|
- if appDelegate.account == "" { return }
|
|
|
+ NCCommunication.shared.getServerStatus(serverUrl: appDelegate.urlBase, queue: NCCommunicationCommon.shared.backgroundQueue) { serverProductName, _, versionMajor, _, _, extendedSupport, errorCode, _ in
|
|
|
+ guard errorCode == 0, extendedSupport == false else {
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
- NCCommunication.shared.getUserProfile(queue: NCCommunicationCommon.shared.backgroundQueue) { account, userProfile, errorCode, errorDescription in
|
|
|
+ if serverProductName == "owncloud" {
|
|
|
+ NCContentPresenter.shared.messageNotification("_warning_", description: "_warning_owncloud_", delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.info, errorCode: NCGlobal.shared.errorInternalError, priority: .max)
|
|
|
+ } else if versionMajor <= NCGlobal.shared.nextcloud_unsupported_version {
|
|
|
+ NCContentPresenter.shared.messageNotification("_warning_", description: "_warning_unsupported_", delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.info, errorCode: NCGlobal.shared.errorInternalError, priority: .max)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- if errorCode == 0 && account == self.appDelegate.account {
|
|
|
+ private func requestUserProfile() {
|
|
|
+ guard !appDelegate.account.isEmpty else { return }
|
|
|
|
|
|
- // Update User (+ userProfile.id) & active account & account network
|
|
|
- guard let tableAccount = NCManageDatabase.shared.setAccountUserProfile(userProfile!) else {
|
|
|
- NCContentPresenter.shared.messageNotification("Account", description: "Internal error : account not found on DB", delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.error, errorCode: NCGlobal.shared.errorInternalError, priority: .max)
|
|
|
- return
|
|
|
+ NCCommunication.shared.getUserProfile(queue: NCCommunicationCommon.shared.backgroundQueue) { account, userProfile, errorCode, errorDescription in
|
|
|
+ guard errorCode == 0, account == self.appDelegate.account else {
|
|
|
+ NCBrandColor.shared.settingThemingColor(account: account)
|
|
|
+ if errorCode == 401 || errorCode == 403 {
|
|
|
+ NCNetworkingCheckRemoteUser.shared.checkRemoteUser(account: account, errorCode: errorCode, errorDescription: errorDescription)
|
|
|
}
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
- self.appDelegate.settingAccount(tableAccount.account, urlBase: tableAccount.urlBase, user: tableAccount.user, userId: tableAccount.userId, password: CCUtility.getPassword(tableAccount.account))
|
|
|
-
|
|
|
- // Synchronize favorite
|
|
|
- NCNetworking.shared.listingFavoritescompletion(selector: NCGlobal.shared.selectorReadFile) { _, _, _, _ in }
|
|
|
+ // Update User (+ userProfile.id) & active account & account network
|
|
|
+ guard let tableAccount = NCManageDatabase.shared.setAccountUserProfile(userProfile!) else {
|
|
|
+ NCContentPresenter.shared.messageNotification("Account", description: "Internal error : account not found on DB", delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.error, errorCode: NCGlobal.shared.errorInternalError, priority: .max)
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
- // Synchronize Offline
|
|
|
- self.synchronizeOffline(account: tableAccount.account)
|
|
|
+ self.appDelegate.settingAccount(tableAccount.account, urlBase: tableAccount.urlBase, user: tableAccount.user, userId: tableAccount.userId, password: CCUtility.getPassword(tableAccount.account))
|
|
|
|
|
|
- // Get Avatar
|
|
|
- let fileName = tableAccount.userBaseUrl + "-" + self.appDelegate.user + ".png"
|
|
|
- let fileNameLocalPath = String(CCUtility.getDirectoryUserData()) + "/" + fileName
|
|
|
- let etag = NCManageDatabase.shared.getTableAvatar(fileName: fileName)?.etag
|
|
|
+ // Synchronize favorite
|
|
|
+ NCNetworking.shared.listingFavoritescompletion(selector: NCGlobal.shared.selectorReadFile) { _, _, _, _ in }
|
|
|
|
|
|
- NCCommunication.shared.downloadAvatar(user: tableAccount.userId, fileNameLocalPath: fileNameLocalPath, sizeImage: NCGlobal.shared.avatarSize, avatarSizeRounded: NCGlobal.shared.avatarSizeRounded, etag: etag, queue: NCCommunicationCommon.shared.backgroundQueue) { _, _, _, etag, errorCode, _ in
|
|
|
+ // Synchronize Offline
|
|
|
+ self.synchronizeOffline(account: tableAccount.account)
|
|
|
|
|
|
- if let etag = etag, errorCode == 0 {
|
|
|
- NCManageDatabase.shared.addAvatar(fileName: fileName, etag: etag)
|
|
|
- NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterReloadAvatar, userInfo: nil)
|
|
|
- } else if errorCode == NCGlobal.shared.errorNotModified {
|
|
|
+ // Get Avatar
|
|
|
+ let fileName = tableAccount.userBaseUrl + "-" + self.appDelegate.user + ".png"
|
|
|
+ let fileNameLocalPath = String(CCUtility.getDirectoryUserData()) + "/" + fileName
|
|
|
+ let etag = NCManageDatabase.shared.getTableAvatar(fileName: fileName)?.etag
|
|
|
|
|
|
+ NCCommunication.shared.downloadAvatar(user: tableAccount.userId, fileNameLocalPath: fileNameLocalPath, sizeImage: NCGlobal.shared.avatarSize, avatarSizeRounded: NCGlobal.shared.avatarSizeRounded, etag: etag, queue: NCCommunicationCommon.shared.backgroundQueue) { _, _, _, etag, errorCode, _ in
|
|
|
+ guard let etag = etag, errorCode == 0 else {
|
|
|
+ if errorCode == NCGlobal.shared.errorNotModified {
|
|
|
NCManageDatabase.shared.setAvatarLoaded(fileName: fileName)
|
|
|
}
|
|
|
+ return
|
|
|
}
|
|
|
- self.requestServerCapabilities()
|
|
|
-
|
|
|
- } else {
|
|
|
-
|
|
|
- if errorCode == 401 || errorCode == 403 {
|
|
|
- NCNetworkingCheckRemoteUser.shared.checkRemoteUser(account: account, errorCode: errorCode, errorDescription: errorDescription)
|
|
|
- }
|
|
|
+ NCManageDatabase.shared.addAvatar(fileName: fileName, etag: etag)
|
|
|
+ NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterReloadAvatar, userInfo: nil)
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- private func requestServerStatus() {
|
|
|
-
|
|
|
- NCCommunication.shared.getServerStatus(serverUrl: appDelegate.urlBase, queue: NCCommunicationCommon.shared.backgroundQueue) { serverProductName, _, versionMajor, _, _, extendedSupport, errorCode, _ in
|
|
|
|
|
|
- if errorCode == 0 && extendedSupport == false {
|
|
|
-
|
|
|
- if serverProductName == "owncloud" {
|
|
|
- NCContentPresenter.shared.messageNotification("_warning_", description: "_warning_owncloud_", delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.info, errorCode: NCGlobal.shared.errorInternalError, priority: .max)
|
|
|
- } else if versionMajor <= NCGlobal.shared.nextcloud_unsupported_version {
|
|
|
- NCContentPresenter.shared.messageNotification("_warning_", description: "_warning_unsupported_", delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.info, errorCode: NCGlobal.shared.errorInternalError, priority: .max)
|
|
|
- }
|
|
|
- }
|
|
|
+ self.requestServerCapabilities()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private func requestServerCapabilities() {
|
|
|
-
|
|
|
- if appDelegate.account == "" { return }
|
|
|
+ guard !appDelegate.account.isEmpty else { return }
|
|
|
|
|
|
NCCommunication.shared.getCapabilities(queue: NCCommunicationCommon.shared.backgroundQueue) { account, data, errorCode, errorDescription in
|
|
|
+ guard errorCode == 0, let data = data else {
|
|
|
+ NCBrandColor.shared.settingThemingColor(account: account)
|
|
|
+ if errorCode == 401 || errorCode == 403 {
|
|
|
+ NCNetworkingCheckRemoteUser.shared.checkRemoteUser(account: account, errorCode: errorCode, errorDescription: errorDescription)
|
|
|
+ }
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
- if errorCode == 0 && data != nil {
|
|
|
-
|
|
|
- NCManageDatabase.shared.addCapabilitiesJSon(data!, account: account)
|
|
|
-
|
|
|
- let serverVersionMajor = NCManageDatabase.shared.getCapabilitiesServerInt(account: account, elements: NCElementsJSON.shared.capabilitiesVersionMajor)
|
|
|
+ NCManageDatabase.shared.addCapabilitiesJSon(data, account: account)
|
|
|
+ let serverVersionMajor = NCManageDatabase.shared.getCapabilitiesServerInt(account: account, elements: NCElementsJSON.shared.capabilitiesVersionMajor)
|
|
|
|
|
|
- // Setup communication
|
|
|
- if serverVersionMajor > 0 {
|
|
|
- NCCommunicationCommon.shared.setup(nextcloudVersion: serverVersionMajor)
|
|
|
- }
|
|
|
- NCCommunicationCommon.shared.setup(webDav: NCUtilityFileSystem.shared.getWebDAV(account: account))
|
|
|
+ // Setup communication
|
|
|
+ if serverVersionMajor > 0 {
|
|
|
+ NCCommunicationCommon.shared.setup(nextcloudVersion: serverVersionMajor)
|
|
|
+ }
|
|
|
+ NCCommunicationCommon.shared.setup(webDav: NCUtilityFileSystem.shared.getWebDAV(account: account))
|
|
|
|
|
|
- // Theming
|
|
|
+ // Theming
|
|
|
+ let themingColorNew = NCManageDatabase.shared.getCapabilitiesServerString(account: account, elements: NCElementsJSON.shared.capabilitiesThemingColor)
|
|
|
+ let themingColorElementNew = NCManageDatabase.shared.getCapabilitiesServerString(account: account, elements: NCElementsJSON.shared.capabilitiesThemingColorElement)
|
|
|
+ let themingColorTextNew = NCManageDatabase.shared.getCapabilitiesServerString(account: account, elements: NCElementsJSON.shared.capabilitiesThemingColorText)
|
|
|
+ if themingColorNew != NCBrandColor.shared.themingColor || themingColorElementNew != NCBrandColor.shared.themingColorElement || themingColorTextNew != NCBrandColor.shared.themingColorText {
|
|
|
NCBrandColor.shared.settingThemingColor(account: account)
|
|
|
+ }
|
|
|
|
|
|
- // File Sharing
|
|
|
- let isFilesSharingEnabled = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesFileSharingApiEnabled, exists: false)
|
|
|
- if isFilesSharingEnabled {
|
|
|
- NCCommunication.shared.readShares(parameters: NCCShareParameter(), queue: NCCommunicationCommon.shared.backgroundQueue) { account, shares, errorCode, errorDescription in
|
|
|
- if errorCode == 0 {
|
|
|
- NCManageDatabase.shared.deleteTableShare(account: account)
|
|
|
- if shares != nil {
|
|
|
- NCManageDatabase.shared.addShare(urlBase: self.appDelegate.urlBase, account: account, shares: shares!)
|
|
|
- }
|
|
|
- self.appDelegate.shares = NCManageDatabase.shared.getTableShares(account: account)
|
|
|
- } else {
|
|
|
- NCContentPresenter.shared.messageNotification("_share_", description: errorDescription, delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.error, errorCode: errorCode)
|
|
|
+ // File Sharing
|
|
|
+ let isFilesSharingEnabled = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesFileSharingApiEnabled, exists: false)
|
|
|
+ if isFilesSharingEnabled {
|
|
|
+ NCCommunication.shared.readShares(parameters: NCCShareParameter(), queue: NCCommunicationCommon.shared.backgroundQueue) { account, shares, errorCode, errorDescription in
|
|
|
+ if errorCode == 0 {
|
|
|
+ NCManageDatabase.shared.deleteTableShare(account: account)
|
|
|
+ if shares != nil {
|
|
|
+ NCManageDatabase.shared.addShare(urlBase: self.appDelegate.urlBase, account: account, shares: shares!)
|
|
|
}
|
|
|
+ self.appDelegate.shares = NCManageDatabase.shared.getTableShares(account: account)
|
|
|
+ } else {
|
|
|
+ NCContentPresenter.shared.messageNotification("_share_", description: errorDescription, delay: NCGlobal.shared.dismissAfterSecond, type: NCContentPresenter.messageType.error, errorCode: errorCode)
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- let comments = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesFilesComments, exists: false)
|
|
|
- let activity = NCManageDatabase.shared.getCapabilitiesServerArray(account: account, elements: NCElementsJSON.shared.capabilitiesActivity)
|
|
|
-
|
|
|
- if !isFilesSharingEnabled && !comments && activity == nil {
|
|
|
- self.appDelegate.disableSharesView = true
|
|
|
- } else {
|
|
|
- self.appDelegate.disableSharesView = false
|
|
|
- }
|
|
|
+ let comments = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesFilesComments, exists: false)
|
|
|
+ let activity = NCManageDatabase.shared.getCapabilitiesServerArray(account: account, elements: NCElementsJSON.shared.capabilitiesActivity)
|
|
|
|
|
|
- // Text direct editor detail
|
|
|
- if serverVersionMajor >= NCGlobal.shared.nextcloudVersion18 {
|
|
|
- NCCommunication.shared.NCTextObtainEditorDetails(queue: NCCommunicationCommon.shared.backgroundQueue) { account, editors, creators, errorCode, _ in
|
|
|
- if errorCode == 0 && account == self.appDelegate.account {
|
|
|
- NCManageDatabase.shared.addDirectEditing(account: account, editors: editors, creators: creators)
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ if !isFilesSharingEnabled && !comments && activity == nil {
|
|
|
+ self.appDelegate.disableSharesView = true
|
|
|
+ } else {
|
|
|
+ self.appDelegate.disableSharesView = false
|
|
|
+ }
|
|
|
|
|
|
- // External file Server
|
|
|
- let isExternalSitesServerEnabled = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesExternalSitesExists, exists: true)
|
|
|
- if isExternalSitesServerEnabled {
|
|
|
- NCCommunication.shared.getExternalSite(queue: NCCommunicationCommon.shared.backgroundQueue) { account, externalSites, errorCode, _ in
|
|
|
- if errorCode == 0 && account == self.appDelegate.account {
|
|
|
- NCManageDatabase.shared.deleteExternalSites(account: account)
|
|
|
- for externalSite in externalSites {
|
|
|
- NCManageDatabase.shared.addExternalSites(externalSite, account: account)
|
|
|
- }
|
|
|
- }
|
|
|
+ // Text direct editor detail
|
|
|
+ if serverVersionMajor >= NCGlobal.shared.nextcloudVersion18 {
|
|
|
+ NCCommunication.shared.NCTextObtainEditorDetails(queue: NCCommunicationCommon.shared.backgroundQueue) { account, editors, creators, errorCode, _ in
|
|
|
+ if errorCode == 0 && account == self.appDelegate.account {
|
|
|
+ NCManageDatabase.shared.addDirectEditing(account: account, editors: editors, creators: creators)
|
|
|
}
|
|
|
-
|
|
|
- } else {
|
|
|
- NCManageDatabase.shared.deleteExternalSites(account: account)
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- // User Status
|
|
|
- let userStatus = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesUserStatusEnabled, exists: false)
|
|
|
- if userStatus {
|
|
|
- NCCommunication.shared.getUserStatus(queue: NCCommunicationCommon.shared.backgroundQueue) { account, clearAt, icon, message, messageId, messageIsPredefined, status, statusIsUserDefined, userId, errorCode, _ in
|
|
|
- if errorCode == 0 && account == self.appDelegate.account && userId == self.appDelegate.userId {
|
|
|
- NCManageDatabase.shared.setAccountUserStatus(userStatusClearAt: clearAt, userStatusIcon: icon, userStatusMessage: message, userStatusMessageId: messageId, userStatusMessageIsPredefined: messageIsPredefined, userStatusStatus: status, userStatusStatusIsUserDefined: statusIsUserDefined, account: account)
|
|
|
+ // External file Server
|
|
|
+ let isExternalSitesServerEnabled = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesExternalSitesExists, exists: true)
|
|
|
+ if isExternalSitesServerEnabled {
|
|
|
+ NCCommunication.shared.getExternalSite(queue: NCCommunicationCommon.shared.backgroundQueue) { account, externalSites, errorCode, _ in
|
|
|
+ if errorCode == 0 && account == self.appDelegate.account {
|
|
|
+ NCManageDatabase.shared.deleteExternalSites(account: account)
|
|
|
+ for externalSite in externalSites {
|
|
|
+ NCManageDatabase.shared.addExternalSites(externalSite, account: account)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ } else {
|
|
|
+ NCManageDatabase.shared.deleteExternalSites(account: account)
|
|
|
+ }
|
|
|
|
|
|
- // Added UTI for Collabora
|
|
|
- if let richdocumentsMimetypes = NCManageDatabase.shared.getCapabilitiesServerArray(account: account, elements: NCElementsJSON.shared.capabilitiesRichdocumentsMimetypes) {
|
|
|
- for mimeType in richdocumentsMimetypes {
|
|
|
- NCCommunicationCommon.shared.addInternalTypeIdentifier(typeIdentifier: mimeType, classFile: NCCommunicationCommon.typeClassFile.document.rawValue, editor: NCGlobal.shared.editorCollabora, iconName: NCCommunicationCommon.typeIconFile.document.rawValue, name: "document")
|
|
|
+ // User Status
|
|
|
+ let userStatus = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesUserStatusEnabled, exists: false)
|
|
|
+ if userStatus {
|
|
|
+ NCCommunication.shared.getUserStatus(queue: NCCommunicationCommon.shared.backgroundQueue) { account, clearAt, icon, message, messageId, messageIsPredefined, status, statusIsUserDefined, userId, errorCode, _ in
|
|
|
+ if errorCode == 0 && account == self.appDelegate.account && userId == self.appDelegate.userId {
|
|
|
+ NCManageDatabase.shared.setAccountUserStatus(userStatusClearAt: clearAt, userStatusIcon: icon, userStatusMessage: message, userStatusMessageId: messageId, userStatusMessageIsPredefined: messageIsPredefined, userStatusStatus: status, userStatusStatusIsUserDefined: statusIsUserDefined, account: account)
|
|
|
}
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- // Added UTI for ONLYOFFICE & Text
|
|
|
- if let directEditingCreators = NCManageDatabase.shared.getDirectEditingCreators(account: account) {
|
|
|
- for directEditing in directEditingCreators {
|
|
|
- NCCommunicationCommon.shared.addInternalTypeIdentifier(typeIdentifier: directEditing.mimetype, classFile: NCCommunicationCommon.typeClassFile.document.rawValue, editor: directEditing.editor, iconName: NCCommunicationCommon.typeIconFile.document.rawValue, name: "document")
|
|
|
- }
|
|
|
+ // Added UTI for Collabora
|
|
|
+ if let richdocumentsMimetypes = NCManageDatabase.shared.getCapabilitiesServerArray(account: account, elements: NCElementsJSON.shared.capabilitiesRichdocumentsMimetypes) {
|
|
|
+ for mimeType in richdocumentsMimetypes {
|
|
|
+ NCCommunicationCommon.shared.addInternalTypeIdentifier(typeIdentifier: mimeType, classFile: NCCommunicationCommon.typeClassFile.document.rawValue, editor: NCGlobal.shared.editorCollabora, iconName: NCCommunicationCommon.typeIconFile.document.rawValue, name: "document")
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
- // Handwerkcloud
|
|
|
- // let isHandwerkcloudEnabled = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesHWCEnabled, exists: false)
|
|
|
- // if (isHandwerkcloudEnabled) {
|
|
|
- // self.requestHC()
|
|
|
- // }
|
|
|
-
|
|
|
- } else if errorCode != 0 {
|
|
|
-
|
|
|
- NCBrandColor.shared.settingThemingColor(account: account)
|
|
|
-
|
|
|
- if errorCode == 401 || errorCode == 403 {
|
|
|
- NCNetworkingCheckRemoteUser.shared.checkRemoteUser(account: account, errorCode: errorCode, errorDescription: errorDescription)
|
|
|
+ // Added UTI for ONLYOFFICE & Text
|
|
|
+ if let directEditingCreators = NCManageDatabase.shared.getDirectEditingCreators(account: account) {
|
|
|
+ for directEditing in directEditingCreators {
|
|
|
+ NCCommunicationCommon.shared.addInternalTypeIdentifier(typeIdentifier: directEditing.mimetype, classFile: NCCommunicationCommon.typeClassFile.document.rawValue, editor: directEditing.editor, iconName: NCCommunicationCommon.typeIconFile.document.rawValue, name: "document")
|
|
|
}
|
|
|
-
|
|
|
- } else {
|
|
|
- NCBrandColor.shared.settingThemingColor(account: account)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -280,8 +267,4 @@ class NCService: NSObject {
|
|
|
}
|
|
|
|
|
|
// MARK: - Thirt Part
|
|
|
-
|
|
|
- private func requestHC() {
|
|
|
-
|
|
|
- }
|
|
|
}
|