diff --git a/CodeColors.xcodeproj/project.pbxproj b/CodeColors.xcodeproj/project.pbxproj index f905c1d..5dd9e58 100644 --- a/CodeColors.xcodeproj/project.pbxproj +++ b/CodeColors.xcodeproj/project.pbxproj @@ -333,7 +333,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MACOSX_DEPLOYMENT_TARGET = 14.4; + MACOSX_DEPLOYMENT_TARGET = 12.2; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -390,7 +390,7 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MACOSX_DEPLOYMENT_TARGET = 14.4; + MACOSX_DEPLOYMENT_TARGET = 12.2; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = macosx; @@ -408,7 +408,7 @@ CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"CodeColors/Preview Content\""; + DEVELOPMENT_ASSET_PATHS = ""; DEVELOPMENT_TEAM = 46WUYUUA8V; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; @@ -439,7 +439,7 @@ CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"CodeColors/Preview Content\""; + DEVELOPMENT_ASSET_PATHS = ""; DEVELOPMENT_TEAM = 46WUYUUA8V; ENABLE_HARDENED_RUNTIME = YES; ENABLE_PREVIEWS = YES; @@ -471,7 +471,7 @@ GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = QuickCodeColorLook/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = QuickCodeColorLook; - INFOPLIST_KEY_LSApplicationCategoryType = ""; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_NSHumanReadableCopyright = "Quet Almahdi Morris"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -479,7 +479,6 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.2; - MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.oil3.CodeColors.QuickCodeColorLook; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -499,7 +498,7 @@ GENERATE_INFOPLIST_FILE = YES; INFOPLIST_FILE = QuickCodeColorLook/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = QuickCodeColorLook; - INFOPLIST_KEY_LSApplicationCategoryType = ""; + INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools"; INFOPLIST_KEY_NSHumanReadableCopyright = "Quet Almahdi Morris"; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -507,7 +506,6 @@ "@executable_path/../../../../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 12.2; - MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.oil3.CodeColors.QuickCodeColorLook; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/1024.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/1024.png new file mode 100644 index 0000000..d3b9e3f Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/1024.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/128.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/128.png new file mode 100644 index 0000000..34f3578 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/128.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/16.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/16.png new file mode 100644 index 0000000..2c022cd Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/16.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/256 1.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/256 1.png new file mode 100644 index 0000000..ceaf2d8 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/256 1.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/256.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/256.png new file mode 100644 index 0000000..ceaf2d8 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/256.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/32 1.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/32 1.png new file mode 100644 index 0000000..3369e33 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/32 1.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/32.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/32.png new file mode 100644 index 0000000..3369e33 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/32.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/512 1.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/512 1.png new file mode 100644 index 0000000..9dc1077 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/512 1.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/512.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/512.png new file mode 100644 index 0000000..9dc1077 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/512.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/64.png b/CodeColors/Assets.xcassets/AppIcon.appiconset/64.png new file mode 100644 index 0000000..855aad6 Binary files /dev/null and b/CodeColors/Assets.xcassets/AppIcon.appiconset/64.png differ diff --git a/CodeColors/Assets.xcassets/AppIcon.appiconset/Contents.json b/CodeColors/Assets.xcassets/AppIcon.appiconset/Contents.json index 3f00db4..4049d51 100644 --- a/CodeColors/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/CodeColors/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,51 +1,61 @@ { "images" : [ { + "filename" : "16.png", "idiom" : "mac", "scale" : "1x", "size" : "16x16" }, { + "filename" : "32 1.png", "idiom" : "mac", "scale" : "2x", "size" : "16x16" }, { + "filename" : "32.png", "idiom" : "mac", "scale" : "1x", "size" : "32x32" }, { + "filename" : "64.png", "idiom" : "mac", "scale" : "2x", "size" : "32x32" }, { + "filename" : "128.png", "idiom" : "mac", "scale" : "1x", "size" : "128x128" }, { + "filename" : "256 1.png", "idiom" : "mac", "scale" : "2x", "size" : "128x128" }, { + "filename" : "256.png", "idiom" : "mac", "scale" : "1x", "size" : "256x256" }, { + "filename" : "512.png", "idiom" : "mac", "scale" : "2x", "size" : "256x256" }, { + "filename" : "512 1.png", "idiom" : "mac", "scale" : "1x", "size" : "512x512" }, { + "filename" : "1024.png", "idiom" : "mac", "scale" : "2x", "size" : "512x512" diff --git a/CodeColors_Silicon_oct2024.zip b/CodeColors_Silicon_oct2024.zip new file mode 100644 index 0000000..56d714b Binary files /dev/null and b/CodeColors_Silicon_oct2024.zip differ diff --git a/CodeColors_Universal_Binary_oct2024.zip b/CodeColors_Universal_Binary_oct2024.zip new file mode 100644 index 0000000..dd87bf5 Binary files /dev/null and b/CodeColors_Universal_Binary_oct2024.zip differ diff --git a/QuickCodeColorLook/CodeContentLoader.swift b/QuickCodeColorLook/CodeContentLoader.swift index b1a8f03..b1ea9ef 100644 --- a/QuickCodeColorLook/CodeContentLoader.swift +++ b/QuickCodeColorLook/CodeContentLoader.swift @@ -11,7 +11,7 @@ class CodeContentLoader: ObservableObject { private var shouldCancel = false - func loadFile(at url: URL, maxFileSize: Int64 = 50 * 1024 * 1024) { + func loadFile(at url: URL, maxFileSize: Int64 = 5 * 1024 * 1024) { self.isLoading = true self.shouldCancel = false self.attributedContent = AttributedString() diff --git a/logo.png b/logo.png index ecc973c..69ac0dd 100644 Binary files a/logo.png and b/logo.png differ