Skip to content
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

[UIKit] Inline the UITraitChangeObservable protocol into the classes that implement it. Fixes #20265. #21676

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 21, 2024

  1. [UIKit] Inline the UITraitChangeObservable protocol into the classes …

    …that implement it. Fixes #20265.
    
    This also required fixing:
    
    * A bug in the static registrar where we'd ignore the generic parameters in a method
      when looking for methods implementing an interface.
    
    * A bug in the generator where we'd throw You_Should_Not_Call_base_In_This_Method()
      in some cases where we shouldn't.
    
    Also:
    
    * Enable nullability and fix any resulting issues.
    * Clean up some legacy code we don't need anymore.
    
    Ref: #19410 (comment)
    
    Fixes #20265.
    rolfbjarne committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    2bfed6b View commit details
    Browse the repository at this point in the history
  2. Auto-format source code

    GitHub Actions Autoformatter committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    03c1346 View commit details
    Browse the repository at this point in the history