We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
viewDidLoad
ViewController
1 parent ca3d726 commit 30623a4Copy full SHA for 30623a4
Sources/SwiftWin32/Windows and Screens/Window.swift
@@ -150,6 +150,7 @@ public class Window: View {
150
public var rootViewController: ViewController? {
151
didSet {
152
self.rootViewController?.view = self
153
+ self.rootViewController?.viewDidLoad()
154
155
if let builder = _MenuBuilder(for: self) {
156
self.rootViewController?.buildMenu(with: builder)
0 commit comments