pyobjc-framework-MapKit 10.1__tar.gz → 11.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/LICENSE.txt +1 -1
  2. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Lib/MapKit/__init__.py +16 -0
  3. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Lib/MapKit/_metadata.py +196 -8
  4. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Lib/pyobjc_framework_MapKit.egg-info/PKG-INFO +7 -7
  5. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Lib/pyobjc_framework_MapKit.egg-info/SOURCES.txt +8 -4
  6. pyobjc_framework_mapkit-11.0/Lib/pyobjc_framework_MapKit.egg-info/pyobjc-build-info.txt +3 -0
  7. pyobjc_framework_mapkit-11.0/Lib/pyobjc_framework_MapKit.egg-info/requires.txt +4 -0
  8. pyobjc_framework_mapkit-11.0/Modules/_MapKit.m +66 -0
  9. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Modules/_MapKit_inlines.m +50 -17
  10. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Modules/pyobjc-api.h +1 -1
  11. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Modules/pyobjc-compat.h +80 -5
  12. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PKG-INFO +7 -7
  13. pyobjc_framework_mapkit-11.0/PyObjCTest/test_mkaddressfilter.py +19 -0
  14. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mklocalsearchcompleter.py +1 -0
  15. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mklocalsearchrequest.py +1 -0
  16. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapitem.py +11 -0
  17. pyobjc_framework_mapkit-11.0/PyObjCTest/test_mkmapitemrequest.py +11 -0
  18. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpointofinterestcategory.py +36 -0
  19. pyobjc_framework_mapkit-11.0/PyObjCTest/test_mkselectionassessory.py +13 -0
  20. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mktypes.py +5 -4
  21. pyobjc-framework-MapKit-10.1/metadata/raw/arm64-14.0.fwinfo → pyobjc_framework_mapkit-11.0/metadata/raw/arm64-14.5.fwinfo +105 -7
  22. pyobjc_framework_mapkit-11.0/metadata/raw/arm64-15.0.fwinfo +13280 -0
  23. pyobjc-framework-MapKit-10.1/metadata/raw/x86_64-14.0.fwinfo → pyobjc_framework_mapkit-11.0/metadata/raw/x86_64-14.5.fwinfo +105 -7
  24. pyobjc_framework_mapkit-11.0/metadata/raw/x86_64-15.0.fwinfo +13280 -0
  25. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/pyobjc_setup.py +121 -27
  26. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/setup.py +2 -3
  27. pyobjc-framework-MapKit-10.1/Lib/pyobjc_framework_MapKit.egg-info/requires.txt +0 -4
  28. pyobjc-framework-MapKit-10.1/Modules/_MapKit.m +0 -35
  29. pyobjc-framework-MapKit-10.1/metadata/raw/arm64-12.0.fwinfo +0 -10453
  30. pyobjc-framework-MapKit-10.1/metadata/raw/x86_64-12.0.fwinfo +0 -10453
  31. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Lib/pyobjc_framework_MapKit.egg-info/dependency_links.txt +0 -0
  32. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Lib/pyobjc_framework_MapKit.egg-info/not-zip-safe +0 -0
  33. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Lib/pyobjc_framework_MapKit.egg-info/top_level.txt +0 -0
  34. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/MANIFEST.in +0 -0
  35. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/Modules/_MapKit_protocols.m +0 -0
  36. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/__init__.py +0 -0
  37. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mapkit.py +0 -0
  38. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkannotation.py +0 -0
  39. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkannotationview.py +0 -0
  40. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkcircle.py +0 -0
  41. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkcirclerenderer.py +0 -0
  42. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkdirections.py +0 -0
  43. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkdirectionsrequest.py +0 -0
  44. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkdirectionsresponse.py +0 -0
  45. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkdirectionstypes.py +0 -0
  46. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkdistanceformatter.py +0 -0
  47. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkgeodesicpolyline.py +0 -0
  48. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkgeojsonserialization.py +0 -0
  49. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkgeometry.py +0 -0
  50. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkhybridmapconfiguration.py +0 -0
  51. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mklocalsearch.py +0 -0
  52. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mklocalsearchresponse.py +0 -0
  53. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mklookaroundscenerequest.py +0 -0
  54. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mklookaroundsnapshotter.py +0 -0
  55. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mklookaroundviewcontroller.py +0 -0
  56. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapcamera.py +0 -0
  57. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapcamerazoomrange.py +0 -0
  58. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapconfiguration.py +0 -0
  59. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapsnapshot.py +0 -0
  60. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapsnapshotoptions.py +0 -0
  61. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapsnapshotter.py +0 -0
  62. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmapview.py +0 -0
  63. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkmultipoint.py +0 -0
  64. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkoverlay.py +0 -0
  65. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkoverlaypathrenderer.py +0 -0
  66. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkoverlayrenderer.py +0 -0
  67. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpinannotationview.py +0 -0
  68. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkplacemark.py +0 -0
  69. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpointannotation.py +0 -0
  70. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpointofinterestfilter.py +0 -0
  71. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpolygon.py +0 -0
  72. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpolygonrenderer.py +0 -0
  73. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpolyline.py +0 -0
  74. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkpolylinerenderer.py +0 -0
  75. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkshape.py +0 -0
  76. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mksnapshotoptions.py +0 -0
  77. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkstandardmapconfiguration.py +0 -0
  78. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mktileoverlay.py +0 -0
  79. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mktileoverlayrenderer.py +0 -0
  80. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/PyObjCTest/test_mkuserlocation.py +0 -0
  81. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/README.txt +0 -0
  82. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/MapKit.fwinfo +0 -0
  83. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/metadata.ini +0 -0
  84. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/arm64-12.3.fwinfo +0 -0
  85. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/arm64-13.0.fwinfo +0 -0
  86. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/x86_64-10.10.fwinfo +0 -0
  87. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/x86_64-10.15.fwinfo +0 -0
  88. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  89. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/x86_64-10.9.fwinfo +0 -0
  90. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  91. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/metadata/raw/x86_64-13.0.fwinfo +0 -0
  92. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/pyproject.toml +0 -0
  93. {pyobjc-framework-MapKit-10.1 → pyobjc_framework_mapkit-11.0}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  (This is the MIT license, note that libffi-src is a separate product with its own license)
2
2
 
3
3
  Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
- Copyright 2003-2022 - Ronald Oussoren
4
+ Copyright 2003-2024 - Ronald Oussoren
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
7
 
@@ -36,6 +36,22 @@ def _setup():
36
36
  globals()["__dir__"] = dir_func
37
37
  globals()["__getattr__"] = getattr_func
38
38
 
39
+ for cls, sel in (
40
+ ("MKMapConfiguration", b"init"),
41
+ ("MKMapConfiguration", b"new"),
42
+ ("MKLocalPointsOfInterestRequest", b"init"),
43
+ ("MKLocalPointsOfInterestRequest", b"new"),
44
+ ("MKLookAroundSnapshotter", b"init"),
45
+ ("MKLookAroundSnapshotter", b"new"),
46
+ ("MKLookAroundSceneRequest", b"init"),
47
+ ("MKLookAroundSceneRequest", b"new"),
48
+ ("MKLookAroundScene", b"init"),
49
+ ("MKLookAroundScene", b"new"),
50
+ ("MKClusterAnnotation", b"init"),
51
+ ("MKClusterAnnotation", b"new"),
52
+ ):
53
+ objc.registerUnavailableMethod(cls, sel)
54
+
39
55
  del sys.modules["MapKit._metadata"]
40
56
 
41
57
 
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sun Jul 30 12:43:29 2023
3
+ # Last update: Tue Jun 11 10:14:06 2024
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -60,30 +60,35 @@ misc.update(
60
60
  ),
61
61
  }
62
62
  )
