-
-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swizzling of view controllers loadView
that dont implement
loadView`
#4071
Conversation
🚨 Detected changes in high risk code 🚨High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:
|
🚨 Detected changes in high risk code 🚨High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4071 +/- ##
=============================================
+ Coverage 91.187% 91.217% +0.029%
=============================================
Files 611 610 -1
Lines 48126 48039 -87
Branches 17283 17225 -58
=============================================
- Hits 43885 43820 -65
+ Misses 4148 4127 -21
+ Partials 93 92 -1
... and 25 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
🚨 Detected changes in high risk code 🚨High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:
|
🚨 Detected changes in high risk code 🚨High-risk code can easily blow up and is hard to test. We had severe bugs in the past. Be extra careful when changing these files, and have an extra careful look at these:
|
Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
4b08ceb | 1237.75 ms | 1249.61 ms | 11.86 ms |
2c603bf | 1226.66 ms | 1243.06 ms | 16.40 ms |
4b1a58e | 1237.39 ms | 1265.63 ms | 28.23 ms |
881a955 | 1231.92 ms | 1247.90 ms | 15.98 ms |
596ccc1 | 1221.57 ms | 1236.82 ms | 15.25 ms |
189b629 | 1211.16 ms | 1224.30 ms | 13.14 ms |
e8b11f8 | 1233.66 ms | 1249.74 ms | 16.08 ms |
7b5ebd9 | 1195.55 ms | 1214.49 ms | 18.94 ms |
01a28a9 | 1237.33 ms | 1256.52 ms | 19.20 ms |
6e625c5 | 1243.47 ms | 1243.58 ms | 0.11 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
4b08ceb | 20.76 KiB | 431.99 KiB | 411.23 KiB |
2c603bf | 21.58 KiB | 417.88 KiB | 396.30 KiB |
4b1a58e | 22.85 KiB | 407.02 KiB | 384.17 KiB |
881a955 | 22.85 KiB | 407.63 KiB | 384.78 KiB |
596ccc1 | 22.84 KiB | 401.44 KiB | 378.60 KiB |
189b629 | 20.76 KiB | 399.69 KiB | 378.93 KiB |
e8b11f8 | 22.85 KiB | 411.92 KiB | 389.07 KiB |
7b5ebd9 | 21.58 KiB | 424.30 KiB | 402.71 KiB |
01a28a9 | 22.85 KiB | 405.39 KiB | 382.55 KiB |
6e625c5 | 22.85 KiB | 413.41 KiB | 390.56 KiB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comment 👍
TableViewController is now initialized from a Nib file with an extra view. This is an additional test for the changes introduced in #4071.
📜 Description
Stop swizzling
loadView
function of UIViewControllers that doesn't implement it.💡 Motivation and Context
close #4070
💚 How did you test it?
In the sample.
Current ui tests already tackles this.
📝 Checklist
You have to check all boxes before merging:
sendDefaultPII
is enabled.🔮 Next steps