diff --git a/src/MapKit/MKEnums.cs b/src/MapKit/MKEnums.cs index df92c55948a1..81e6afd75060 100644 --- a/src/MapKit/MKEnums.cs +++ b/src/MapKit/MKEnums.cs @@ -112,7 +112,14 @@ public enum MKPinAnnotationColor : ulong { [NoWatch] [Native] public enum MKUserTrackingMode : ulong { - None, Follow, FollowWithHeading + None, + Follow, +#if !XAMCORE_5_0 && !(IOS || MACCATALYST) + [Obsolete ("This is only available on iOS and MacCatalyst.")] + FollowWithHeading, +#elif IOS || MACCATALYST + FollowWithHeading, +#endif } [TV (9,2)][NoWatch][iOS (9,3)] @@ -168,6 +175,58 @@ public enum MKLocalSearchResultType : ulong PointOfInterest = 1 << 1, } + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Native] + public enum MKDirectionsRoutePreference : long + { + Any = 0, + Avoid, + } + + [Flags] + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Native] + public enum MKMapFeatureOptions : long + { + PointsOfInterest = 1 << (int)MKMapFeatureType.PointOfInterest, + Territories = 1 << (int)MKMapFeatureType.Territory, + PhysicalFeatures = 1 << (int)MKMapFeatureType.PhysicalFeature, + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Native] + public enum MKLookAroundBadgePosition : long + { + TopLeading = 0, + TopTrailing, + BottomTrailing, + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Native] + public enum MKMapElevationStyle : long + { + Flat = 0, + Realistic, + } + + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Native] + public enum MKMapFeatureType : long + { + PointOfInterest = 0, + Territory, + PhysicalFeature, + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Native] + public enum MKStandardMapEmphasisStyle : long + { + Default = 0, + Muted, + } + #if !WATCH [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] public enum MKPointOfInterestCategory { diff --git a/src/mapkit.cs b/src/mapkit.cs index df73539b7533..d21cd50040d6 100644 --- a/src/mapkit.cs +++ b/src/mapkit.cs @@ -35,6 +35,7 @@ using UIScene=AppKit.NSColor; using UIControl = AppKit.NSControl; using UIBarButtonItem = Foundation.NSObject; +using UIViewController = AppKit.NSViewController; #else using NSAppearance = Foundation.NSObject; #endif @@ -54,6 +55,7 @@ using MKTileOverlayPath = Foundation.NSObject; using UIBarButtonItem = Foundation.NSObject; using MKCircle = Foundation.NSObject; +using UIViewController = Foundation.NSObject; #endif #if TVOS using CNPostalAddress = Foundation.NSObject; @@ -296,6 +298,14 @@ interface MKDirectionsRequest { [NullAllowed] // by default this property is null [iOS (7,0), Export ("arrivalDate", ArgumentSemantic.Copy)] NSDate ArrivalDate { get; set; } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Export ("tollPreference", ArgumentSemantic.Assign)] + MKDirectionsRoutePreference TollPreference { get; set; } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Export ("highwayPreference", ArgumentSemantic.Assign)] + MKDirectionsRoutePreference HighwayPreference { get; set; } } #endif // !WATCH @@ -431,6 +441,14 @@ interface MKMapView { [Export ("mapType")] MKMapType MapType { get; set; } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Export ("preferredConfiguration", ArgumentSemantic.Copy)] + MKMapConfiguration PreferredConfiguration { get; set; } + + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Export ("selectableMapFeatures", ArgumentSemantic.Assign)] + MKMapFeatureOptions SelectableMapFeatures { get; set; } [Export ("region")] MKCoordinateRegion Region { get; set; } @@ -752,6 +770,14 @@ interface MKMapViewDelegate { [Export ("mapView:didDeselectAnnotationView:"), EventArgs ("MKAnnotationView")] void DidDeselectAnnotationView (MKMapView mapView, MKAnnotationView view); + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Export ("mapView:didSelectAnnotation:"), EventArgs ("MKAnnotation")] + void DidSelectAnnotation (MKMapView mapView, IMKAnnotation annotation); + + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Export ("mapView:didDeselectAnnotation:"), EventArgs ("MKAnnotation")] + void DidDeselectAnnotation (MKMapView mapView, IMKAnnotation annotation); + [Export ("mapViewWillStartLocatingUser:")] void WillStartLocatingUser (MKMapView mapView); @@ -792,9 +818,10 @@ interface MKMapViewDelegate { [TV (9,2)] [Mac (10,9)] [NoWatch] - [Deprecated (PlatformName.MacOSX, 12, 0)] - [Deprecated (PlatformName.iOS, 15, 0)] - [Deprecated (PlatformName.TvOS, 15, 0)] + [Deprecated (PlatformName.MacOSX, 13,0, message: "Use MKMarkerAnnotationView instead.")] + [Deprecated (PlatformName.iOS, 16,0, message: "Use MKMarkerAnnotationView instead.")] + [Deprecated (PlatformName.MacCatalyst, 16,0, message: "Use MKMarkerAnnotationView instead.")] + [Deprecated (PlatformName.TvOS, 16,0, message: "Use MKMarkerAnnotationView instead.")] interface MKPinAnnotationView { [Export ("initWithFrame:")] NativeHandle Constructor (CGRect frame); @@ -1435,6 +1462,14 @@ partial interface MKRoute { [Export ("steps")] MKRouteStep [] Steps { get; } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Export ("hasTolls")] + bool HasTolls { get; } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Export ("hasHighways")] + bool HasHighways { get; } } [NoWatch] @@ -1532,6 +1567,11 @@ partial interface MKMapCamera : NSCopying, NSSecureCoding { [TV (13, 0), NoWatch, Mac (10, 15), iOS (13, 0)] [Export ("centerCoordinateDistance")] double CenterCoordinateDistance { get; set; } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [Static] + [Export ("cameraLookingAtMapItem:forViewSize:allowPitch:")] + MKMapCamera CameraLookingAt (MKMapItem mapItem, CGSize viewSize, bool allowPitch); } [NoWatch] @@ -1747,6 +1787,10 @@ partial interface MKOverlayRenderer { [Export ("contentScaleFactor")] nfloat ContentScaleFactor { get; } + + [NoMac, iOS (16,0), NoMacCatalyst, NoWatch, TV (16,0)] + [Export ("blendMode", ArgumentSemantic.Assign)] + CGBlendMode BlendMode { get; set; } } [NoWatch] @@ -2292,4 +2336,261 @@ interface MKZoomControl MKMapView MapView { get; set; } } + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [BaseType (typeof (MKMapConfiguration))] + [DesignatedDefaultCtor] + interface MKHybridMapConfiguration + { + [Export ("initWithElevationStyle:")] + NativeHandle Constructor (MKMapElevationStyle elevationStyle); + + [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] + MKPointOfInterestFilter PointOfInterestFilter { get; set; } + + [Export ("showsTraffic")] + bool ShowsTraffic { get; set; } + } + + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKIconStyle + { + [Export ("backgroundColor")] + UIColor BackgroundColor { get; } + + [Export ("image")] + UIImage Image { get; } + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [BaseType (typeof (MKMapConfiguration))] + [DesignatedDefaultCtor] + interface MKImageryMapConfiguration + { + [Export ("initWithElevationStyle:")] + NativeHandle Constructor (MKMapElevationStyle elevationStyle); + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKLookAroundScene : NSCopying { } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKLookAroundSceneRequest + { + [Export ("initWithCoordinate:")] + [DesignatedInitializer] + NativeHandle Constructor (CLLocationCoordinate2D coordinate); + + [Export ("initWithMapItem:")] + [DesignatedInitializer] + NativeHandle Constructor (MKMapItem mapItem); + + [Export ("coordinate")] + CLLocationCoordinate2D Coordinate { get; } + + [NullAllowed, Export ("mapItem")] + MKMapItem MapItem { get; } + + [Export ("isCancelled")] + bool IsCancelled { get; } + + [Export ("isLoading")] + bool IsLoading { get; } + + [Async] + [Export ("getSceneWithCompletionHandler:")] + void GetScene (Action completionHandler); + + [Export ("cancel")] + void Cancel (); + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKLookAroundSnapshot + { + [Export ("image")] + UIImage Image { get; } + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + interface MKLookAroundSnapshotOptions + { + [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] + MKPointOfInterestFilter PointOfInterestFilter { get; set; } + + [Export ("size", ArgumentSemantic.Assign)] + CGSize Size { get; set; } + + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [Export ("traitCollection", ArgumentSemantic.Copy)] + UITraitCollection TraitCollection { get; set; } + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKLookAroundSnapshotter + { + [Export ("initWithScene:options:")] + [DesignatedInitializer] + NativeHandle Constructor (MKLookAroundScene scene, MKLookAroundSnapshotOptions options); + + [Async] + [Export ("getSnapshotWithCompletionHandler:")] + void GetSnapshot (Action completionHandler); + + [Export ("cancel")] + void Cancel (); + + [Export ("isLoading")] + bool IsLoading { get; } + } + + interface IMKLookAroundViewControllerDelegate { } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] +#if NET + [Protocol, Model] +#else + [Protocol, Model (AutoGeneratedName = true)] +#endif + [BaseType (typeof (NSObject))] + interface MKLookAroundViewControllerDelegate + { + [Export ("lookAroundViewControllerWillUpdateScene:")] + void WillUpdateScene (MKLookAroundViewController viewController); + + [Export ("lookAroundViewControllerDidUpdateScene:")] + void DidUpdateScene (MKLookAroundViewController viewController); + + [Export ("lookAroundViewControllerWillPresentFullScreen:")] + void WillPresentFullScreen (MKLookAroundViewController viewController); + + [Export ("lookAroundViewControllerDidPresentFullScreen:")] + void DidPresentFullScreen (MKLookAroundViewController viewController); + + [Export ("lookAroundViewControllerWillDismissFullScreen:")] + void WillDismissFullScreen (MKLookAroundViewController viewController); + + [Export ("lookAroundViewControllerDidDismissFullScreen:")] + void DidDismissFullScreen (MKLookAroundViewController viewController); + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (UIViewController))] + interface MKLookAroundViewController : NSSecureCoding, NSCoding + { + [Export ("initWithScene:")] + [DesignatedInitializer] + NativeHandle Constructor (MKLookAroundScene scene); + + [Export ("initWithNibName:bundle:")] + [DesignatedInitializer] + NativeHandle Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle nibBundle); + + [Wrap ("WeakDelegate")] + [NullAllowed] + IMKLookAroundViewControllerDelegate Delegate { get; set; } + + [NullAllowed, Export ("delegate", ArgumentSemantic.Weak)] + NSObject WeakDelegate { get; set; } + + [NullAllowed, Export ("scene", ArgumentSemantic.Copy)] + MKLookAroundScene Scene { get; set; } + + [Export ("navigationEnabled")] + bool NavigationEnabled { [Bind ("isNavigationEnabled")] get; set; } + + [Export ("showsRoadLabels")] + bool ShowsRoadLabels { get; set; } + + [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] + MKPointOfInterestFilter PointOfInterestFilter { get; set; } + + [Export ("badgePosition", ArgumentSemantic.Assign)] + MKLookAroundBadgePosition BadgePosition { get; set; } + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKMapConfiguration : NSSecureCoding, NSCopying + { + [Export ("elevationStyle", ArgumentSemantic.Assign)] + MKMapElevationStyle ElevationStyle { get; set; } + } + + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKMapFeatureAnnotation : MKAnnotation + { + [Export ("featureType")] + MKMapFeatureType FeatureType { get; } + + [NullAllowed, Export ("iconStyle")] + MKIconStyle IconStyle { get; } + + [BindAs (typeof (MKPointOfInterestCategory))] + [NullAllowed, Export ("pointOfInterestCategory")] + NSString PointOfInterestCategory { get; } + } + + [NoMac, iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV] + [BaseType (typeof (NSObject))] + [DisableDefaultCtor] + interface MKMapItemRequest + { + [Export ("initWithMapFeatureAnnotation:")] + [DesignatedInitializer] + NativeHandle Constructor (MKMapFeatureAnnotation mapFeatureAnnotation); + + [Async] + [Export ("getMapItemWithCompletionHandler:")] + void GetMapItem (Action completionHandler); + + [Export ("cancel")] + void Cancel (); + + [Export ("featureAnnotation")] + MKMapFeatureAnnotation FeatureAnnotation { get; } + + [Export ("isCancelled")] + bool IsCancelled { get; } + + [Export ("isLoading")] + bool IsLoading { get; } + } + + [Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, TV (16,0)] + [BaseType (typeof (MKMapConfiguration))] + [DesignatedDefaultCtor] + interface MKStandardMapConfiguration + { + [Export ("initWithElevationStyle:")] + NativeHandle Constructor (MKMapElevationStyle elevationStyle); + + [Export ("initWithElevationStyle:emphasisStyle:")] + NativeHandle Constructor (MKMapElevationStyle elevationStyle, MKStandardMapEmphasisStyle emphasisStyle); + + [Export ("initWithEmphasisStyle:")] + NativeHandle Constructor (MKStandardMapEmphasisStyle emphasisStyle); + + [Export ("emphasisStyle", ArgumentSemantic.Assign)] + MKStandardMapEmphasisStyle EmphasisStyle { get; set; } + + [NullAllowed, Export ("pointOfInterestFilter", ArgumentSemantic.Copy)] + MKPointOfInterestFilter PointOfInterestFilter { get; set; } + + [Export ("showsTraffic")] + bool ShowsTraffic { get; set; } + } } diff --git a/tests/cecil-tests/AttributeTest.cs b/tests/cecil-tests/AttributeTest.cs index 8cfc37668521..7f77d6a0e34c 100644 --- a/tests/cecil-tests/AttributeTest.cs +++ b/tests/cecil-tests/AttributeTest.cs @@ -337,6 +337,10 @@ static bool IgnoreElementsThatDoNotExistInThatAssembly (string member) case "CoreWlan.CWNetwork.Copy": case "CoreWlan.CWNetworkProfile.Copy": case "CoreWlan.CWNetworkProfile.MutableCopy": + case "MapKit.MKMapFeatureAnnotation.SetCoordinate": + case "MapKit.MKMapFeatureAnnotation.get_Coordinate": + case "MapKit.MKMapFeatureAnnotation.get_Subtitle": + case "MapKit.MKMapFeatureAnnotation.get_Title": return true; } // Generator Bug/Limitation - Related to ^, Wrapper protocol get/set with attributes diff --git a/tests/xtro-sharpie/api-annotations-dotnet/common-MapKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/common-MapKit.ignore index 45ee0eed2632..ef8dddbd4be5 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/common-MapKit.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/common-MapKit.ignore @@ -1,3 +1,13 @@ !missing-field! MKMapRectNull not bound !missing-field! MKMapRectWorld not bound !missing-field! MKMapSizeWorld not bound + +## soft deprecation +!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-MapKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-MapKit.todo deleted file mode 100644 index 42bcdb8e8d47..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-MapKit.todo +++ /dev/null @@ -1,108 +0,0 @@ -!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute -!missing-enum! MKDirectionsRoutePreference not bound -!missing-enum! MKLookAroundBadgePosition not bound -!missing-enum! MKMapElevationStyle not bound -!missing-enum! MKMapFeatureOptions not bound -!missing-enum! MKMapFeatureType not bound -!missing-enum! MKStandardMapEmphasisStyle not bound -!missing-protocol! MKLookAroundViewControllerDelegate not bound -!missing-protocol-member! MKMapViewDelegate::mapView:didDeselectAnnotation: not found -!missing-protocol-member! MKMapViewDelegate::mapView:didSelectAnnotation: not found -!missing-selector! +MKMapCamera::cameraLookingAtMapItem:forViewSize:allowPitch: not bound -!missing-selector! MKDirectionsRequest::highwayPreference not bound -!missing-selector! MKDirectionsRequest::setHighwayPreference: not bound -!missing-selector! MKDirectionsRequest::setTollPreference: not bound -!missing-selector! MKDirectionsRequest::tollPreference not bound -!missing-selector! MKHybridMapConfiguration::init not bound -!missing-selector! MKHybridMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKHybridMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKHybridMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKHybridMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKHybridMapConfiguration::showsTraffic not bound -!missing-selector! MKIconStyle::backgroundColor not bound -!missing-selector! MKIconStyle::image not bound -!missing-selector! MKImageryMapConfiguration::init not bound -!missing-selector! MKImageryMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKLookAroundSceneRequest::cancel not bound -!missing-selector! MKLookAroundSceneRequest::coordinate not bound -!missing-selector! MKLookAroundSceneRequest::getSceneWithCompletionHandler: not bound -!missing-selector! MKLookAroundSceneRequest::initWithCoordinate: not bound -!missing-selector! MKLookAroundSceneRequest::initWithMapItem: not bound -!missing-selector! MKLookAroundSceneRequest::isCancelled not bound -!missing-selector! MKLookAroundSceneRequest::isLoading not bound -!missing-selector! MKLookAroundSceneRequest::mapItem not bound -!missing-selector! MKLookAroundSnapshot::image not bound -!missing-selector! MKLookAroundSnapshotOptions::pointOfInterestFilter not bound -!missing-selector! MKLookAroundSnapshotOptions::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundSnapshotOptions::setSize: not bound -!missing-selector! MKLookAroundSnapshotOptions::setTraitCollection: not bound -!missing-selector! MKLookAroundSnapshotOptions::size not bound -!missing-selector! MKLookAroundSnapshotOptions::traitCollection not bound -!missing-selector! MKLookAroundSnapshotter::cancel not bound -!missing-selector! MKLookAroundSnapshotter::getSnapshotWithCompletionHandler: not bound -!missing-selector! MKLookAroundSnapshotter::initWithScene:options: not bound -!missing-selector! MKLookAroundSnapshotter::isLoading not bound -!missing-selector! MKLookAroundViewController::badgePosition not bound -!missing-selector! MKLookAroundViewController::delegate not bound -!missing-selector! MKLookAroundViewController::initWithCoder: not bound -!missing-selector! MKLookAroundViewController::initWithNibName:bundle: not bound -!missing-selector! MKLookAroundViewController::initWithScene: not bound -!missing-selector! MKLookAroundViewController::isNavigationEnabled not bound -!missing-selector! MKLookAroundViewController::pointOfInterestFilter not bound -!missing-selector! MKLookAroundViewController::scene not bound -!missing-selector! MKLookAroundViewController::setBadgePosition: not bound -!missing-selector! MKLookAroundViewController::setDelegate: not bound -!missing-selector! MKLookAroundViewController::setNavigationEnabled: not bound -!missing-selector! MKLookAroundViewController::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundViewController::setScene: not bound -!missing-selector! MKLookAroundViewController::setShowsRoadLabels: not bound -!missing-selector! MKLookAroundViewController::showsRoadLabels not bound -!missing-selector! MKMapConfiguration::elevationStyle not bound -!missing-selector! MKMapConfiguration::setElevationStyle: not bound -!missing-selector! MKMapFeatureAnnotation::featureType not bound -!missing-selector! MKMapFeatureAnnotation::iconStyle not bound -!missing-selector! MKMapFeatureAnnotation::pointOfInterestCategory not bound -!missing-selector! MKMapItemRequest::cancel not bound -!missing-selector! MKMapItemRequest::featureAnnotation not bound -!missing-selector! MKMapItemRequest::getMapItemWithCompletionHandler: not bound -!missing-selector! MKMapItemRequest::initWithMapFeatureAnnotation: not bound -!missing-selector! MKMapItemRequest::isCancelled not bound -!missing-selector! MKMapItemRequest::isLoading not bound -!missing-selector! MKMapView::preferredConfiguration not bound -!missing-selector! MKMapView::selectableMapFeatures not bound -!missing-selector! MKMapView::setPreferredConfiguration: not bound -!missing-selector! MKMapView::setSelectableMapFeatures: not bound -!missing-selector! MKOverlayRenderer::blendMode not bound -!missing-selector! MKOverlayRenderer::setBlendMode: not bound -!missing-selector! MKRoute::hasHighways not bound -!missing-selector! MKRoute::hasTolls not bound -!missing-selector! MKStandardMapConfiguration::emphasisStyle not bound -!missing-selector! MKStandardMapConfiguration::init not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle:emphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKStandardMapConfiguration::setEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKStandardMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKStandardMapConfiguration::showsTraffic not bound -!missing-type! MKHybridMapConfiguration not bound -!missing-type! MKIconStyle not bound -!missing-type! MKImageryMapConfiguration not bound -!missing-type! MKLookAroundScene not bound -!missing-type! MKLookAroundSceneRequest not bound -!missing-type! MKLookAroundSnapshot not bound -!missing-type! MKLookAroundSnapshotOptions not bound -!missing-type! MKLookAroundSnapshotter not bound -!missing-type! MKLookAroundViewController not bound -!missing-type! MKMapConfiguration not bound -!missing-type! MKMapFeatureAnnotation not bound -!missing-type! MKMapItemRequest not bound -!missing-type! MKStandardMapConfiguration not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.ignore index ec9d12c9a529..4152d279f79a 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.ignore @@ -1,3 +1,6 @@ !missing-field! MKAnnotationCalloutInfoDidChangeNotification not bound !missing-protocol-conformance! MKUserLocation should conform to MKAnnotation !missing-protocol-member! MKOverlay::coordinate not found + +## Marked as unavailable on macOS +!missing-enum-value! MKUserTrackingMode native value MKUserTrackingModeFollowWithHeading = 2 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.todo deleted file mode 100644 index 9b5350b0ea22..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-MapKit.todo +++ /dev/null @@ -1,85 +0,0 @@ -!extra-enum-value! Managed value 2 for MKUserTrackingMode.FollowWithHeading is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute -!missing-enum! MKDirectionsRoutePreference not bound -!missing-enum! MKLookAroundBadgePosition not bound -!missing-enum! MKMapElevationStyle not bound -!missing-enum! MKStandardMapEmphasisStyle not bound -!missing-protocol! MKLookAroundViewControllerDelegate not bound -!missing-selector! +MKMapCamera::cameraLookingAtMapItem:forViewSize:allowPitch: not bound -!missing-selector! MKDirectionsRequest::highwayPreference not bound -!missing-selector! MKDirectionsRequest::setHighwayPreference: not bound -!missing-selector! MKDirectionsRequest::setTollPreference: not bound -!missing-selector! MKDirectionsRequest::tollPreference not bound -!missing-selector! MKHybridMapConfiguration::init not bound -!missing-selector! MKHybridMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKHybridMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKHybridMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKHybridMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKHybridMapConfiguration::showsTraffic not bound -!missing-selector! MKImageryMapConfiguration::init not bound -!missing-selector! MKImageryMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKLookAroundSceneRequest::cancel not bound -!missing-selector! MKLookAroundSceneRequest::coordinate not bound -!missing-selector! MKLookAroundSceneRequest::getSceneWithCompletionHandler: not bound -!missing-selector! MKLookAroundSceneRequest::initWithCoordinate: not bound -!missing-selector! MKLookAroundSceneRequest::initWithMapItem: not bound -!missing-selector! MKLookAroundSceneRequest::isCancelled not bound -!missing-selector! MKLookAroundSceneRequest::isLoading not bound -!missing-selector! MKLookAroundSceneRequest::mapItem not bound -!missing-selector! MKLookAroundSnapshot::image not bound -!missing-selector! MKLookAroundSnapshotOptions::pointOfInterestFilter not bound -!missing-selector! MKLookAroundSnapshotOptions::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundSnapshotOptions::setSize: not bound -!missing-selector! MKLookAroundSnapshotOptions::size not bound -!missing-selector! MKLookAroundSnapshotter::cancel not bound -!missing-selector! MKLookAroundSnapshotter::getSnapshotWithCompletionHandler: not bound -!missing-selector! MKLookAroundSnapshotter::initWithScene:options: not bound -!missing-selector! MKLookAroundSnapshotter::isLoading not bound -!missing-selector! MKLookAroundViewController::badgePosition not bound -!missing-selector! MKLookAroundViewController::delegate not bound -!missing-selector! MKLookAroundViewController::initWithCoder: not bound -!missing-selector! MKLookAroundViewController::initWithNibName:bundle: not bound -!missing-selector! MKLookAroundViewController::initWithScene: not bound -!missing-selector! MKLookAroundViewController::isNavigationEnabled not bound -!missing-selector! MKLookAroundViewController::pointOfInterestFilter not bound -!missing-selector! MKLookAroundViewController::scene not bound -!missing-selector! MKLookAroundViewController::setBadgePosition: not bound -!missing-selector! MKLookAroundViewController::setDelegate: not bound -!missing-selector! MKLookAroundViewController::setNavigationEnabled: not bound -!missing-selector! MKLookAroundViewController::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundViewController::setScene: not bound -!missing-selector! MKLookAroundViewController::setShowsRoadLabels: not bound -!missing-selector! MKLookAroundViewController::showsRoadLabels not bound -!missing-selector! MKMapConfiguration::elevationStyle not bound -!missing-selector! MKMapConfiguration::setElevationStyle: not bound -!missing-selector! MKMapView::preferredConfiguration not bound -!missing-selector! MKMapView::setPreferredConfiguration: not bound -!missing-selector! MKRoute::hasHighways not bound -!missing-selector! MKRoute::hasTolls not bound -!missing-selector! MKStandardMapConfiguration::emphasisStyle not bound -!missing-selector! MKStandardMapConfiguration::init not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle:emphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKStandardMapConfiguration::setEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKStandardMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKStandardMapConfiguration::showsTraffic not bound -!missing-type! MKHybridMapConfiguration not bound -!missing-type! MKImageryMapConfiguration not bound -!missing-type! MKLookAroundScene not bound -!missing-type! MKLookAroundSceneRequest not bound -!missing-type! MKLookAroundSnapshot not bound -!missing-type! MKLookAroundSnapshotOptions not bound -!missing-type! MKLookAroundSnapshotter not bound -!missing-type! MKLookAroundViewController not bound -!missing-type! MKMapConfiguration not bound -!missing-type! MKStandardMapConfiguration not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.ignore b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.ignore index ed671b9d77b8..815d3d9b7c4a 100644 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.ignore +++ b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.ignore @@ -2,3 +2,6 @@ !missing-pinvoke! MKRoadWidthAtZoomScale is not bound !missing-protocol-conformance! MKUserLocation should conform to MKAnnotation !missing-protocol-member! MKOverlay::coordinate not found + +## Marked as unavailable on tvOS +!missing-enum-value! MKUserTrackingMode native value MKUserTrackingModeFollowWithHeading = 2 not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.todo deleted file mode 100644 index 3c0a4f52625d..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-MapKit.todo +++ /dev/null @@ -1,47 +0,0 @@ -!extra-enum-value! Managed value 2 for MKUserTrackingMode.FollowWithHeading is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute -!missing-enum! MKDirectionsRoutePreference not bound -!missing-enum! MKMapElevationStyle not bound -!missing-enum! MKStandardMapEmphasisStyle not bound -!missing-selector! +MKMapCamera::cameraLookingAtMapItem:forViewSize:allowPitch: not bound -!missing-selector! MKDirectionsRequest::highwayPreference not bound -!missing-selector! MKDirectionsRequest::setHighwayPreference: not bound -!missing-selector! MKDirectionsRequest::setTollPreference: not bound -!missing-selector! MKDirectionsRequest::tollPreference not bound -!missing-selector! MKHybridMapConfiguration::init not bound -!missing-selector! MKHybridMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKHybridMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKHybridMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKHybridMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKHybridMapConfiguration::showsTraffic not bound -!missing-selector! MKImageryMapConfiguration::init not bound -!missing-selector! MKImageryMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKMapConfiguration::elevationStyle not bound -!missing-selector! MKMapConfiguration::setElevationStyle: not bound -!missing-selector! MKMapView::preferredConfiguration not bound -!missing-selector! MKMapView::setPreferredConfiguration: not bound -!missing-selector! MKOverlayRenderer::blendMode not bound -!missing-selector! MKOverlayRenderer::setBlendMode: not bound -!missing-selector! MKRoute::hasHighways not bound -!missing-selector! MKRoute::hasTolls not bound -!missing-selector! MKStandardMapConfiguration::emphasisStyle not bound -!missing-selector! MKStandardMapConfiguration::init not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle:emphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKStandardMapConfiguration::setEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKStandardMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKStandardMapConfiguration::showsTraffic not bound -!missing-type! MKHybridMapConfiguration not bound -!missing-type! MKImageryMapConfiguration not bound -!missing-type! MKMapConfiguration not bound -!missing-type! MKStandardMapConfiguration not bound diff --git a/tests/xtro-sharpie/common-MapKit.ignore b/tests/xtro-sharpie/common-MapKit.ignore index 45ee0eed2632..ef8dddbd4be5 100644 --- a/tests/xtro-sharpie/common-MapKit.ignore +++ b/tests/xtro-sharpie/common-MapKit.ignore @@ -1,3 +1,13 @@ !missing-field! MKMapRectNull not bound !missing-field! MKMapRectWorld not bound !missing-field! MKMapSizeWorld not bound + +## soft deprecation +!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute +!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute diff --git a/tests/xtro-sharpie/iOS-MapKit.todo b/tests/xtro-sharpie/iOS-MapKit.todo deleted file mode 100644 index 42bcdb8e8d47..000000000000 --- a/tests/xtro-sharpie/iOS-MapKit.todo +++ /dev/null @@ -1,108 +0,0 @@ -!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute -!missing-enum! MKDirectionsRoutePreference not bound -!missing-enum! MKLookAroundBadgePosition not bound -!missing-enum! MKMapElevationStyle not bound -!missing-enum! MKMapFeatureOptions not bound -!missing-enum! MKMapFeatureType not bound -!missing-enum! MKStandardMapEmphasisStyle not bound -!missing-protocol! MKLookAroundViewControllerDelegate not bound -!missing-protocol-member! MKMapViewDelegate::mapView:didDeselectAnnotation: not found -!missing-protocol-member! MKMapViewDelegate::mapView:didSelectAnnotation: not found -!missing-selector! +MKMapCamera::cameraLookingAtMapItem:forViewSize:allowPitch: not bound -!missing-selector! MKDirectionsRequest::highwayPreference not bound -!missing-selector! MKDirectionsRequest::setHighwayPreference: not bound -!missing-selector! MKDirectionsRequest::setTollPreference: not bound -!missing-selector! MKDirectionsRequest::tollPreference not bound -!missing-selector! MKHybridMapConfiguration::init not bound -!missing-selector! MKHybridMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKHybridMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKHybridMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKHybridMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKHybridMapConfiguration::showsTraffic not bound -!missing-selector! MKIconStyle::backgroundColor not bound -!missing-selector! MKIconStyle::image not bound -!missing-selector! MKImageryMapConfiguration::init not bound -!missing-selector! MKImageryMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKLookAroundSceneRequest::cancel not bound -!missing-selector! MKLookAroundSceneRequest::coordinate not bound -!missing-selector! MKLookAroundSceneRequest::getSceneWithCompletionHandler: not bound -!missing-selector! MKLookAroundSceneRequest::initWithCoordinate: not bound -!missing-selector! MKLookAroundSceneRequest::initWithMapItem: not bound -!missing-selector! MKLookAroundSceneRequest::isCancelled not bound -!missing-selector! MKLookAroundSceneRequest::isLoading not bound -!missing-selector! MKLookAroundSceneRequest::mapItem not bound -!missing-selector! MKLookAroundSnapshot::image not bound -!missing-selector! MKLookAroundSnapshotOptions::pointOfInterestFilter not bound -!missing-selector! MKLookAroundSnapshotOptions::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundSnapshotOptions::setSize: not bound -!missing-selector! MKLookAroundSnapshotOptions::setTraitCollection: not bound -!missing-selector! MKLookAroundSnapshotOptions::size not bound -!missing-selector! MKLookAroundSnapshotOptions::traitCollection not bound -!missing-selector! MKLookAroundSnapshotter::cancel not bound -!missing-selector! MKLookAroundSnapshotter::getSnapshotWithCompletionHandler: not bound -!missing-selector! MKLookAroundSnapshotter::initWithScene:options: not bound -!missing-selector! MKLookAroundSnapshotter::isLoading not bound -!missing-selector! MKLookAroundViewController::badgePosition not bound -!missing-selector! MKLookAroundViewController::delegate not bound -!missing-selector! MKLookAroundViewController::initWithCoder: not bound -!missing-selector! MKLookAroundViewController::initWithNibName:bundle: not bound -!missing-selector! MKLookAroundViewController::initWithScene: not bound -!missing-selector! MKLookAroundViewController::isNavigationEnabled not bound -!missing-selector! MKLookAroundViewController::pointOfInterestFilter not bound -!missing-selector! MKLookAroundViewController::scene not bound -!missing-selector! MKLookAroundViewController::setBadgePosition: not bound -!missing-selector! MKLookAroundViewController::setDelegate: not bound -!missing-selector! MKLookAroundViewController::setNavigationEnabled: not bound -!missing-selector! MKLookAroundViewController::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundViewController::setScene: not bound -!missing-selector! MKLookAroundViewController::setShowsRoadLabels: not bound -!missing-selector! MKLookAroundViewController::showsRoadLabels not bound -!missing-selector! MKMapConfiguration::elevationStyle not bound -!missing-selector! MKMapConfiguration::setElevationStyle: not bound -!missing-selector! MKMapFeatureAnnotation::featureType not bound -!missing-selector! MKMapFeatureAnnotation::iconStyle not bound -!missing-selector! MKMapFeatureAnnotation::pointOfInterestCategory not bound -!missing-selector! MKMapItemRequest::cancel not bound -!missing-selector! MKMapItemRequest::featureAnnotation not bound -!missing-selector! MKMapItemRequest::getMapItemWithCompletionHandler: not bound -!missing-selector! MKMapItemRequest::initWithMapFeatureAnnotation: not bound -!missing-selector! MKMapItemRequest::isCancelled not bound -!missing-selector! MKMapItemRequest::isLoading not bound -!missing-selector! MKMapView::preferredConfiguration not bound -!missing-selector! MKMapView::selectableMapFeatures not bound -!missing-selector! MKMapView::setPreferredConfiguration: not bound -!missing-selector! MKMapView::setSelectableMapFeatures: not bound -!missing-selector! MKOverlayRenderer::blendMode not bound -!missing-selector! MKOverlayRenderer::setBlendMode: not bound -!missing-selector! MKRoute::hasHighways not bound -!missing-selector! MKRoute::hasTolls not bound -!missing-selector! MKStandardMapConfiguration::emphasisStyle not bound -!missing-selector! MKStandardMapConfiguration::init not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle:emphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKStandardMapConfiguration::setEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKStandardMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKStandardMapConfiguration::showsTraffic not bound -!missing-type! MKHybridMapConfiguration not bound -!missing-type! MKIconStyle not bound -!missing-type! MKImageryMapConfiguration not bound -!missing-type! MKLookAroundScene not bound -!missing-type! MKLookAroundSceneRequest not bound -!missing-type! MKLookAroundSnapshot not bound -!missing-type! MKLookAroundSnapshotOptions not bound -!missing-type! MKLookAroundSnapshotter not bound -!missing-type! MKLookAroundViewController not bound -!missing-type! MKMapConfiguration not bound -!missing-type! MKMapFeatureAnnotation not bound -!missing-type! MKMapItemRequest not bound -!missing-type! MKStandardMapConfiguration not bound diff --git a/tests/xtro-sharpie/macOS-MapKit.ignore b/tests/xtro-sharpie/macOS-MapKit.ignore index ec9d12c9a529..4152d279f79a 100644 --- a/tests/xtro-sharpie/macOS-MapKit.ignore +++ b/tests/xtro-sharpie/macOS-MapKit.ignore @@ -1,3 +1,6 @@ !missing-field! MKAnnotationCalloutInfoDidChangeNotification not bound !missing-protocol-conformance! MKUserLocation should conform to MKAnnotation !missing-protocol-member! MKOverlay::coordinate not found + +## Marked as unavailable on macOS +!missing-enum-value! MKUserTrackingMode native value MKUserTrackingModeFollowWithHeading = 2 not bound diff --git a/tests/xtro-sharpie/macOS-MapKit.todo b/tests/xtro-sharpie/macOS-MapKit.todo deleted file mode 100644 index 9b5350b0ea22..000000000000 --- a/tests/xtro-sharpie/macOS-MapKit.todo +++ /dev/null @@ -1,85 +0,0 @@ -!extra-enum-value! Managed value 2 for MKUserTrackingMode.FollowWithHeading is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute -!missing-enum! MKDirectionsRoutePreference not bound -!missing-enum! MKLookAroundBadgePosition not bound -!missing-enum! MKMapElevationStyle not bound -!missing-enum! MKStandardMapEmphasisStyle not bound -!missing-protocol! MKLookAroundViewControllerDelegate not bound -!missing-selector! +MKMapCamera::cameraLookingAtMapItem:forViewSize:allowPitch: not bound -!missing-selector! MKDirectionsRequest::highwayPreference not bound -!missing-selector! MKDirectionsRequest::setHighwayPreference: not bound -!missing-selector! MKDirectionsRequest::setTollPreference: not bound -!missing-selector! MKDirectionsRequest::tollPreference not bound -!missing-selector! MKHybridMapConfiguration::init not bound -!missing-selector! MKHybridMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKHybridMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKHybridMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKHybridMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKHybridMapConfiguration::showsTraffic not bound -!missing-selector! MKImageryMapConfiguration::init not bound -!missing-selector! MKImageryMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKLookAroundSceneRequest::cancel not bound -!missing-selector! MKLookAroundSceneRequest::coordinate not bound -!missing-selector! MKLookAroundSceneRequest::getSceneWithCompletionHandler: not bound -!missing-selector! MKLookAroundSceneRequest::initWithCoordinate: not bound -!missing-selector! MKLookAroundSceneRequest::initWithMapItem: not bound -!missing-selector! MKLookAroundSceneRequest::isCancelled not bound -!missing-selector! MKLookAroundSceneRequest::isLoading not bound -!missing-selector! MKLookAroundSceneRequest::mapItem not bound -!missing-selector! MKLookAroundSnapshot::image not bound -!missing-selector! MKLookAroundSnapshotOptions::pointOfInterestFilter not bound -!missing-selector! MKLookAroundSnapshotOptions::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundSnapshotOptions::setSize: not bound -!missing-selector! MKLookAroundSnapshotOptions::size not bound -!missing-selector! MKLookAroundSnapshotter::cancel not bound -!missing-selector! MKLookAroundSnapshotter::getSnapshotWithCompletionHandler: not bound -!missing-selector! MKLookAroundSnapshotter::initWithScene:options: not bound -!missing-selector! MKLookAroundSnapshotter::isLoading not bound -!missing-selector! MKLookAroundViewController::badgePosition not bound -!missing-selector! MKLookAroundViewController::delegate not bound -!missing-selector! MKLookAroundViewController::initWithCoder: not bound -!missing-selector! MKLookAroundViewController::initWithNibName:bundle: not bound -!missing-selector! MKLookAroundViewController::initWithScene: not bound -!missing-selector! MKLookAroundViewController::isNavigationEnabled not bound -!missing-selector! MKLookAroundViewController::pointOfInterestFilter not bound -!missing-selector! MKLookAroundViewController::scene not bound -!missing-selector! MKLookAroundViewController::setBadgePosition: not bound -!missing-selector! MKLookAroundViewController::setDelegate: not bound -!missing-selector! MKLookAroundViewController::setNavigationEnabled: not bound -!missing-selector! MKLookAroundViewController::setPointOfInterestFilter: not bound -!missing-selector! MKLookAroundViewController::setScene: not bound -!missing-selector! MKLookAroundViewController::setShowsRoadLabels: not bound -!missing-selector! MKLookAroundViewController::showsRoadLabels not bound -!missing-selector! MKMapConfiguration::elevationStyle not bound -!missing-selector! MKMapConfiguration::setElevationStyle: not bound -!missing-selector! MKMapView::preferredConfiguration not bound -!missing-selector! MKMapView::setPreferredConfiguration: not bound -!missing-selector! MKRoute::hasHighways not bound -!missing-selector! MKRoute::hasTolls not bound -!missing-selector! MKStandardMapConfiguration::emphasisStyle not bound -!missing-selector! MKStandardMapConfiguration::init not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle:emphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKStandardMapConfiguration::setEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKStandardMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKStandardMapConfiguration::showsTraffic not bound -!missing-type! MKHybridMapConfiguration not bound -!missing-type! MKImageryMapConfiguration not bound -!missing-type! MKLookAroundScene not bound -!missing-type! MKLookAroundSceneRequest not bound -!missing-type! MKLookAroundSnapshot not bound -!missing-type! MKLookAroundSnapshotOptions not bound -!missing-type! MKLookAroundSnapshotter not bound -!missing-type! MKLookAroundViewController not bound -!missing-type! MKMapConfiguration not bound -!missing-type! MKStandardMapConfiguration not bound diff --git a/tests/xtro-sharpie/tvOS-MapKit.ignore b/tests/xtro-sharpie/tvOS-MapKit.ignore index ed671b9d77b8..815d3d9b7c4a 100644 --- a/tests/xtro-sharpie/tvOS-MapKit.ignore +++ b/tests/xtro-sharpie/tvOS-MapKit.ignore @@ -2,3 +2,6 @@ !missing-pinvoke! MKRoadWidthAtZoomScale is not bound !missing-protocol-conformance! MKUserLocation should conform to MKAnnotation !missing-protocol-member! MKOverlay::coordinate not found + +## Marked as unavailable on tvOS +!missing-enum-value! MKUserTrackingMode native value MKUserTrackingModeFollowWithHeading = 2 not bound diff --git a/tests/xtro-sharpie/tvOS-MapKit.todo b/tests/xtro-sharpie/tvOS-MapKit.todo deleted file mode 100644 index 3c0a4f52625d..000000000000 --- a/tests/xtro-sharpie/tvOS-MapKit.todo +++ /dev/null @@ -1,47 +0,0 @@ -!extra-enum-value! Managed value 2 for MKUserTrackingMode.FollowWithHeading is available for the current platform while the value in the native header is not -!deprecated-attribute-missing! MKMapView::mapType missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::pointOfInterestFilter missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setMapType: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setPointOfInterestFilter: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsBuildings: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::setShowsTraffic: missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsBuildings missing a [Deprecated] attribute -!deprecated-attribute-missing! MKMapView::showsTraffic missing a [Deprecated] attribute -!missing-enum! MKDirectionsRoutePreference not bound -!missing-enum! MKMapElevationStyle not bound -!missing-enum! MKStandardMapEmphasisStyle not bound -!missing-selector! +MKMapCamera::cameraLookingAtMapItem:forViewSize:allowPitch: not bound -!missing-selector! MKDirectionsRequest::highwayPreference not bound -!missing-selector! MKDirectionsRequest::setHighwayPreference: not bound -!missing-selector! MKDirectionsRequest::setTollPreference: not bound -!missing-selector! MKDirectionsRequest::tollPreference not bound -!missing-selector! MKHybridMapConfiguration::init not bound -!missing-selector! MKHybridMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKHybridMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKHybridMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKHybridMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKHybridMapConfiguration::showsTraffic not bound -!missing-selector! MKImageryMapConfiguration::init not bound -!missing-selector! MKImageryMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKMapConfiguration::elevationStyle not bound -!missing-selector! MKMapConfiguration::setElevationStyle: not bound -!missing-selector! MKMapView::preferredConfiguration not bound -!missing-selector! MKMapView::setPreferredConfiguration: not bound -!missing-selector! MKOverlayRenderer::blendMode not bound -!missing-selector! MKOverlayRenderer::setBlendMode: not bound -!missing-selector! MKRoute::hasHighways not bound -!missing-selector! MKRoute::hasTolls not bound -!missing-selector! MKStandardMapConfiguration::emphasisStyle not bound -!missing-selector! MKStandardMapConfiguration::init not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithElevationStyle:emphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::initWithEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::pointOfInterestFilter not bound -!missing-selector! MKStandardMapConfiguration::setEmphasisStyle: not bound -!missing-selector! MKStandardMapConfiguration::setPointOfInterestFilter: not bound -!missing-selector! MKStandardMapConfiguration::setShowsTraffic: not bound -!missing-selector! MKStandardMapConfiguration::showsTraffic not bound -!missing-type! MKHybridMapConfiguration not bound -!missing-type! MKImageryMapConfiguration not bound -!missing-type! MKMapConfiguration not bound -!missing-type! MKStandardMapConfiguration not bound diff --git a/tests/xtro-sharpie/watchOS-MapKit.ignore b/tests/xtro-sharpie/watchOS-MapKit.ignore index 6b0a245b09d9..d91c9cdd5dc7 100644 --- a/tests/xtro-sharpie/watchOS-MapKit.ignore +++ b/tests/xtro-sharpie/watchOS-MapKit.ignore @@ -1,2 +1,7 @@ ## the enum MKErrorCode is not available in watchOS so the domain makes no sense !missing-field! MKErrorDomain not bound + +## Marked as unavailable on watchOS +!missing-enum! MKDirectionsRoutePreference not bound +!missing-enum! MKMapElevationStyle not bound +!missing-enum! MKStandardMapEmphasisStyle not bound diff --git a/tests/xtro-sharpie/watchOS-MapKit.todo b/tests/xtro-sharpie/watchOS-MapKit.todo deleted file mode 100644 index 521006a8ac4d..000000000000 --- a/tests/xtro-sharpie/watchOS-MapKit.todo +++ /dev/null @@ -1,3 +0,0 @@ -!missing-enum! MKDirectionsRoutePreference not bound -!missing-enum! MKMapElevationStyle not bound -!missing-enum! MKStandardMapEmphasisStyle not bound