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

[XM] Fix dontlink by fixing some NSAccessibility binding mistakes #143

Merged
merged 6 commits into from
Jun 8, 2016

Conversation

chamons
Copy link
Contributor

@chamons chamons commented Jun 7, 2016

This commit was not run against dontlink and sadness occurred: f535df6

This fixes things up.

I did not want to expose the previously named NSObjectAccessibilityExtensions on NSObject, even if that's what the header says, since that will really dirty up auto complete. Oh and:

BOOL oDoes = [o respondsToSelector:@selector(accessibilityHitTest:)]; // NSObject * o - NO
BOOL vDoes = [v respondsToSelector:@selector(accessibilityHitTest:)]; // NSView * v - YES

So I did a copy/paste. Which is terrible. Not sure a better way (open to suggestions).

@@ -22049,7 +22049,7 @@ partial interface NSAccessibilityAttributes {
[Field ("NSAccessibilityDisclosedRowsAttribute")]
NSString DisclosedRowsAttribute { get; }

[Field ("NSAccessibilityDisclosedByRowsAttribute")]
[Field ("NSAccessibilityDisclosedByRowAttribute")]
NSString DisclosedByRowsAttribute { get; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Managed name should be fixed too (extra s)

@spouliot
Copy link
Contributor

spouliot commented Jun 7, 2016

IIRC you can just create an interface without any attribute and have it inlined (or I dreamt that feature).

@chamons
Copy link
Contributor Author

chamons commented Jun 7, 2016

@spouliot I could have sworn I tried that, but testing suggests I didn't. Let me rework...

@xamarin-release-manager
Copy link
Collaborator

Build success

@spouliot
Copy link
Contributor

spouliot commented Jun 7, 2016

LGTM if dontlink-mac is happy :)

@xamarin-release-manager
Copy link
Collaborator

Build success

1 similar comment
@monojenkins
Copy link
Collaborator

Build success

@rolfbjarne
Copy link
Member

LGTM.

@chamons chamons merged commit 05bedce into master Jun 8, 2016
@chamons chamons deleted the mac_dontlink_fixes branch June 8, 2016 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants