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
[45243] NSObject Binding methods should use NSString for the binding, not string #992
Conversation
Build success |
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.
The patch is incorrect because using [Wrap]
won't keep the existing API virtual
, which means breaking changes. See API diff output (full list jenkins) like:
Modified methods:
public virtual void Bind (string binding, NSObject observable, string keyPath, NSDictionary options)
public virtual NSDictionary BindingInfo (string binding)
public virtual NSObject[] BindingOptionDescriptions (string aBinding)
public virtual MonoMac.ObjCRuntime.Class BindingValueClass (string binding)
public virtual void Unbind (string binding)
NSString[] ExposedBindings (); | ||
#else | ||
[Export ("exposedBindings")] | ||
NSString[] ExposedBindings; |
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.
I think you're missing a { get; }
there
Is there a way to keep the old versions and still bind the new ones to be available at the same time? |
For the API listed above (i.e. the IOW it's the new |
Build success |
@chamons macOS specific fix, please review too :) |
@timrisi Assuming API diff says you didn't break anything 👍 |
@timrisi please follow up on last comment, thanks! |
Namespace Foundation Type Changed: Foundation.NSObject Obsoleted methods:
Added methods:
|
No description provided.