You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Override" is the wrong word (since existing calls to -dismissViewControllerAnimated:completion: won't start calling your new method), but I would expect overload checking to complain here. Maybe it's because it's in a different module that it doesn't.
I agree that I would expect the same kind of error that you get when you try to do the same thing with "func viewDidLoad() { }" - otherwise, you can sneak a file like this into a module and break all dismiss calls.
True, but the @nonobjc is a bit easier to spot as a potential issue. For context, this is an issue I saw in a migration from Swift 2.3 to Swift 3. There was a helper method on a UIViewController extension that was named this way pre-migration, which caused all dismiss calls to stop working after the Swift 3 migration until this issue was identified. Might be an issue that is harder to detect for less obvious use cases.
Additional Detail from JIRA
md5: 632cfe1083a0b8240852665f12f1a275
is duplicated by:
Issue Description:
Here's a quick example:
The text was updated successfully, but these errors were encountered: