-
Notifications
You must be signed in to change notification settings - Fork 514
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
[DataDetection] Add new framework for Xcode 13 beta 3. #12259
[DataDetection] Add new framework for Xcode 13 beta 3. #12259
Conversation
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.
It's not clear how those API can be used since there's no actions, just properties.
Maybe beta 4 will make it usable ?
Until then I'm not sure we should be adding it (in case it's not mean to be public).
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
base does not have a default ctor
I don't see how having one here would be helpful (since you can't set any of the values)
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
[DisableDefaultCtor]
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
[DisableDefaultCtor]
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
[DisableDefaultCtor]
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
[DisableDefaultCtor]
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
[DisableDefaultCtor]
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
[DisableDefaultCtor]
} | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof (DDDetectedValue))] |
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.
[DisableDefaultCtor]
@spouliot will address the review and will set it to do-not-merge |
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results2 tests failed, 90 tests passed.Failed tests
Pipeline on Agent XAMBOT-1100.BigSur' |
@@ -2051,6 +2051,7 @@ IOS_FRAMEWORKS = \ | |||
CoreSpotlight \ | |||
CoreTelephony \ | |||
CoreText \ | |||
DataDetection \ |
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.
You need to add the framework to MACCATALYST_FRAMEWORKS
too if you want these bindings in Mac Catalyst (like your availability attributes seem to indicate).
namespace DataDetection { | ||
|
||
[iOS (15,0), MacCatalyst (15,0)] | ||
[BaseType (typeof(NSObject))] |
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.
[BaseType (typeof(NSObject))] | |
[BaseType (typeof (NSObject))] |
small
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.
Looks good after other fixes!
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results2 tests failed, 91 tests passed.Failed tests
Pipeline on Agent XAMBOT-1096.BigSur' |
Never got to land, makes no sense to try and get it in in the current state. |
No description provided.