diff --git a/Assets.xcassets/ToolbarChaptersTemplate.imageset/Contents.json b/Assets.xcassets/ToolbarChaptersTemplate.imageset/Contents.json deleted file mode 100644 index 6137a7e..0000000 --- a/Assets.xcassets/ToolbarChaptersTemplate.imageset/Contents.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "ToolbarChaptersTemplate.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "ToolbarChaptersTemplate@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Assets.xcassets/ToolbarChaptersTemplate.imageset/ToolbarChaptersTemplate.png b/Assets.xcassets/ToolbarChaptersTemplate.imageset/ToolbarChaptersTemplate.png deleted file mode 100644 index 7ef3c70..0000000 Binary files a/Assets.xcassets/ToolbarChaptersTemplate.imageset/ToolbarChaptersTemplate.png and /dev/null differ diff --git a/Assets.xcassets/ToolbarChaptersTemplate.imageset/ToolbarChaptersTemplate@2x.png b/Assets.xcassets/ToolbarChaptersTemplate.imageset/ToolbarChaptersTemplate@2x.png deleted file mode 100644 index b3d5dee..0000000 Binary files a/Assets.xcassets/ToolbarChaptersTemplate.imageset/ToolbarChaptersTemplate@2x.png and /dev/null differ diff --git a/Assets.xcassets/ToolbarRemoveTemplate.imageset/Contents.json b/Assets.xcassets/ToolbarRemoveTemplate.imageset/Contents.json deleted file mode 100644 index 7d2e823..0000000 --- a/Assets.xcassets/ToolbarRemoveTemplate.imageset/Contents.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "ToolbarRemoveTemplate.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "ToolbarRemoveTemplate@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Assets.xcassets/ToolbarRemoveTemplate.imageset/ToolbarRemoveTemplate.png b/Assets.xcassets/ToolbarRemoveTemplate.imageset/ToolbarRemoveTemplate.png deleted file mode 100644 index 033e1f3..0000000 Binary files a/Assets.xcassets/ToolbarRemoveTemplate.imageset/ToolbarRemoveTemplate.png and /dev/null differ diff --git a/Assets.xcassets/ToolbarRemoveTemplate.imageset/ToolbarRemoveTemplate@2x.png b/Assets.xcassets/ToolbarRemoveTemplate.imageset/ToolbarRemoveTemplate@2x.png deleted file mode 100644 index 5f7d1af..0000000 Binary files a/Assets.xcassets/ToolbarRemoveTemplate.imageset/ToolbarRemoveTemplate@2x.png and /dev/null differ diff --git a/Assets.xcassets/close-over.imageset/Contents.json b/Assets.xcassets/close-over.imageset/Contents.json deleted file mode 100644 index 271f908..0000000 --- a/Assets.xcassets/close-over.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "close-over.pdf", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Assets.xcassets/close-over.imageset/close-over.pdf b/Assets.xcassets/close-over.imageset/close-over.pdf deleted file mode 100644 index 07a47c6..0000000 Binary files a/Assets.xcassets/close-over.imageset/close-over.pdf and /dev/null differ diff --git a/Assets.xcassets/close-pressed.imageset/Contents.json b/Assets.xcassets/close-pressed.imageset/Contents.json deleted file mode 100644 index 895d24b..0000000 --- a/Assets.xcassets/close-pressed.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "close-pressed.pdf", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Assets.xcassets/close-pressed.imageset/close-pressed.pdf b/Assets.xcassets/close-pressed.imageset/close-pressed.pdf deleted file mode 100644 index 7ecaed7..0000000 Binary files a/Assets.xcassets/close-pressed.imageset/close-pressed.pdf and /dev/null differ diff --git a/Assets.xcassets/close.imageset/Contents.json b/Assets.xcassets/close.imageset/Contents.json deleted file mode 100644 index d65128a..0000000 --- a/Assets.xcassets/close.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "close.pdf", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Assets.xcassets/close.imageset/close.pdf b/Assets.xcassets/close.imageset/close.pdf deleted file mode 100644 index 7108f98..0000000 Binary files a/Assets.xcassets/close.imageset/close.pdf and /dev/null differ diff --git a/Assets.xcassets/photo.badge.plus.symbolset/Contents.json b/Assets.xcassets/photo.badge.plus.symbolset/Contents.json new file mode 100644 index 0000000..bea9226 --- /dev/null +++ b/Assets.xcassets/photo.badge.plus.symbolset/Contents.json @@ -0,0 +1,12 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "symbols" : [ + { + "filename" : "photo.badge.plus.svg", + "idiom" : "universal" + } + ] +} diff --git a/Assets.xcassets/photo.badge.plus.symbolset/photo.badge.plus.svg b/Assets.xcassets/photo.badge.plus.symbolset/photo.badge.plus.svg new file mode 100644 index 0000000..e502534 --- /dev/null +++ b/Assets.xcassets/photo.badge.plus.symbolset/photo.badge.plus.svg @@ -0,0 +1,160 @@ + + + + + + + + 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.2.0 + Requires Xcode 12 or greater + Generated from photo.badge.plus + Typeset at 100.0 points + Small + Medium + Large + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Assets.xcassets/photo.stack.symbolset/Contents.json b/Assets.xcassets/photo.stack.symbolset/Contents.json new file mode 100644 index 0000000..e1915d8 --- /dev/null +++ b/Assets.xcassets/photo.stack.symbolset/Contents.json @@ -0,0 +1,12 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "symbols" : [ + { + "filename" : "photo.stack.svg", + "idiom" : "universal" + } + ] +} diff --git a/Assets.xcassets/photo.stack.symbolset/photo.stack.svg b/Assets.xcassets/photo.stack.symbolset/photo.stack.svg new file mode 100644 index 0000000..df9d055 --- /dev/null +++ b/Assets.xcassets/photo.stack.symbolset/photo.stack.svg @@ -0,0 +1,160 @@ + + + + + + + + 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.2.0 + Requires Xcode 12 or greater + Generated from photo.stack + Typeset at 100.0 points + Small + Medium + Large + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Classes/DocumentToolbarDelegate.swift b/Classes/DocumentToolbarDelegate.swift index 7a73a8a..8664fe7 100644 --- a/Classes/DocumentToolbarDelegate.swift +++ b/Classes/DocumentToolbarDelegate.swift @@ -31,7 +31,7 @@ class DocumentToolbarDelegate: NSObject, NSToolbarDelegate { return ButtonToolbarItem(itemIdentifier: itemIdentifier, label: NSLocalizedString("Delete", comment: "Toolbar"), toolTip: NSLocalizedString("Delete the selected track", comment: "Toolbar"), - image: "ToolbarRemoveTemplate", + image: "NSRemoveTemplate", symbolName: "minus", action: #selector(DocumentWindowController.deleteTrack(_:))) } else if itemIdentifier == .actions {