compnerd / swift-win32

A Windows application framework for Swift
https://compnerd.github.io/swift-win32/
BSD 3-Clause "New" or "Revised" License
1.1k stars 69 forks source link

Windows and Screens: trigger a `viewDidLoad` in `ViewController` #753

Closed compnerd closed 1 year ago

compnerd commented 1 year ago

When the Window is assigned a rootViewController, we should trigger a viewDidLoad event.

codecov[bot] commented 1 year ago

Codecov Report

Merging #753 (38c1642) into main (bbb70fd) will increase coverage by 0.03%. Report is 1 commits behind head on main. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #753      +/-   ##
==========================================
+ Coverage   26.46%   26.49%   +0.03%     
==========================================
  Files         130      130              
  Lines        5359     5360       +1     
==========================================
+ Hits         1418     1420       +2     
+ Misses       3941     3940       -1     
Files Changed Coverage Δ
...ources/SwiftWin32/Windows and Screens/Window.swift 30.20% <100.00%> (+0.47%) :arrow_up:

... and 1 file with indirect coverage changes