marinofaggiana 3 tahun lalu
induk
melakukan
47509409e3
97 mengubah file dengan 97 tambahan dan 85 penghapusan
  1. 1 0
      File Provider Extension/FileProviderData.swift
  2. 1 1
      File Provider Extension/FileProviderDomain.swift
  3. 1 0
      File Provider Extension/FileProviderEnumerator.swift
  4. 1 0
      File Provider Extension/FileProviderExtension+Actions.swift
  5. 1 0
      File Provider Extension/FileProviderExtension+Thumbnail.swift
  6. 1 0
      File Provider Extension/FileProviderExtension.swift
  7. 1 0
      File Provider Extension/FileProviderItem.swift
  8. 2 0
      File Provider Extension/FileProviderUtility.swift
  9. 8 8
      Nextcloud.xcodeproj/project.pbxproj
  10. 1 0
      Notification Service Extension/NotificationService.swift
  11. 1 1
      Share/NCShareExtension.swift
  12. 1 1
      iOSClient/Account Request/NCAccountRequest.swift
  13. 0 1
      iOSClient/Activity/NCActivity.swift
  14. 0 1
      iOSClient/Brand/Intro/NCIntroCollectionViewCell.swift
  15. 1 1
      iOSClient/BrowserWeb/NCBrowserWeb.swift
  16. 1 1
      iOSClient/Data/NCDataSource.swift
  17. 1 0
      iOSClient/Data/NCDatabase.swift
  18. 1 1
      iOSClient/Data/NCElementsJSON.swift
  19. 1 0
      iOSClient/Data/NCManageDatabase.swift
  20. 1 1
      iOSClient/Favorites/NCFavorite.swift
  21. 1 1
      iOSClient/FileViewInFolder/NCFileViewInFolder.swift
  22. 1 1
      iOSClient/Files/NCFiles.swift
  23. 1 1
      iOSClient/Login/NCAppConfigView.swift
  24. 1 1
      iOSClient/Login/NCLogin.swift
  25. 1 1
      iOSClient/Login/NCLoginQRCode.swift
  26. 1 1
      iOSClient/Login/NCLoginWeb.swift
  27. 0 1
      iOSClient/Main/AudioRecorder/NCAudioRecorderViewController.swift
  28. 1 1
      iOSClient/Main/Collection Common/NCCollectionViewCommon.swift
  29. 0 1
      iOSClient/Main/Collection Common/NCGridCell.swift
  30. 0 1
      iOSClient/Main/Collection Common/NCListCell.swift
  31. 1 1
      iOSClient/Main/Create cloud/NCCreateFormUploadAssets.swift
  32. 1 1
      iOSClient/Main/Create cloud/NCCreateFormUploadConflict.swift
  33. 1 1
      iOSClient/Main/Create cloud/NCCreateFormUploadConflictCell.swift
  34. 1 1
      iOSClient/Main/Create cloud/NCCreateFormUploadDocuments.swift
  35. 1 1
      iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift
  36. 1 1
      iOSClient/Main/Create cloud/NCCreateFormUploadVoiceNote.swift
  37. 1 1
      iOSClient/Main/NCFunctionCenter.swift
  38. 1 1
      iOSClient/Main/NCImageCellProtocol.swift
  39. 1 1
      iOSClient/Main/NCMainNavigationController.swift
  40. 1 1
      iOSClient/Main/NCMainTabBar.swift
  41. 1 1
      iOSClient/Main/NCPickerViewController.swift
  42. 0 1
      iOSClient/Media/Cell/NCGridMediaCell.swift
  43. 1 1
      iOSClient/Media/NCMedia.swift
  44. 1 0
      iOSClient/Menu/AppDelegate+Menu.swift
  45. 1 0
      iOSClient/Menu/NCCollectionViewCommon+Menu.swift
  46. 1 0
      iOSClient/Menu/NCLoginWeb+Menu.swift
  47. 1 0
      iOSClient/Menu/NCMedia+Menu.swift
  48. 1 0
      iOSClient/Menu/NCShareComments+Menu.swift
  49. 1 0
      iOSClient/Menu/NCSortMenu.swift
  50. 1 0
      iOSClient/Menu/NCTrash+Menu.swift
  51. 1 0
      iOSClient/Menu/NCViewer+Menu.swift
  52. 1 1
      iOSClient/NCGlobal.swift
  53. 1 1
      iOSClient/Networking/NCAutoUpload.swift
  54. 1 1
      iOSClient/Networking/NCNetworking.swift
  55. 1 1
      iOSClient/Networking/NCNetworkingCheckRemoteUser.swift
  56. 1 1
      iOSClient/Networking/NCNetworkingChunkedUpload.swift
  57. 1 1
      iOSClient/Networking/NCNetworkingE2EE.swift
  58. 1 1
      iOSClient/Networking/NCNetworkingProcessUpload.swift
  59. 1 1
      iOSClient/Networking/NCOperationQueue.swift
  60. 1 1
      iOSClient/Networking/NCService.swift
  61. 1 1
      iOSClient/Offline/NCOffline.swift
  62. 1 1
      iOSClient/Recent/NCRecent.swift
  63. 1 1
      iOSClient/Rename file/NCRenameFile.swift
  64. 1 1
      iOSClient/RichWorkspace/NCRichWorkspaceCommon.swift
  65. 1 1
      iOSClient/RichWorkspace/NCViewerRichWorkspace.swift
  66. 1 1
      iOSClient/RichWorkspace/NCViewerRichWorkspaceWebView.swift
  67. 1 1
      iOSClient/Security/NCEndToEndMetadata.swift
  68. 1 1
      iOSClient/Select/NCSelect.swift
  69. 1 1
      iOSClient/Settings/NCEndToEndInitialize.swift
  70. 1 1
      iOSClient/Settings/NCManageAutoUploadFileName.swift
  71. 1 1
      iOSClient/Share/NCShare.swift
  72. 1 1
      iOSClient/Share/NCShareComments.swift
  73. 1 1
      iOSClient/Share/NCShareCommon.swift
  74. 1 1
      iOSClient/Share/NCShareLinkMenuView.swift
  75. 1 1
      iOSClient/Share/NCShareNetworking.swift
  76. 1 1
      iOSClient/Share/NCSharePaging.swift
  77. 1 1
      iOSClient/Share/NCShareUserMenuView.swift
  78. 1 1
      iOSClient/Shares/NCShares.swift
  79. 0 1
      iOSClient/Transfers/NCTransferCell.swift
  80. 1 1
      iOSClient/Transfers/NCTransfers.swift
  81. 0 1
      iOSClient/Trash/Cell/NCTrashListCell.swift
  82. 1 1
      iOSClient/Trash/NCTrash.swift
  83. 1 1
      iOSClient/Trash/Section/NCTrashSectionHeaderFooter.swift
  84. 1 1
      iOSClient/Utility/NCAskAuthorization.swift
  85. 1 0
      iOSClient/Utility/NCPopupViewController.swift
  86. 1 1
      iOSClient/Utility/NCStoreReview.swift
  87. 1 1
      iOSClient/Utility/NCUtility.swift
  88. 1 1
      iOSClient/Utility/NCUtilityFileSystem.swift
  89. 1 1
      iOSClient/Viewer/NCViewer.swift
  90. 1 1
      iOSClient/Viewer/NCViewerImage/NCViewerImageDetailView.swift
  91. 1 1
      iOSClient/Viewer/NCViewerNextcloudText/NCViewerNextcloudText.swift
  92. 1 1
      iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift
  93. 1 1
      iOSClient/Viewer/NCViewerPDF/NCViewerPDFSearch.swift
  94. 1 1
      iOSClient/Viewer/NCViewerProviderContextMenu.swift
  95. 1 1
      iOSClient/Viewer/NCViewerQuickLook/NCViewerQuickLook.swift
  96. 1 1
      iOSClient/Viewer/NCViewerRichdocument/NCViewerRichdocument.swift
  97. 1 1
      iOSClient/Viewer/NCViewerVideo/NCKTVHTTPCache.swift

