From 73965aa07c7d66644f6f046abfdc3ae0192eed58 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 27 Oct 2024 22:04:35 -0600 Subject: logo and menubaricon --- .../Assets.xcassets/AppIcon.appiconset/128.png | Bin 0 -> 11153 bytes iTexSnip/Assets.xcassets/AppIcon.appiconset/16.png | Bin 0 -> 719 bytes .../Assets.xcassets/AppIcon.appiconset/256 1.png | Bin 0 -> 42897 bytes .../Assets.xcassets/AppIcon.appiconset/256.png | Bin 0 -> 42897 bytes .../Assets.xcassets/AppIcon.appiconset/32 1.png | Bin 0 -> 1665 bytes iTexSnip/Assets.xcassets/AppIcon.appiconset/32.png | Bin 0 -> 1665 bytes .../Assets.xcassets/AppIcon.appiconset/512 1.png | Bin 0 -> 160948 bytes .../Assets.xcassets/AppIcon.appiconset/512.png | Bin 0 -> 160948 bytes iTexSnip/Assets.xcassets/AppIcon.appiconset/64.png | Bin 0 -> 4007 bytes .../AppIcon.appiconset/Contents.json | 10 ++ .../AppIcon.appiconset/iTexSnip_Logo.png | Bin 0 -> 463504 bytes .../Contents.json | 12 --- .../custom.scissors.rectangle.svg | 116 --------------------- .../menubarIcon.symbolset/Contents.json | 12 +++ .../custom.scissors.rectangle.svg | 116 +++++++++++++++++++++ iTexSnip/iTexSnipApp.swift | 7 +- 16 files changed, 143 insertions(+), 130 deletions(-) create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/128.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/16.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/256 1.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/256.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/32 1.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/32.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/512 1.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/512.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/64.png create mode 100644 iTexSnip/Assets.xcassets/AppIcon.appiconset/iTexSnip_Logo.png delete mode 100644 iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/Contents.json delete mode 100644 iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/custom.scissors.rectangle.svg create mode 100644 iTexSnip/Assets.xcassets/menubarIcon.symbolset/Contents.json create mode 100644 iTexSnip/Assets.xcassets/menubarIcon.symbolset/custom.scissors.rectangle.svg diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/128.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/128.png new file mode 100644 index 0000000..8ea21db Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/128.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/16.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/16.png new file mode 100644 index 0000000..2b3dc73 Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/16.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/256 1.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/256 1.png new file mode 100644 index 0000000..d03c658 Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/256 1.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/256.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/256.png new file mode 100644 index 0000000..d03c658 Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/256.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/32 1.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/32 1.png new file mode 100644 index 0000000..493b4fb Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/32 1.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/32.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/32.png new file mode 100644 index 0000000..493b4fb Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/32.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/512 1.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/512 1.png new file mode 100644 index 0000000..4b63560 Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/512 1.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/512.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/512.png new file mode 100644 index 0000000..4b63560 Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/512.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/64.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/64.png new file mode 100644 index 0000000..b65788a Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/64.png differ diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/Contents.json b/iTexSnip/Assets.xcassets/AppIcon.appiconset/Contents.json index 3f00db4..06dbfed 100644 --- a/iTexSnip/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/iTexSnip/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 1.png", "idiom" : "mac", "scale" : "2x", "size" : "256x256" }, { + "filename" : "512.png", "idiom" : "mac", "scale" : "1x", "size" : "512x512" }, { + "filename" : "itexsnip_logo.png", "idiom" : "mac", "scale" : "2x", "size" : "512x512" diff --git a/iTexSnip/Assets.xcassets/AppIcon.appiconset/iTexSnip_Logo.png b/iTexSnip/Assets.xcassets/AppIcon.appiconset/iTexSnip_Logo.png new file mode 100644 index 0000000..cd08ae0 Binary files /dev/null and b/iTexSnip/Assets.xcassets/AppIcon.appiconset/iTexSnip_Logo.png differ diff --git a/iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/Contents.json b/iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/Contents.json deleted file mode 100644 index eec908b..0000000 --- a/iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/Contents.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - }, - "symbols" : [ - { - "filename" : "custom.scissors.rectangle.svg", - "idiom" : "universal" - } - ] -} diff --git a/iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/custom.scissors.rectangle.svg b/iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/custom.scissors.rectangle.svg deleted file mode 100644 index 8b93679..0000000 --- a/iTexSnip/Assets.xcassets/custom.scissors.rectangle.symbolset/custom.scissors.rectangle.svg +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - Weight/Scale Variations - Ultralight - Thin - Light - Regular - Medium - Semibold - Bold - Heavy - Black - - - - - - - - - - - Design Variations - Symbols are supported in up to nine weights and three scales. - For optimal layout with text and other symbols, vertically align - symbols with the adjacent text. - - - - - - Margins - Leading and trailing margins on the left and right side of each symbol - can be adjusted by modifying the x-location of the margin guidelines. - Modifications are automatically applied proportionally to all - scales and weights. - - - - Exporting - Symbols should be outlined when exporting to ensure the - design is preserved when submitting to Xcode. - Template v.6.0 - Requires Xcode 16 or greater - Generated from rectangle - Typeset at 100.0 points - Small - Medium - Large - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/iTexSnip/Assets.xcassets/menubarIcon.symbolset/Contents.json b/iTexSnip/Assets.xcassets/menubarIcon.symbolset/Contents.json new file mode 100644 index 0000000..eec908b --- /dev/null +++ b/iTexSnip/Assets.xcassets/menubarIcon.symbolset/Contents.json @@ -0,0 +1,12 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "symbols" : [ + { + "filename" : "custom.scissors.rectangle.svg", + "idiom" : "universal" + } + ] +} diff --git a/iTexSnip/Assets.xcassets/menubarIcon.symbolset/custom.scissors.rectangle.svg b/iTexSnip/Assets.xcassets/menubarIcon.symbolset/custom.scissors.rectangle.svg new file mode 100644 index 0000000..8b93679 --- /dev/null +++ b/iTexSnip/Assets.xcassets/menubarIcon.symbolset/custom.scissors.rectangle.svg @@ -0,0 +1,116 @@ + + + + + + + + + + Weight/Scale Variations + Ultralight + Thin + Light + Regular + Medium + Semibold + Bold + Heavy + Black + + + + + + + + + + + Design Variations + Symbols are supported in up to nine weights and three scales. + For optimal layout with text and other symbols, vertically align + symbols with the adjacent text. + + + + + + Margins + Leading and trailing margins on the left and right side of each symbol + can be adjusted by modifying the x-location of the margin guidelines. + Modifications are automatically applied proportionally to all + scales and weights. + + + + Exporting + Symbols should be outlined when exporting to ensure the + design is preserved when submitting to Xcode. + Template v.6.0 + Requires Xcode 16 or greater + Generated from rectangle + Typeset at 100.0 points + Small + Medium + Large + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/iTexSnip/iTexSnipApp.swift b/iTexSnip/iTexSnipApp.swift index b5937ba..e8b552f 100644 --- a/iTexSnip/iTexSnipApp.swift +++ b/iTexSnip/iTexSnipApp.swift @@ -15,11 +15,14 @@ struct iTexSnipApp: App { // MenuBarView() // .modelContainer(for: ImageSnippet.self) // } - MenuBarExtra("iTexSnip", systemImage: "function") { + MenuBarExtra { MenuBarView() .frame(width: 500, height: 600) .modelContainer(for: ImageSnippet.self) - }.menuBarExtraStyle(.window) + } label: { + Image("menubarIcon") + } + .menuBarExtraStyle(.window) Settings { PreferencesView() } -- cgit v1.2.3