63
- constants = """$MKAnnotationCalloutInfoDidChangeNotification$MKErrorDomain$MKLaunchOptionsCameraKey$MKLaunchOptionsDirectionsModeDefault$MKLaunchOptionsDirectionsModeDriving$MKLaunchOptionsDirectionsModeKey$MKLaunchOptionsDirectionsModeTransit$MKLaunchOptionsDirectionsModeWalking$MKLaunchOptionsMapCenterKey$MKLaunchOptionsMapSpanKey$MKLaunchOptionsMapTypeKey$MKLaunchOptionsShowsTrafficKey$MKMapCameraZoomDefault@d$MKMapItemTypeIdentifier$MKMapRectNull@{MKMapRect={MKMapPoint=dd}{MKMapSize=dd}}$MKMapRectWorld@{MKMapRect={MKMapPoint=dd}{MKMapSize=dd}}$MKMapSizeWorld@{MKMapSize=dd}$MKMapViewDefaultAnnotationViewReuseIdentifier$MKMapViewDefaultClusterAnnotationViewReuseIdentifier$MKPointOfInterestCategoryATM$MKPointOfInterestCategoryAirport$MKPointOfInterestCategoryAmusementPark$MKPointOfInterestCategoryAquarium$MKPointOfInterestCategoryBakery$MKPointOfInterestCategoryBank$MKPointOfInterestCategoryBeach$MKPointOfInterestCategoryBrewery$MKPointOfInterestCategoryCafe$MKPointOfInterestCategoryCampground$MKPointOfInterestCategoryCarRental$MKPointOfInterestCategoryEVCharger$MKPointOfInterestCategoryFireStation$MKPointOfInterestCategoryFitnessCenter$MKPointOfInterestCategoryFoodMarket$MKPointOfInterestCategoryGasStation$MKPointOfInterestCategoryHospital$MKPointOfInterestCategoryHotel$MKPointOfInterestCategoryLaundry$MKPointOfInterestCategoryLibrary$MKPointOfInterestCategoryMarina$MKPointOfInterestCategoryMovieTheater$MKPointOfInterestCategoryMuseum$MKPointOfInterestCategoryNationalPark$MKPointOfInterestCategoryNightlife$MKPointOfInterestCategoryPark$MKPointOfInterestCategoryParking$MKPointOfInterestCategoryPharmacy$MKPointOfInterestCategoryPolice$MKPointOfInterestCategoryPostOffice$MKPointOfInterestCategoryPublicTransport$MKPointOfInterestCategoryRestaurant$MKPointOfInterestCategoryRestroom$MKPointOfInterestCategorySchool$MKPointOfInterestCategoryStadium$MKPointOfInterestCategoryStore$MKPointOfInterestCategoryTheater$MKPointOfInterestCategoryUniversity$MKPointOfInterestCategoryWinery$MKPointOfInterestCategoryZoo$MKPointsOfInterestRequestMaxRadius@d$"""
64
- enums = """$MKAnnotationViewCollisionModeCircle@1$MKAnnotationViewCollisionModeNone@2$MKAnnotationViewCollisionModeRectangle@0$MKAnnotationViewDragStateCanceling@3$MKAnnotationViewDragStateDragging@2$MKAnnotationViewDragStateEnding@4$MKAnnotationViewDragStateNone@0$MKAnnotationViewDragStateStarting@1$MKAnnotationViewZPriorityDefaultSelected@1000.0$MKAnnotationViewZPriorityDefaultUnselected@500.0$MKAnnotationViewZPriorityMax@1000.0$MKAnnotationViewZPriorityMin@0.0$MKDirectionsRoutePreferenceAny@0$MKDirectionsRoutePreferenceAvoid@1$MKDirectionsTransportTypeAny@268435455$MKDirectionsTransportTypeAutomobile@1$MKDirectionsTransportTypeTransit@4$MKDirectionsTransportTypeWalking@2$MKDistanceFormatterUnitStyleAbbreviated@1$MKDistanceFormatterUnitStyleDefault@0$MKDistanceFormatterUnitStyleFull@2$MKDistanceFormatterUnitsDefault@0$MKDistanceFormatterUnitsImperial@2$MKDistanceFormatterUnitsImperialWithYards@3$MKDistanceFormatterUnitsMetric@1$MKErrorDecodingFailed@6$MKErrorDirectionsNotFound@5$MKErrorLoadingThrottled@3$MKErrorPlacemarkNotFound@4$MKErrorServerFailure@2$MKErrorUnknown@1$MKFeatureDisplayPriorityDefaultHigh@750$MKFeatureDisplayPriorityDefaultLow@250$MKFeatureDisplayPriorityRequired@1000$MKFeatureVisibilityAdaptive@0$MKFeatureVisibilityHidden@1$MKFeatureVisibilityVisible@2$MKLocalSearchCompleterResultTypeAddress@1$MKLocalSearchCompleterResultTypePointOfInterest@2$MKLocalSearchCompleterResultTypeQuery@4$MKLocalSearchResultTypeAddress@1$MKLocalSearchResultTypePointOfInterest@2$MKLookAroundBadgePositionBottomTrailing@2$MKLookAroundBadgePositionTopLeading@0$MKLookAroundBadgePositionTopTrailing@1$MKMapElevationStyleFlat@0$MKMapElevationStyleRealistic@1$MKMapTypeHybrid@2$MKMapTypeHybridFlyover@4$MKMapTypeMutedStandard@5$MKMapTypeSatellite@1$MKMapTypeSatelliteFlyover@3$MKMapTypeStandard@0$MKOverlayLevelAboveLabels@1$MKOverlayLevelAboveRoads@0$MKPinAnnotationColorGreen@1$MKPinAnnotationColorPurple@2$MKPinAnnotationColorRed@0$MKSearchCompletionFilterTypeLocationsAndQueries@0$MKSearchCompletionFilterTypeLocationsOnly@1$MKStandardMapEmphasisStyleDefault@0$MKStandardMapEmphasisStyleMuted@1$MKUserTrackingModeFollow@1$MKUserTrackingModeFollowWithHeading@2$MKUserTrackingModeNone@0$"""
63
+ constants = """$MKAnnotationCalloutInfoDidChangeNotification$MKErrorDomain$MKLaunchOptionsCameraKey$MKLaunchOptionsDirectionsModeDefault$MKLaunchOptionsDirectionsModeDriving$MKLaunchOptionsDirectionsModeKey$MKLaunchOptionsDirectionsModeTransit$MKLaunchOptionsDirectionsModeWalking$MKLaunchOptionsMapCenterKey$MKLaunchOptionsMapSpanKey$MKLaunchOptionsMapTypeKey$MKLaunchOptionsShowsTrafficKey$MKMapCameraZoomDefault@d$MKMapItemTypeIdentifier$MKMapRectNull@{MKMapRect={MKMapPoint=dd}{MKMapSize=dd}}$MKMapRectWorld@{MKMapRect={MKMapPoint=dd}{MKMapSize=dd}}$MKMapSizeWorld@{MKMapSize=dd}$MKMapViewDefaultAnnotationViewReuseIdentifier$MKMapViewDefaultClusterAnnotationViewReuseIdentifier$MKPointOfInterestCategoryATM$MKPointOfInterestCategoryAirport$MKPointOfInterestCategoryAmusementPark$MKPointOfInterestCategoryAnimalService$MKPointOfInterestCategoryAquarium$MKPointOfInterestCategoryAutomotiveRepair$MKPointOfInterestCategoryBakery$MKPointOfInterestCategoryBank$MKPointOfInterestCategoryBaseball$MKPointOfInterestCategoryBasketball$MKPointOfInterestCategoryBeach$MKPointOfInterestCategoryBeauty$MKPointOfInterestCategoryBowling$MKPointOfInterestCategoryBrewery$MKPointOfInterestCategoryCafe$MKPointOfInterestCategoryCampground$MKPointOfInterestCategoryCarRental$MKPointOfInterestCategoryCastle$MKPointOfInterestCategoryConventionCenter$MKPointOfInterestCategoryDistillery$MKPointOfInterestCategoryEVCharger$MKPointOfInterestCategoryFairground$MKPointOfInterestCategoryFireStation$MKPointOfInterestCategoryFishing$MKPointOfInterestCategoryFitnessCenter$MKPointOfInterestCategoryFoodMarket$MKPointOfInterestCategoryFortress$MKPointOfInterestCategoryGasStation$MKPointOfInterestCategoryGoKart$MKPointOfInterestCategoryGolf$MKPointOfInterestCategoryHiking$MKPointOfInterestCategoryHospital$MKPointOfInterestCategoryHotel$MKPointOfInterestCategoryKayaking$MKPointOfInterestCategoryLandmark$MKPointOfInterestCategoryLaundry$MKPointOfInterestCategoryLibrary$MKPointOfInterestCategoryMailbox$MKPointOfInterestCategoryMarina$MKPointOfInterestCategoryMiniGolf$MKPointOfInterestCategoryMovieTheater$MKPointOfInterestCategoryMuseum$MKPointOfInterestCategoryMusicVenue$MKPointOfInterestCategoryNationalMonument$MKPointOfInterestCategoryNationalPark$MKPointOfInterestCategoryNightlife$MKPointOfInterestCategoryPark$MKPointOfInterestCategoryParking$MKPointOfInterestCategoryPharmacy$MKPointOfInterestCategoryPlanetarium$MKPointOfInterestCategoryPolice$MKPointOfInterestCategoryPostOffice$MKPointOfInterestCategoryPublicTransport$MKPointOfInterestCategoryRVPark$MKPointOfInterestCategoryRestaurant$MKPointOfInterestCategoryRestroom$MKPointOfInterestCategoryRockClimbing$MKPointOfInterestCategorySchool$MKPointOfInterestCategorySkatePark$MKPointOfInterestCategorySkating$MKPointOfInterestCategorySkiing$MKPointOfInterestCategorySoccer$MKPointOfInterestCategorySpa$MKPointOfInterestCategoryStadium$MKPointOfInterestCategoryStore$MKPointOfInterestCategorySurfing$MKPointOfInterestCategorySwimming$MKPointOfInterestCategoryTennis$MKPointOfInterestCategoryTheater$MKPointOfInterestCategoryUniversity$MKPointOfInterestCategoryVolleyball$MKPointOfInterestCategoryWinery$MKPointOfInterestCategoryZoo$MKPointsOfInterestRequestMaxRadius@d$"""
64
+ enums = """$MKAddressFilterOptionAdministrativeArea@2$MKAddressFilterOptionCountry@1$MKAddressFilterOptionLocality@8$MKAddressFilterOptionPostalCode@32$MKAddressFilterOptionSubAdministrativeArea@4$MKAddressFilterOptionSubLocality@16$MKAnnotationViewCollisionModeCircle@1$MKAnnotationViewCollisionModeNone@2$MKAnnotationViewCollisionModeRectangle@0$MKAnnotationViewDragStateCanceling@3$MKAnnotationViewDragStateDragging@2$MKAnnotationViewDragStateEnding@4$MKAnnotationViewDragStateNone@0$MKAnnotationViewDragStateStarting@1$MKAnnotationViewZPriorityDefaultSelected@1000.0$MKAnnotationViewZPriorityDefaultUnselected@500.0$MKAnnotationViewZPriorityMax@1000.0$MKAnnotationViewZPriorityMin@0.0$MKDirectionsRoutePreferenceAny@0$MKDirectionsRoutePreferenceAvoid@1$MKDirectionsTransportTypeAny@268435455$MKDirectionsTransportTypeAutomobile@1$MKDirectionsTransportTypeTransit@4$MKDirectionsTransportTypeWalking@2$MKDistanceFormatterUnitStyleAbbreviated@1$MKDistanceFormatterUnitStyleDefault@0$MKDistanceFormatterUnitStyleFull@2$MKDistanceFormatterUnitsDefault@0$MKDistanceFormatterUnitsImperial@2$MKDistanceFormatterUnitsImperialWithYards@3$MKDistanceFormatterUnitsMetric@1$MKErrorDecodingFailed@6$MKErrorDirectionsNotFound@5$MKErrorLoadingThrottled@3$MKErrorPlacemarkNotFound@4$MKErrorServerFailure@2$MKErrorUnknown@1$MKFeatureDisplayPriorityDefaultHigh@750$MKFeatureDisplayPriorityDefaultLow@250$MKFeatureDisplayPriorityRequired@1000$MKFeatureVisibilityAdaptive@0$MKFeatureVisibilityHidden@1$MKFeatureVisibilityVisible@2$MKLocalSearchCompleterResultTypeAddress@1$MKLocalSearchCompleterResultTypePhysicalFeature@8$MKLocalSearchCompleterResultTypePointOfInterest@2$MKLocalSearchCompleterResultTypeQuery@4$MKLocalSearchRegionPriorityDefault@0$MKLocalSearchRegionPriorityRequired@1$MKLocalSearchResultTypeAddress@1$MKLocalSearchResultTypePhysicalFeature@4$MKLocalSearchResultTypePointOfInterest@2$MKLookAroundBadgePositionBottomTrailing@2$MKLookAroundBadgePositionTopLeading@0$MKLookAroundBadgePositionTopTrailing@1$MKMapElevationStyleFlat@0$MKMapElevationStyleRealistic@1$MKMapItemDetailSelectionAccessoryCalloutStyleAutomatic@0$MKMapItemDetailSelectionAccessoryCalloutStyleCompact@2$MKMapItemDetailSelectionAccessoryCalloutStyleFull@1$MKMapTypeHybrid@2$MKMapTypeHybridFlyover@4$MKMapTypeMutedStandard@5$MKMapTypeSatellite@1$MKMapTypeSatelliteFlyover@3$MKMapTypeStandard@0$MKOverlayLevelAboveLabels@1$MKOverlayLevelAboveRoads@0$MKPinAnnotationColorGreen@1$MKPinAnnotationColorPurple@2$MKPinAnnotationColorRed@0$MKSearchCompletionFilterTypeLocationsAndQueries@0$MKSearchCompletionFilterTypeLocationsOnly@1$MKStandardMapEmphasisStyleDefault@0$MKStandardMapEmphasisStyleMuted@1$MKUserTrackingModeFollow@1$MKUserTrackingModeFollowWithHeading@2$MKUserTrackingModeNone@0$"""
65
65
  misc.update(
66
66
  {
67
67
  "MKAnnotationViewCollisionMode": NewType("MKAnnotationViewCollisionMode", int),
68
68
  "MKDistanceFormatterUnitStyle": NewType("MKDistanceFormatterUnitStyle", int),
69
69
  "MKPinAnnotationColor": NewType("MKPinAnnotationColor", int),
70
70
  "MKLocalSearchResultType": NewType("MKLocalSearchResultType", int),
71
- "MKDirectionsRoutePreference": NewType("MKDirectionsRoutePreference", int),
71
+ "MKDirectionsTransportType": NewType("MKDirectionsTransportType", int),
72
72
  "MKLookAroundBadgePosition": NewType("MKLookAroundBadgePosition", int),
73
73
  "MKDistanceFormatterUnits": NewType("MKDistanceFormatterUnits", int),
74
74
  "MKErrorCode": NewType("MKErrorCode", int),
75
75
  "MKMapElevationStyle": NewType("MKMapElevationStyle", int),
76
76
  "MKOverlayLevel": NewType("MKOverlayLevel", int),
77
- "MKStandardMapEmphasisStyle": NewType("MKStandardMapEmphasisStyle", int),
77
+ "MKMapItemDetailSelectionAccessoryCalloutStyle": NewType(
78
+ "MKMapItemDetailSelectionAccessoryCalloutStyle", int
79
+ ),
78
80
  "MKSearchCompletionFilterType": NewType("MKSearchCompletionFilterType", int),
79
- "MKMapType": NewType("MKMapType", int),
81
+ "MKDirectionsRoutePreference": NewType("MKDirectionsRoutePreference", int),
80
82
  "MKAnnotationViewDragState": NewType("MKAnnotationViewDragState", int),
81
83
  "MKLocalSearchCompleterResultType": NewType(
82
84
  "MKLocalSearchCompleterResultType", int
83
85
  ),
84
- "MKUserTrackingMode": NewType("MKUserTrackingMode", int),
85
- "MKDirectionsTransportType": NewType("MKDirectionsTransportType", int),
86
+ "MKStandardMapEmphasisStyle": NewType("MKStandardMapEmphasisStyle", int),
87
+ "MKMapType": NewType("MKMapType", int),
88
+ "MKAddressFilterOption": NewType("MKAddressFilterOption", int),
86
89
  "MKFeatureVisibility": NewType("MKFeatureVisibility", int),
90
+ "MKLocalSearchRegionPriority": NewType("MKLocalSearchRegionPriority", int),
91
+ "MKUserTrackingMode": NewType("MKUserTrackingMode", int),
87
92
  }
88
93
  )
89
94
  misc.update(
@@ -166,6 +171,8 @@ functions = {
166
171
  r = objc.registerMetaDataForSelector
167
172
  objc._updatingMetadata(True)
168
173
  try:
174
+ r(b"MKAddressFilter", b"excludesOptions:", {"retval": {"type": b"Z"}})
175
+ r(b"MKAddressFilter", b"includesOptions:", {"retval": {"type": b"Z"}})
169
176
  r(b"MKAnnotationView", b"canShowCallout", {"retval": {"type": b"Z"}})
170
177
  r(b"MKAnnotationView", b"isDraggable", {"retval": {"type": b"Z"}})
171
178
  r(b"MKAnnotationView", b"isEnabled", {"retval": {"type": b"Z"}})
@@ -491,7 +498,60 @@ try:
491
498
  )
492
499
  r(b"MKMapItem", b"isCurrentLocation", {"retval": {"type": b"Z"}})
493
500
  r(b"MKMapItem", b"openInMapsWithLaunchOptions:", {"retval": {"type": b"Z"}})
501
+ r(
502
+ b"MKMapItem",
503
+ b"openInMapsWithLaunchOptions:completionHandler:",
504
+ {
505
+ "arguments": {
506
+ 3: {
507
+ "callable": {
508
+ "retval": {"type": b"v"},
509
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"Z"}},
510
+ }
511
+ }
512
+ }
513
+ },
514
+ )
494
515
  r(b"MKMapItem", b"openMapsWithItems:launchOptions:", {"retval": {"type": b"Z"}})
