From 278a98e61315a2f945fb226446f4a19cd6f67fff Mon Sep 17 00:00:00 2001
From: Mustafa Merza <mustafa.merza95@gmail.com>
Date: Sun, 21 Jul 2024 12:10:34 +0300
Subject: [PATCH] - Added extensions to handle used images and ui images.

---
 MiniScanner.xcodeproj/project.pbxproj       |  8 ++++++++
 MiniScanner/Extensions/Image+Images.swift   | 19 +++++++++++++++++++
 MiniScanner/Extensions/UIImage+Images.swift | 19 +++++++++++++++++++
 3 files changed, 46 insertions(+)
 create mode 100644 MiniScanner/Extensions/Image+Images.swift
 create mode 100644 MiniScanner/Extensions/UIImage+Images.swift

diff --git a/MiniScanner.xcodeproj/project.pbxproj b/MiniScanner.xcodeproj/project.pbxproj
index 46ebe13..6094079 100644
--- a/MiniScanner.xcodeproj/project.pbxproj
+++ b/MiniScanner.xcodeproj/project.pbxproj
@@ -203,6 +203,8 @@
 		678BD7152C4CF1EB00833DA5 /* SettingsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 678BD7102C4CF1EB00833DA5 /* SettingsView.swift */; };
 		678BD7162C4CF1EB00833DA5 /* SettingsViewCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 678BD7112C4CF1EB00833DA5 /* SettingsViewCoordinator.swift */; };
 		678BD7172C4CF1EB00833DA5 /* SettingsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 678BD7122C4CF1EB00833DA5 /* SettingsViewModel.swift */; };
+		678BD71D2C4D057200833DA5 /* UIImage+Images.swift in Sources */ = {isa = PBXBuildFile; fileRef = 678BD71C2C4D057200833DA5 /* UIImage+Images.swift */; };
+		678BD71F2C4D07B100833DA5 /* Image+Images.swift in Sources */ = {isa = PBXBuildFile; fileRef = 678BD71E2C4D07B100833DA5 /* Image+Images.swift */; };
 		B827E5196CC419E773B843E1 /* Pods_MiniScanner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9A37DC9F9A8E3AF632DFB98 /* Pods_MiniScanner.framework */; };
 		EC0CF1FE254D8BBF00888722 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC0CF1FD254D8BBF00888722 /* AppDelegate.swift */; };
 		EC0CF200254D8BBF00888722 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC0CF1FF254D8BBF00888722 /* SceneDelegate.swift */; };
@@ -456,6 +458,8 @@
 		678BD7102C4CF1EB00833DA5 /* SettingsView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsView.swift; sourceTree = "<group>"; };
 		678BD7112C4CF1EB00833DA5 /* SettingsViewCoordinator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsViewCoordinator.swift; sourceTree = "<group>"; };
 		678BD7122C4CF1EB00833DA5 /* SettingsViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsViewModel.swift; sourceTree = "<group>"; };
+		678BD71C2C4D057200833DA5 /* UIImage+Images.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIImage+Images.swift"; sourceTree = "<group>"; };
+		678BD71E2C4D07B100833DA5 /* Image+Images.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Image+Images.swift"; sourceTree = "<group>"; };
 		E8AF4FB39674DF589D719DCF /* Pods-MiniScanner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MiniScanner.release.xcconfig"; path = "Target Support Files/Pods-MiniScanner/Pods-MiniScanner.release.xcconfig"; sourceTree = "<group>"; };
 		E9A37DC9F9A8E3AF632DFB98 /* Pods_MiniScanner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MiniScanner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		EC0CF1FA254D8BBF00888722 /* MiniScanner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MiniScanner.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -1254,6 +1258,8 @@
 				67807F9C2C49348B00D1F168 /* View */,
 				672C46D82C48017C00497EF0 /* Style */,
 				672C46492C47BD8800497EF0 /* String+StringKeys.swift */,
+				678BD71C2C4D057200833DA5 /* UIImage+Images.swift */,
+				678BD71E2C4D07B100833DA5 /* Image+Images.swift */,
 				EC0CF21C254D8F3900888722 /* String+Extensions.swift */,
 				EC8A9AFF254DBFC600F9AF99 /* UserDefaults+Extensions.swift */,
 				EC8A9B19254DCE3E00F9AF99 /* UIImage+Extensions.swift */,
@@ -1529,6 +1535,7 @@
 				53CD5F612C15A6210010424B /* SettingViewController.swift in Sources */,
 				53014FAA2C11A8E80071CE39 /* Quadrilateral.swift in Sources */,
 				539996832C27130000671340 /* ConstraintMakerPriortizable.swift in Sources */,
+				678BD71D2C4D057200833DA5 /* UIImage+Images.swift in Sources */,
 				5399969E2C27130000671340 /* Debugging.swift in Sources */,
 				672C46682C47C75100497EF0 /* Clear.swift in Sources */,
 				672C46912C47CB5D00497EF0 /* UserDefaultsKeys.swift in Sources */,
@@ -1679,6 +1686,7 @@
 				53EDEDA32C183FFF00DB8DF9 /* PagerImageCollectionViewCell.swift in Sources */,
 				678BD70F2C4CF1A000833DA5 /* CustomMenuPicker.swift in Sources */,
 				53014FA12C11A8E80071CE39 /* MultiPageScanSessionViewController.swift in Sources */,
+				678BD71F2C4D07B100833DA5 /* Image+Images.swift in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
diff --git a/MiniScanner/Extensions/Image+Images.swift b/MiniScanner/Extensions/Image+Images.swift
new file mode 100644
index 0000000..144c438
--- /dev/null
+++ b/MiniScanner/Extensions/Image+Images.swift
@@ -0,0 +1,19 @@
+//
+//  Image+Images.swift
+//  MiniScanner
+//
+//  Created by Mustafa Merza on 7/21/24.
+//  Copyright © 2024 AppsNectar. All rights reserved.
+//
+
+import SwiftUI
+
+// MARK: - App images and icons
+extension Image {
+    
+}
+
+// MARK: - Common system images and icons
+extension Image {
+    
+}
diff --git a/MiniScanner/Extensions/UIImage+Images.swift b/MiniScanner/Extensions/UIImage+Images.swift
new file mode 100644
index 0000000..db08654
--- /dev/null
+++ b/MiniScanner/Extensions/UIImage+Images.swift
@@ -0,0 +1,19 @@
+//
+//  UIImage+Images.swift
+//  MiniScanner
+//
+//  Created by Mustafa Merza on 7/21/24.
+//  Copyright © 2024 AppsNectar. All rights reserved.
+//
+
+import UIKit
+
+// MARK: - App images and icons
+extension UIImage {
+    
+}
+
+// MARK: - Common system images and icons
+extension UIImage {
+    
+}
-- 
GitLab