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

UIView.HitTest should have a nullable return #19019

Closed
mattleibow opened this issue Sep 13, 2023 · 0 comments · Fixed by #19025
Closed

UIView.HitTest should have a nullable return #19019

mattleibow opened this issue Sep 13, 2023 · 0 comments · Fixed by #19025
Labels
bug If an issue is a bug or a pull request a bug fix
Milestone

Comments

@mattleibow
Copy link
Member

Steps to Reproduce

I am using .NET 7 (and the same code compiles on .NET 8 so I assume the same) and I see I have to do weird things for UIVIew.HitTest. The return type is not nullable and thus is needing a bunch of null! returns.

The Apple docs also show it as nullable: https://developer.apple.com/documentation/uikit/uiview/1622469-hittest

rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this issue Sep 14, 2023
@rolfbjarne rolfbjarne added the bug If an issue is a bug or a pull request a bug fix label Sep 14, 2023
@rolfbjarne rolfbjarne added this to the Future milestone Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug If an issue is a bug or a pull request a bug fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants