-
Notifications
You must be signed in to change notification settings - Fork 519
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
[maccatalyst] UICollectionViewSource is missing methods #11236
Comments
Keep in mind that MacCatalyst support, even for the current (soon legacy) SDK is a preview and incomplete. YMMV. The API surface for iOS and Catalyst are not totally identical. We're trying to solve this by shipping a This special
The above trick was not generating a perfect/total coverage for P3 (it was incomplete at P3 release time). Note that we're still missing some API annotations for Catalyst so it's still possible something will throw (while it should be supported) or crash (because it should be throwing). However it should build fine when Now if you're referencing Q: What assembly are you referencing ? (any build logs?) |
Thanks for the very detailed answer! No worries about the preview state, that's to be expected for sure. I'm not referencing anything specific, aside from The source is basically doing something like this: public partial class MySource : UICollectionViewSource
{
public override void Scrolled(UIScrollView scrollView)
{
InvokeOnScroll();
}
} |
This seems to be because
|
`XAMCORE_3_0` was added in tvOS and watchOS where binary compatibility was not a consideration. The work to update source code for `XAMCORE_3_0` was also minimal. The former is not the always the case for MacCatalyst, while the latter is still true. Fix dotnet#11237 and dotnet#11236
You can see the API in the (just merged) API diff |
Description
The following methods are present in
xamarinios10
andnet6.0-ios
but are not present innet6.0-maccatalyst
:UICollectionViewSource.Scolled
UICollectionViewSource.DraggingStarted
UICollectionViewSource.DraggingEnded
UICollectionViewSource.DidZoom
UICollectionViewSource.WillEndDragging
UICollectionViewSource.DecelerationEnded
UICollectionViewSource.ScrollAnimationEmded
Environment
6.0.100-preview.3.21202.5
The text was updated successfully, but these errors were encountered: