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

[MapKit] Add support for Xcode 15 beta 7 #18877

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/MapKit/MKEnums.cs
Expand Up @@ -64,7 +64,7 @@ public enum MKDistanceFormatterUnitStyle : ulong {
}

// NSInteger -> MKMapView.h
[NoWatch]
[Watch (10, 0)]
[MacCatalyst (13, 1)]
[Native]
public enum MKOverlayLevel : long {
Expand Down
24 changes: 24 additions & 0 deletions src/mapkit.cs
Expand Up @@ -740,6 +740,14 @@ interface MKMapView {
[NoWatch, NoTV, NoiOS, Mac (11, 0)]
[Export ("showsPitchControl")]
bool ShowsPitchControl { get; set; }

[TV (17, 0), NoWatch, MacCatalyst (17, 0), Mac (14, 0), iOS (17, 0)]
[Export ("pitchButtonVisibility", ArgumentSemantic.Assign)]
MKFeatureVisibility PitchButtonVisibility { get; set; }

[TV (17, 0), NoWatch, MacCatalyst (17, 0), Mac (14, 0), iOS (17, 0)]
[Export ("showsUserTrackingButton")]
bool ShowsUserTrackingButton { get; set; }
}

[Static]
Expand Down Expand Up @@ -1689,6 +1697,10 @@ partial interface MKMapSnapshotOptions : NSCopying {
[Export ("region", ArgumentSemantic.Assign)]
MKCoordinateRegion Region { get; set; }

[Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'PreferredConfiguration' instead.")]
[Deprecated (PlatformName.iOS, 17, 0, message: "Use 'PreferredConfiguration' instead.")]
[Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'PreferredConfiguration' instead.")]
[Deprecated (PlatformName.TvOS, 17, 0, message: "Use 'PreferredConfiguration' instead.")]
[Export ("mapType", ArgumentSemantic.Assign)]
MKMapType MapType { get; set; }

Expand All @@ -1710,6 +1722,10 @@ partial interface MKMapSnapshotOptions : NSCopying {
[Export ("showsPointsOfInterest")]
bool ShowsPointsOfInterest { get; set; }

[Deprecated (PlatformName.MacOSX, 14, 0)]
[Deprecated (PlatformName.iOS, 17, 0)]
[Deprecated (PlatformName.MacCatalyst, 17, 0)]
[Deprecated (PlatformName.TvOS, 17, 0)]
[Export ("showsBuildings")]
bool ShowsBuildings { get; set; }

Expand All @@ -1720,6 +1736,10 @@ partial interface MKMapSnapshotOptions : NSCopying {
[NullAllowed, Export ("appearance", ArgumentSemantic.Strong)]
NSAppearance Appearance { get; set; }

[Deprecated (PlatformName.MacOSX, 14, 0)]
[Deprecated (PlatformName.iOS, 17, 0)]
[Deprecated (PlatformName.MacCatalyst, 17, 0)]
[Deprecated (PlatformName.TvOS, 17, 0)]
[TV (13, 0), NoWatch, iOS (13, 0)]
[MacCatalyst (13, 1)]
[NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)]
Expand All @@ -1729,6 +1749,10 @@ partial interface MKMapSnapshotOptions : NSCopying {
[MacCatalyst (13, 1)]
[Export ("traitCollection", ArgumentSemantic.Copy)]
UITraitCollection TraitCollection { get; set; }

[TV (17, 0), NoWatch, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)]
[Export ("preferredConfiguration", ArgumentSemantic.Copy)]
MKMapConfiguration PreferredConfiguration { get; set; }
}

[NoWatch]
Expand Down
121 changes: 0 additions & 121 deletions tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-MapKit.todo

This file was deleted.

12 changes: 0 additions & 12 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-MapKit.todo

This file was deleted.

12 changes: 0 additions & 12 deletions tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.todo

This file was deleted.

12 changes: 0 additions & 12 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.todo

This file was deleted.

12 changes: 0 additions & 12 deletions tests/xtro-sharpie/iOS-MapKit.todo

This file was deleted.

12 changes: 0 additions & 12 deletions tests/xtro-sharpie/macOS-MapKit.todo

This file was deleted.

12 changes: 0 additions & 12 deletions tests/xtro-sharpie/tvOS-MapKit.todo

This file was deleted.

1 change: 0 additions & 1 deletion tests/xtro-sharpie/watchOS-MapKit.todo

This file was deleted.