516
+ r(
517
+ b"MKMapItem",
518
+ b"openMapsWithItems:launchOptions:completionHandler:",
519
+ {
520
+ "arguments": {
521
+ 4: {
522
+ "callable": {
523
+ "retval": {"type": b"v"},
524
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"Z"}},
525
+ }
526
+ }
527
+ }
528
+ },
529
+ )
530
+ r(
531
+ b"MKMapItemDetailViewController",
532
+ b"initWithMapItem:displaysMap:",
533
+ {"arguments": {3: {"type": b"Z"}}},
534
+ )
535
+ r(
536
+ b"MKMapItemRequest",
537
+ b"getMapItemWithCompletionHandler:",
538
+ {
539
+ "arguments": {
540
+ 2: {
541
+ "callable": {
542
+ "retval": {"type": b"v"},
543
+ "arguments": {
544
+ 0: {"type": b"^v"},
545
+ 1: {"type": b"@"},
546
+ 2: {"type": b"@"},
547
+ },
548
+ }
549
+ }
550
+ }
551
+ },
552
+ )
553
+ r(b"MKMapItemRequest", b"isCancelled", {"retval": {"type": b"Z"}})
554
+ r(b"MKMapItemRequest", b"isLoading", {"retval": {"type": b"Z"}})
495
555
  r(
496
556
  b"MKMapSnapshot",
497
557
  b"pointForCoordinate:",
@@ -1038,6 +1098,11 @@ try:
1038
1098
  b"lookAroundViewControllerWillUpdateScene:",
1039
1099
  {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
1040
1100
  )
1101
+ r(
1102
+ b"NSObject",
1103
+ b"mapItemDetailViewControllerDidFinish:",
1104
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
1105
+ )
1041
1106
  r(
1042
1107
  b"NSObject",
1043
1108
  b"mapView:annotationView:didChangeDragState:fromOldState:",
@@ -1169,6 +1234,15 @@ try:
1169
1234
  "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
1170
1235
  },
1171
1236
  )
1237
+ r(
1238
+ b"NSObject",
1239
+ b"mapView:selectionAccessoryForAnnotation:",
1240
+ {
1241
+ "required": False,
1242
+ "retval": {"type": b"@"},
1243
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
1244
+ },
1245
+ )
1172
1246
  r(
1173
1247
  b"NSObject",
1174
1248
  b"mapView:viewForAnnotation:",
@@ -1259,6 +1333,120 @@ try:
1259
1333
  )
1260
1334
  finally:
1261
1335
  objc._updatingMetadata(False)