+ 1 - 0
File Provider Extension/FileProviderData.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import NCCommunication
 
 class fileProviderData: NSObject {

+ 1 - 1
File Provider Extension/FileProviderDomain.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class FileProviderDomain: NSObject {
     

+ 1 - 0
File Provider Extension/FileProviderEnumerator.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FileProvider
 import NCCommunication
 

+ 1 - 0
File Provider Extension/FileProviderExtension+Actions.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FileProvider
 import NCCommunication
 

+ 1 - 0
File Provider Extension/FileProviderExtension+Thumbnail.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FileProvider
 import NCCommunication
 

+ 1 - 0
File Provider Extension/FileProviderExtension.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FileProvider
 import NCCommunication
 import Alamofire

+ 1 - 0
File Provider Extension/FileProviderItem.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FileProvider
 import NCCommunication
 

+ 2 - 0
File Provider Extension/FileProviderUtility.swift

@@ -21,6 +21,8 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
+
 class fileProviderUtility: NSObject {
     static let shared: fileProviderUtility = {
         let instance = fileProviderUtility()

+ 8 - 8
Nextcloud.xcodeproj/project.pbxproj

@@ -2268,7 +2268,7 @@
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -2321,7 +2321,7 @@
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -2365,7 +2365,7 @@
 				CODE_SIGN_ENTITLEMENTS = iOSClient/Brand/Share.entitlements;
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -2410,7 +2410,7 @@
 				CODE_SIGN_ENTITLEMENTS = iOSClient/Brand/Share.entitlements;
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -2462,7 +2462,7 @@
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -2514,7 +2514,7 @@
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -2558,7 +2558,7 @@
 				CODE_SIGN_ENTITLEMENTS = iOSClient/Brand/iOSClient.entitlements;
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				ENABLE_BITCODE = YES;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
@@ -2605,7 +2605,7 @@
 				CODE_SIGN_IDENTITY = "iPhone Developer";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
 				COPY_PHASE_STRIP = NO;
-				CURRENT_PROJECT_VERSION = 17;
+				CURRENT_PROJECT_VERSION = 18;
 				DEVELOPMENT_TEAM = 6JLRKY9ZV7;
 				ENABLE_BITCODE = YES;
 				FRAMEWORK_SEARCH_PATHS = "$(inherited)";

+ 1 - 0
Notification Service Extension/NotificationService.swift

@@ -19,6 +19,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import UserNotifications
 
 class NotificationService: UNNotificationServiceExtension {

+ 1 - 1
Share/NCShareExtension.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCShareExtension: UIViewController, NCListCellDelegate, NCEmptyDataSetDelegate, NCRenameFileDelegate, NCAccountRequestDelegate {

+ 1 - 1
iOSClient/Account Request/NCAccountRequest.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 public protocol NCAccountRequestDelegate {

+ 0 - 1
iOSClient/Activity/NCActivity.swift

@@ -21,7 +21,6 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
 import UIKit
 import SwiftRichString
 import NCCommunication

+ 0 - 1
iOSClient/Brand/Intro/NCIntroCollectionViewCell.swift

@@ -23,7 +23,6 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-
 import UIKit
 
 class NCIntroCollectionViewCell: UICollectionViewCell {

+ 1 - 1
iOSClient/BrowserWeb/NCBrowserWeb.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import WebKit
 
 @objc protocol NCBrowserWebDelegate: AnyObject {

+ 1 - 1
iOSClient/Data/NCDataSource.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCDataSource: NSObject {
     

+ 1 - 0
iOSClient/Data/NCDatabase.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import RealmSwift
 
 class tableAccount: Object {

+ 1 - 1
iOSClient/Data/NCElementsJSON.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 @objc class NCElementsJSON: NSObject {
     @objc static let shared: NCElementsJSON = {

+ 1 - 0
iOSClient/Data/NCManageDatabase.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import RealmSwift
 import NCCommunication
 import SwiftyJSON

+ 1 - 1
iOSClient/Favorites/NCFavorite.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCFavorite: NCCollectionViewCommon  {

+ 1 - 1
iOSClient/FileViewInFolder/NCFileViewInFolder.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCFileViewInFolder: NCCollectionViewCommon  {

+ 1 - 1
iOSClient/Files/NCFiles.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCFiles: NCCollectionViewCommon  {

+ 1 - 1
iOSClient/Login/NCAppConfigView.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCAppConfigView: UIViewController {

+ 1 - 1
iOSClient/Login/NCLogin.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCLogin: UIViewController, UITextFieldDelegate, NCLoginQRCodeDelegate {

+ 1 - 1
iOSClient/Login/NCLoginQRCode.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import QRCodeReader
 
 @objc public protocol NCLoginQRCodeDelegate {

+ 1 - 1
iOSClient/Login/NCLoginWeb.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import WebKit
 import NCCommunication
 import FloatingPanel

+ 0 - 1
iOSClient/Main/AudioRecorder/NCAudioRecorderViewController.swift

@@ -24,7 +24,6 @@
 //  Based on code of Venkat Kukunuru
 //  --------------------------------
 
-import Foundation
 import UIKit
 import AVFoundation
 import QuartzCore

+ 1 - 1
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UISearchResultsUpdating, UISearchControllerDelegate, UISearchBarDelegate, NCListCellDelegate, NCGridCellDelegate, NCSectionHeaderMenuDelegate, UIAdaptivePresentationControllerDelegate, NCEmptyDataSetDelegate, UIContextMenuInteractionDelegate, NCAccountRequestDelegate, NCBackgroundImageColorDelegate  {

+ 0 - 1
iOSClient/Main/Collection Common/NCGridCell.swift

@@ -21,7 +21,6 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
 import UIKit
 
 class NCGridCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCImageCellProtocol {

+ 0 - 1
iOSClient/Main/Collection Common/NCListCell.swift

@@ -21,7 +21,6 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
 import UIKit
 
 class NCListCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCImageCellProtocol {

+ 1 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadAssets.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import Queuer
 
 protocol createFormUploadAssetsDelegate {

+ 1 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadConflict.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 @objc protocol NCCreateFormUploadConflictDelegate {
     @objc func dismissCreateFormUploadConflict(metadatas: [tableMetadata]?)

+ 1 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadConflictCell.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCCreateFormUploadConflictCell: UITableViewCell {
     

+ 1 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadDocuments.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 // MARK: -

+ 1 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 import Vision
 import VisionKit

+ 1 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadVoiceNote.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCCreateFormUploadVoiceNote: XLFormViewController, NCSelectDelegate, AVAudioPlayerDelegate, NCCreateFormUploadConflictDelegate {

+ 1 - 1
iOSClient/Main/NCFunctionCenter.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 @objc class NCFunctionCenter: NSObject, UIDocumentInteractionControllerDelegate, NCSelectDelegate {

+ 1 - 1
iOSClient/Main/NCImageCellProtocol.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 protocol NCImageCellProtocol {
     var filePreviewImageView: UIImageView {get}

+ 1 - 1
iOSClient/Main/NCMainNavigationController.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCMainNavigationController: UINavigationController {
     

+ 1 - 1
iOSClient/Main/NCMainTabBar.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCMainTabBar: UITabBar {
 

+ 1 - 1
iOSClient/Main/NCPickerViewController.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import TLPhotoPicker
 import MobileCoreServices
 

+ 0 - 1
iOSClient/Media/Cell/NCGridMediaCell.swift

@@ -21,7 +21,6 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
 import UIKit
 
 class NCGridMediaCell: UICollectionViewCell, NCImageCellProtocol {

+ 1 - 1
iOSClient/Media/NCMedia.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCMedia: UIViewController, NCEmptyDataSetDelegate, NCSelectDelegate {

+ 1 - 0
iOSClient/Menu/AppDelegate+Menu.swift

@@ -23,6 +23,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 import NCCommunication
 

+ 1 - 0
iOSClient/Menu/NCCollectionViewCommon+Menu.swift

@@ -23,6 +23,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 import NCCommunication
 

+ 1 - 0
iOSClient/Menu/NCLoginWeb+Menu.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 
 extension NCLoginWeb {

+ 1 - 0
iOSClient/Menu/NCMedia+Menu.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 
 extension NCMedia {

+ 1 - 0
iOSClient/Menu/NCShareComments+Menu.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 import NCCommunication
 

+ 1 - 0
iOSClient/Menu/NCSortMenu.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 import NCCommunication
 

+ 1 - 0
iOSClient/Menu/NCTrash+Menu.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 import NCCommunication
 

+ 1 - 0
iOSClient/Menu/NCViewer+Menu.swift

@@ -21,6 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
+import UIKit
 import FloatingPanel
 import NCCommunication
 

+ 1 - 1
iOSClient/NCGlobal.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCGlobal: NSObject {
     @objc static let shared: NCGlobal = {

+ 1 - 1
iOSClient/Networking/NCAutoUpload.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import CoreLocation
 import NCCommunication
 

+ 1 - 1
iOSClient/Networking/NCNetworking.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import OpenSSL
 import NCCommunication
 import Alamofire

+ 1 - 1
iOSClient/Networking/NCNetworkingCheckRemoteUser.swift

@@ -20,7 +20,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 @objc class NCNetworkingCheckRemoteUser: NSObject {

+ 1 - 1
iOSClient/Networking/NCNetworkingChunkedUpload.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 import Queuer
 

+ 1 - 1
iOSClient/Networking/NCNetworkingE2EE.swift

@@ -19,7 +19,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import OpenSSL
 import NCCommunication
 import CFNetwork

+ 1 - 1
iOSClient/Networking/NCNetworkingProcessUpload.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCNetworkingProcessUpload: NSObject {

+ 1 - 1
iOSClient/Networking/NCOperationQueue.swift

@@ -22,7 +22,7 @@
 //
 
 
-import Foundation
+import UIKit
 import Queuer
 import NCCommunication
 

+ 1 - 1
iOSClient/Networking/NCService.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import SVGKit
 import NCCommunication
 

+ 1 - 1
iOSClient/Offline/NCOffline.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCOffline: NCCollectionViewCommon  {

+ 1 - 1
iOSClient/Recent/NCRecent.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCRecent: NCCollectionViewCommon  {

+ 1 - 1
iOSClient/Rename file/NCRenameFile.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 public protocol NCRenameFileDelegate {

+ 1 - 1
iOSClient/RichWorkspace/NCRichWorkspaceCommon.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 @objc class NCRichWorkspaceCommon: NSObject {

+ 1 - 1
iOSClient/RichWorkspace/NCViewerRichWorkspace.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 import MarkdownKit
 

+ 1 - 1
iOSClient/RichWorkspace/NCViewerRichWorkspaceWebView.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import WebKit
 
 class NCViewerRichWorkspaceWebView: UIViewController, WKNavigationDelegate, WKScriptMessageHandler {

+ 1 - 1
iOSClient/Security/NCEndToEndMetadata.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCEndToEndMetadata : NSObject  {

+ 1 - 1
iOSClient/Select/NCSelect.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 @objc protocol NCSelectDelegate {

+ 1 - 1
iOSClient/Settings/NCEndToEndInitialize.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 @objc protocol NCEndToEndInitializeDelegate {

+ 1 - 1
iOSClient/Settings/NCManageAutoUploadFileName.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCManageAutoUploadFileName: XLFormViewController {
     

+ 1 - 1
iOSClient/Share/NCShare.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import Parchment
 import DropDown
 import NCCommunication

+ 1 - 1
iOSClient/Share/NCShareComments.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCShareComments: UIViewController, NCShareCommentsCellDelegate {

+ 1 - 1
iOSClient/Share/NCShareCommon.swift

@@ -20,7 +20,7 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-import Foundation
+import UIKit
 import FSCalendar
 import DropDown
 

+ 1 - 1
iOSClient/Share/NCShareLinkMenuView.swift

@@ -20,7 +20,7 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-import Foundation
+import UIKit
 import FSCalendar
 import NCCommunication
 

+ 1 - 1
iOSClient/Share/NCShareNetworking.swift

@@ -20,7 +20,7 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCShareNetworking: NSObject {

+ 1 - 1
iOSClient/Share/NCSharePaging.swift

@@ -22,7 +22,7 @@
 //
 
 
-import Foundation
+import UIKit
 import Parchment
 import NCCommunication
 

+ 1 - 1
iOSClient/Share/NCShareUserMenuView.swift

@@ -20,7 +20,7 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-import Foundation
+import UIKit
 import FSCalendar
 import NCCommunication
 

+ 1 - 1
iOSClient/Shares/NCShares.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCShares: NCCollectionViewCommon  {

+ 0 - 1
iOSClient/Transfers/NCTransferCell.swift

@@ -21,7 +21,6 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
 import UIKit
 
 class NCTransferCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCImageCellProtocol {

+ 1 - 1
iOSClient/Transfers/NCTransfers.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCTransfers: NCCollectionViewCommon, NCTransferCellDelegate  {

+ 0 - 1
iOSClient/Trash/Cell/NCTrashListCell.swift

@@ -21,7 +21,6 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
 import UIKit
 
 class NCTrashListCell: UICollectionViewCell {

+ 1 - 1
iOSClient/Trash/NCTrash.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCTrash: UIViewController, UIGestureRecognizerDelegate, NCTrashListCellDelegate, NCGridCellDelegate, NCTrashSectionHeaderMenuDelegate, NCEmptyDataSetDelegate  {

+ 1 - 1
iOSClient/Trash/Section/NCTrashSectionHeaderFooter.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCTrashSectionHeaderMenu: UICollectionReusableView {
     

+ 1 - 1
iOSClient/Utility/NCAskAuthorization.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 
 class NCAskAuthorization: NSObject {
     @objc static let shared: NCAskAuthorization = {

+ 1 - 0
iOSClient/Utility/NCPopupViewController.swift

@@ -19,6 +19,7 @@
 //  You should have received a copy of the GNU General Public License
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
+
 import UIKit
 
 public protocol NCPopupViewControllerDelegate: AnyObject {

+ 1 - 1
iOSClient/Utility/NCStoreReview.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import StoreKit
 
 class NCStoreReview: NSObject {

+ 1 - 1
iOSClient/Utility/NCUtility.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import SVGKit
 import KTVHTTPCache
 import NCCommunication

+ 1 - 1
iOSClient/Utility/NCUtilityFileSystem.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import PhotosUI
 
 class NCUtilityFileSystem: NSObject {

+ 1 - 1
iOSClient/Viewer/NCViewer.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import NCCommunication
 
 class NCViewer: NSObject {

+ 1 - 1
iOSClient/Viewer/NCViewerImage/NCViewerImageDetailView.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import MapKit
 
 class NCViewerImageDetailView: UIView {

+ 1 - 1
iOSClient/Viewer/NCViewerNextcloudText/NCViewerNextcloudText.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import WebKit
 
 class NCViewerNextcloudText: UIViewController, WKNavigationDelegate, WKScriptMessageHandler {

+ 1 - 1
iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import PDFKit
 
 class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate {

+ 1 - 1
iOSClient/Viewer/NCViewerPDF/NCViewerPDFSearch.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import PDFKit
 
 @objc protocol NCViewerPDFSearchDelegate : AnyObject {

+ 1 - 1
iOSClient/Viewer/NCViewerProviderContextMenu.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import AVFoundation
 import NCCommunication
 

+ 1 - 1
iOSClient/Viewer/NCViewerQuickLook/NCViewerQuickLook.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import QuickLook
 
 @objc class NCViewerQuickLook: NSObject, QLPreviewControllerDelegate, QLPreviewControllerDataSource {

+ 1 - 1
iOSClient/Viewer/NCViewerRichdocument/NCViewerRichdocument.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import WebKit
 import NCCommunication
 

+ 1 - 1
iOSClient/Viewer/NCViewerVideo/NCKTVHTTPCache.swift

@@ -21,7 +21,7 @@
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //
 
-import Foundation
+import UIKit
 import KTVHTTPCache
 
 class NCKTVHTTPCache: NSObject {