Skip to content

Commit da56d08

Browse files
committed
Updates
1 parent 189bf21 commit da56d08

File tree

7 files changed

+331
-12
lines changed

7 files changed

+331
-12
lines changed

RuntimeViewerUsingAppKit/RuntimeViewerUsingAppKit/App/AppDelegate.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
1717
try await RuntimeEngineManager.shared.launchSystemRuntimeEngines()
1818
} catch {
1919
NSLog("%@", error as NSError)
20-
NSAlert(error: error).runModal()
2120
}
2221
}
2322
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
},
6+
"symbols" : [
7+
{
8+
"filename" : "app.fill.svg",
9+
"idiom" : "universal"
10+
}
11+
]
12+
}

RuntimeViewerUsingAppKit/RuntimeViewerUsingAppKit/Assets.xcassets/app.fill.symbolset/app.fill.svg

Lines changed: 151 additions & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
},
6+
"symbols" : [
7+
{
8+
"filename" : "app.svg",
9+
"idiom" : "universal"
10+
}
11+
]
12+
}

RuntimeViewerUsingAppKit/RuntimeViewerUsingAppKit/Assets.xcassets/app.symbolset/app.svg

Lines changed: 151 additions & 0 deletions
Loading

RuntimeViewerUsingAppKit/RuntimeViewerUsingAppKit/Main/MainToolbarController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension RuntimeSource: MainMenuItemRepresentable {
2323
if identifier == .macCatalyst {
2424
return .symbol(systemName: .display)
2525
} else {
26-
return .symbol(systemName: .app)
26+
return .symbol(name: RuntimeViewerSymbols.app)
2727
}
2828
case .bonjourClient(_):
2929
return .symbol(systemName: .bonjour)

RuntimeViewerUsingAppKit/RuntimeViewerUsingAppKit/Resources/RuntimeViewerSymbols.swift

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,10 @@
88
import Foundation
99
import SFSymbol
1010

11-
enum RuntimeViewerSymbols: SFSymbol.SymbolName {
11+
enum RuntimeViewerSymbols: String, SFSymbol.SymbolName {
1212
case inject
13-
14-
15-
var rawValue: String {
16-
switch self {
17-
case .inject:
18-
"inject"
19-
}
20-
}
21-
13+
case app
14+
case appFill = "app.fill"
15+
2216
var bundle: Bundle? { .main }
2317
}

0 commit comments

Comments
 (0)