1336
+
1337
+ objc.registerNewKeywordsFromSelector("MKAddressFilter", b"initExcludingOptions:")
1338
+ objc.registerNewKeywordsFromSelector("MKAddressFilter", b"initIncludingOptions:")
1339
+ objc.registerNewKeywordsFromSelector(
1340
+ "MKAnnotationView", b"initWithAnnotation:reuseIdentifier:"
1341
+ )
1342
+ objc.registerNewKeywordsFromSelector("MKAnnotationView", b"initWithCoder:")
1343
+ objc.registerNewKeywordsFromSelector("MKCircleRenderer", b"initWithCircle:")
1344
+ objc.registerNewKeywordsFromSelector(
1345
+ "MKClusterAnnotation", b"initWithMemberAnnotations:"
1346
+ )
1347
+ objc.registerNewKeywordsFromSelector("MKDirections", b"initWithRequest:")
1348
+ objc.registerNewKeywordsFromSelector("MKDirectionsRequest", b"initWithContentsOfURL:")
1349
+ objc.registerNewKeywordsFromSelector(
1350
+ "MKHybridMapConfiguration", b"initWithElevationStyle:"
1351
+ )
1352
+ objc.registerNewKeywordsFromSelector(
1353
+ "MKImageryMapConfiguration", b"initWithElevationStyle:"
1354
+ )
1355
+ objc.registerNewKeywordsFromSelector(
1356
+ "MKLocalPointsOfInterestRequest", b"initWithCenterCoordinate:radius:"
1357
+ )
1358
+ objc.registerNewKeywordsFromSelector(
1359
+ "MKLocalPointsOfInterestRequest", b"initWithCoordinateRegion:"
1360
+ )
1361
+ objc.registerNewKeywordsFromSelector(
1362
+ "MKLocalSearch", b"initWithPointsOfInterestRequest:"
1363
+ )
1364
+ objc.registerNewKeywordsFromSelector("MKLocalSearch", b"initWithRequest:")
1365
+ objc.registerNewKeywordsFromSelector("MKLocalSearchRequest", b"initWithCompletion:")
1366
+ objc.registerNewKeywordsFromSelector(
1367
+ "MKLocalSearchRequest", b"initWithNaturalLanguageQuery:"
1368
+ )
1369
+ objc.registerNewKeywordsFromSelector(
1370
+ "MKLocalSearchRequest", b"initWithNaturalLanguageQuery:region:"
1371
+ )
1372
+ objc.registerNewKeywordsFromSelector("MKLookAroundSceneRequest", b"initWithCoordinate:")
1373
+ objc.registerNewKeywordsFromSelector("MKLookAroundSceneRequest", b"initWithMapItem:")
1374
+ objc.registerNewKeywordsFromSelector(
1375
+ "MKLookAroundSnapshotter", b"initWithScene:options:"
1376
+ )
1377
+ objc.registerNewKeywordsFromSelector("MKLookAroundViewController", b"initWithCoder:")
1378
+ objc.registerNewKeywordsFromSelector(
1379
+ "MKLookAroundViewController", b"initWithNibName:bundle:"
1380
+ )
1381
+ objc.registerNewKeywordsFromSelector("MKLookAroundViewController", b"initWithScene:")
1382
+ objc.registerNewKeywordsFromSelector("MKMapCameraBoundary", b"initWithCoder:")
1383
+ objc.registerNewKeywordsFromSelector(
1384
+ "MKMapCameraBoundary", b"initWithCoordinateRegion:"
1385
+ )
1386
+ objc.registerNewKeywordsFromSelector("MKMapCameraBoundary", b"initWithMapRect:")
1387
+ objc.registerNewKeywordsFromSelector(
1388
+ "MKMapCameraZoomRange", b"initWithMaxCenterCoordinateDistance:"
1389
+ )
1390
+ objc.registerNewKeywordsFromSelector(
1391
+ "MKMapCameraZoomRange", b"initWithMinCenterCoordinateDistance:"
1392
+ )
1393
+ objc.registerNewKeywordsFromSelector(
1394
+ "MKMapCameraZoomRange",
1395
+ b"initWithMinCenterCoordinateDistance:maxCenterCoordinateDistance:",
1396
+ )
1397
+ objc.registerNewKeywordsFromSelector("MKMapItem", b"initWithPlacemark:")
1398
+ objc.registerNewKeywordsFromSelector("MKMapItemAnnotation", b"initWithMapItem:")
1399
+ objc.registerNewKeywordsFromSelector(
1400
+ "MKMapItemDetailViewController", b"initWithMapItem:"
1401
+ )
1402
+ objc.registerNewKeywordsFromSelector(
1403
+ "MKMapItemDetailViewController", b"initWithMapItem:displaysMap:"
1404
+ )
1405
+ objc.registerNewKeywordsFromSelector(
1406
+ "MKMapItemIdentifier", b"initWithIdentifierString:"
1407
+ )
1408
+ objc.registerNewKeywordsFromSelector(
1409
+ "MKMapItemRequest", b"initWithMapFeatureAnnotation:"
1410
+ )
1411
+ objc.registerNewKeywordsFromSelector("MKMapItemRequest", b"initWithMapItemIdentifier:")
1412
+ objc.registerNewKeywordsFromSelector("MKMapSnapshotter", b"initWithOptions:")
1413
+ objc.registerNewKeywordsFromSelector("MKMultiPolygon", b"initWithPolygons:")
1414
+ objc.registerNewKeywordsFromSelector("MKMultiPolygonRenderer", b"initWithMultiPolygon:")
1415
+ objc.registerNewKeywordsFromSelector("MKMultiPolyline", b"initWithPolylines:")
1416
+ objc.registerNewKeywordsFromSelector(
1417
+ "MKMultiPolylineRenderer", b"initWithMultiPolyline:"
1418
+ )
1419
+ objc.registerNewKeywordsFromSelector("MKOverlayRenderer", b"initWithOverlay:")
1420
+ objc.registerNewKeywordsFromSelector("MKPlacemark", b"initWithCoordinate:")
1421
+ objc.registerNewKeywordsFromSelector(
1422
+ "MKPlacemark", b"initWithCoordinate:addressDictionary:"
1423
+ )
1424
+ objc.registerNewKeywordsFromSelector(
1425
+ "MKPlacemark", b"initWithCoordinate:postalAddress:"
1426
+ )
1427
+ objc.registerNewKeywordsFromSelector("MKPointAnnotation", b"initWithCoordinate:")
1428
+ objc.registerNewKeywordsFromSelector(
1429
+ "MKPointAnnotation", b"initWithCoordinate:title:subtitle:"
1430
+ )
1431
+ objc.registerNewKeywordsFromSelector(
1432
+ "MKPointOfInterestFilter", b"initExcludingCategories:"
1433
+ )
1434
+ objc.registerNewKeywordsFromSelector(
1435
+ "MKPointOfInterestFilter", b"initIncludingCategories:"
1436
+ )
1437
+ objc.registerNewKeywordsFromSelector("MKPolygonRenderer", b"initWithPolygon:")
1438
+ objc.registerNewKeywordsFromSelector("MKPolylineRenderer", b"initWithPolyline:")
1439
+ objc.registerNewKeywordsFromSelector(
1440
+ "MKStandardMapConfiguration", b"initWithElevationStyle:"
1441
+ )
1442
+ objc.registerNewKeywordsFromSelector(
1443
+ "MKStandardMapConfiguration", b"initWithElevationStyle:emphasisStyle:"
1444
+ )
1445
+ objc.registerNewKeywordsFromSelector(
1446
+ "MKStandardMapConfiguration", b"initWithEmphasisStyle:"
1447
+ )
1448
+ objc.registerNewKeywordsFromSelector("MKTileOverlay", b"initWithURLTemplate:")
1449
+ objc.registerNewKeywordsFromSelector("MKTileOverlayRenderer", b"initWithTileOverlay:")
1262
1450
  expressions = {}
