Create hello-platform for Windows #10
No files matched your search
@@ -9,7 +9,7 @@ struct HPApp: App {
|
|||||||
WindowGroup("Hello platform") {
|
WindowGroup("Hello platform") {
|
||||||
HPView(delegate.hpVM)
|
HPView(delegate.hpVM)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
delegate.setWindowIcons()
|
delegate.setup()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,9 +5,10 @@ final class HPAppDelegate {
|
|||||||
let hp = HPComponent()
|
let hp = HPComponent()
|
||||||
let hpVM = HPVM()
|
let hpVM = HPVM()
|
||||||
|
|
||||||
init() {
|
func setup() {
|
||||||
otherSetupConsoleLogging(hp.ctrl, "HP")
|
otherSetupConsoleLogging(hp.ctrl, "HP")
|
||||||
hp.setup()
|
hp.setup()
|
||||||
|
setWindowIcons()
|
||||||
}
|
}
|
||||||
|
|
||||||
func setWindowIcons() {
|
func setWindowIcons() {
|
||||||
|
|||||||
Reference in new issue
Block a user