1263
1451
 
1264
1452
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyobjc-framework-MapKit
3
- Version: 10.1
3
+ Version: 11.0
4
4
  Summary: Wrappers for the framework MapKit on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -18,23 +18,23 @@ Classifier: Operating System :: MacOS :: MacOS X
18
18
  Classifier: Programming Language :: Python
19
19
  Classifier: Programming Language :: Python :: 3
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
- Classifier: Programming Language :: Python :: 3.8
22
21
  Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
25
24
  Classifier: Programming Language :: Python :: 3.12
26
25
  Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.8
31
+ Requires-Python: >=3.9
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
33
  License-File: LICENSE.txt
34
- Requires-Dist: pyobjc-core>=10.1
35
- Requires-Dist: pyobjc-framework-Cocoa>=10.1
36
- Requires-Dist: pyobjc-framework-CoreLocation>=10.1
37
- Requires-Dist: pyobjc-framework-Quartz>=10.1
34
+ Requires-Dist: pyobjc-core>=11.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=11.0
36
+ Requires-Dist: pyobjc-framework-CoreLocation>=11.0
37
+ Requires-Dist: pyobjc-framework-Quartz>=11.0
38
38
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
39
39
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
40
40
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -10,6 +10,7 @@ Lib/pyobjc_framework_MapKit.egg-info/PKG-INFO
10
10
  Lib/pyobjc_framework_MapKit.egg-info/SOURCES.txt
11
11
  Lib/pyobjc_framework_MapKit.egg-info/dependency_links.txt
12
12
  Lib/pyobjc_framework_MapKit.egg-info/not-zip-safe
13
+ Lib/pyobjc_framework_MapKit.egg-info/pyobjc-build-info.txt
13
14
  Lib/pyobjc_framework_MapKit.egg-info/requires.txt
14
15
  Lib/pyobjc_framework_MapKit.egg-info/top_level.txt
15
16
  Modules/_MapKit.m
@@ -19,6 +20,7 @@ Modules/pyobjc-api.h
19
20
  Modules/pyobjc-compat.h
20
21
  PyObjCTest/__init__.py
21
22
  PyObjCTest/test_mapkit.py
23
+ PyObjCTest/test_mkaddressfilter.py
22
24
  PyObjCTest/test_mkannotation.py
23
25
  PyObjCTest/test_mkannotationview.py
24
26
  PyObjCTest/test_mkcircle.py
@@ -43,6 +45,7 @@ PyObjCTest/test_mkmapcamera.py
43
45
  PyObjCTest/test_mkmapcamerazoomrange.py
44
46
  PyObjCTest/test_mkmapconfiguration.py
45
47
  PyObjCTest/test_mkmapitem.py
48
+ PyObjCTest/test_mkmapitemrequest.py
46
49
  PyObjCTest/test_mkmapsnapshot.py
47
50
  PyObjCTest/test_mkmapsnapshotoptions.py
48
51
  PyObjCTest/test_mkmapsnapshotter.py
@@ -60,6 +63,7 @@ PyObjCTest/test_mkpolygon.py
60
63
  PyObjCTest/test_mkpolygonrenderer.py
61
64
  PyObjCTest/test_mkpolyline.py
62
65
  PyObjCTest/test_mkpolylinerenderer.py
66
+ PyObjCTest/test_mkselectionassessory.py
63
67
  PyObjCTest/test_mkshape.py
64
68
  PyObjCTest/test_mksnapshotoptions.py
65
69
  PyObjCTest/test_mkstandardmapconfiguration.py
@@ -69,15 +73,15 @@ PyObjCTest/test_mktypes.py
69
73
  PyObjCTest/test_mkuserlocation.py
70
74
  metadata/MapKit.fwinfo
71
75
  metadata/metadata.ini
72
- metadata/raw/arm64-12.0.fwinfo
73
76
  metadata/raw/arm64-12.3.fwinfo
74
77
  metadata/raw/arm64-13.0.fwinfo
75
- metadata/raw/arm64-14.0.fwinfo
78
+ metadata/raw/arm64-14.5.fwinfo
79
+ metadata/raw/arm64-15.0.fwinfo
76
80
  metadata/raw/x86_64-10.10.fwinfo
77
81
  metadata/raw/x86_64-10.15.fwinfo
78
82
  metadata/raw/x86_64-10.16.fwinfo
79
83
  metadata/raw/x86_64-10.9.fwinfo
80
- metadata/raw/x86_64-12.0.fwinfo
81
84
  metadata/raw/x86_64-12.3.fwinfo
82
85
  metadata/raw/x86_64-13.0.fwinfo
83
- metadata/raw/x86_64-14.0.fwinfo
86
+ metadata/raw/x86_64-14.5.fwinfo
87
+ metadata/raw/x86_64-15.0.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 15.3 (24D5040f)
2
+ Apple clang version 16.0.0 (clang-1600.0.26.6)
3
+ SDK: macOS 15.2
@@ -0,0 +1,4 @@
1
+ pyobjc-core>=11.0
2
+ pyobjc-framework-Cocoa>=11.0
3
+ pyobjc-framework-CoreLocation>=11.0
4
+ pyobjc-framework-Quartz>=11.0
@@ -0,0 +1,66 @@
1
+ #define PY_SSIZE_T_CLEAN
2
+ #include "Python.h"
3
+ #include "pyobjc-api.h"
4
+
5
+ #import <MapKit/MapKit.h>
6
+
7
+ /* We include the source code here instead of
8
+ * using the linker due to limitations in pyobjc-api.h
9
+ */
10
+ #include "_MapKit_protocols.m"
11
+
12
+ static PyMethodDef mod_methods[] = {
13
+ {0, 0, 0, 0} /* sentinel */
14
+ };
15
+
16
+ static int mod_exec_module(PyObject* m)
17
+ {
18
+ return 0;
19
+ }
20
+
21
+ static struct PyModuleDef_Slot mod_slots[] = {
22
+ {
23
+ .slot = Py_mod_exec,
24
+ .value = (void*)mod_exec_module
25
+ },
26
+ #if PY_VERSION_HEX >= 0x030c0000
27
+ {
28
+ /* This extension does not use the CPython API other than initializing
29
+ * the module, hence is safe with subinterpreters and per-interpreter
30
+ * GILs
31
+ */
32
+ .slot = Py_mod_multiple_interpreters,
33
+ .value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
34
+ },
35
+ #endif
36
+ #if PY_VERSION_HEX >= 0x030d0000
37
+ {
38
+ /* The code in this extension should be safe to use without the GIL */
39
+ .slot = Py_mod_gil,
40
+ .value = Py_MOD_GIL_NOT_USED,
41
+ },
42
+ #endif
43
+ { /* Sentinel */
44
+ .slot = 0,
45
+ .value = 0
46
+ }
47
+ };
48
+
49
+ static struct PyModuleDef mod_module = {
50
+ .m_base = PyModuleDef_HEAD_INIT,
51
+ .m_name = "_MapKit",
52
+ .m_doc = NULL,
53
+ .m_size = 0,
54
+ .m_methods = mod_methods,
55
+ .m_slots = mod_slots,
56
+ .m_traverse = NULL,
57
+ .m_clear = NULL,
58
+ .m_free = NULL,
59
+ };
60
+
61
+ PyObject* PyInit__MapKit(void);
62
+
63
+ PyObject* __attribute__((__visibility__("default"))) PyInit__MapKit(void)
64
+ {
65
+ return PyModuleDef_Init(&mod_module);
66
+ }
@@ -1,4 +1,3 @@
1
- #define Py_LIMITED_API 0x03060000
2
1
  #define PY_SSIZE_T_CLEAN
3
2
  #include "Python.h"
4
3
  #include "pyobjc-api.h"
@@ -48,25 +47,59 @@ static PyMethodDef mod_methods[] = {
48
47
  {0, 0, 0, 0} /* sentinel */
49
48
  };
50
49
 
51
- /* Python glue */
52
- static struct PyModuleDef mod_module = {
53
- PyModuleDef_HEAD_INIT, "_inlines", NULL, 0, mod_methods, NULL, NULL, NULL, NULL};
54
-
55
- PyObject* PyInit__inlines(void);
56
-
57
- PyObject*
58
- PyInit__inlines(void)
50
+ static int mod_exec_module(PyObject* m)
59
51
  {
60
- PyObject* m;
61
- m = PyModule_Create(&mod_module);
62
- if (!m) {
63
- return NULL;
64
- }
65
-
66
52
  if (PyModule_AddObject(m, "_inline_list_", PyObjC_CreateInlineTab(function_map))
67
53
  < 0) {
68
- return NULL;
54
+ return -1;
69
55
  }
70
56
 
71
- return m;
57
+ return 0;
58
+ }
59
+
60
+ static struct PyModuleDef_Slot mod_slots[] = {
61
+ {
62
+ .slot = Py_mod_exec,
63
+ .value = (void*)mod_exec_module
64
+ },
65
+ #if PY_VERSION_HEX >= 0x030c0000
66
+ {
67
+ /* This extension does not use the CPython API other than initializing
68
+ * the module, hence is safe with subinterpreters and per-interpreter
69
+ * GILs
70
+ */
71
+ .slot = Py_mod_multiple_interpreters,
72
+ .value = Py_MOD_PER_INTERPRETER_GIL_SUPPORTED,
73
+ },
74
+ #endif
75
+ #if PY_VERSION_HEX >= 0x030d0000
76
+ {
77
+ /* The code in this extension should be safe to use without the GIL */
78
+ .slot = Py_mod_gil,
79
+ .value = Py_MOD_GIL_NOT_USED,
80
+ },
81
+ #endif
82
+ { /* Sentinel */
83
+ .slot = 0,
84
+ .value = 0
85
+ }
86
+ };
87
+
88
+ static struct PyModuleDef mod_module = {
89
+ .m_base = PyModuleDef_HEAD_INIT,
90
+ .m_name = "_inlines",
91
+ .m_doc = NULL,
92
+ .m_size = 0,
93
+ .m_methods = mod_methods,
94
+ .m_slots = mod_slots,
95
+ .m_traverse = NULL,
96
+ .m_clear = NULL,
97
+ .m_free = NULL,
98
+ };
99
+
100
+ PyObject* PyInit__inlines(void);
101
+
102
+ PyObject* __attribute__((__visibility__("default"))) PyInit__inlines(void)
103
+ {
104
+ return PyModuleDef_Init(&mod_module);
72
105
  }
@@ -83,7 +83,7 @@ struct pyobjc_api {
83
83
  PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
84
84
  PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
85
85
  size_t);
86
- void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state);
86
+ void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state) __attribute__((__noreturn__));
87
87
  int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
88
88
  void (*_Nonnull free_c_array)(int, Py_buffer*);
89
89
  int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,