MapKit Changes for Objective-C
MapKit
MKAnnotationView.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
MKPlacemark.h
MKPolygon.h
Declaration | |
---|---|
From | + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count |
To | + (instancetype)polygonWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count |
Declaration | |
---|---|
From | + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count interiorPolygons:(NSArray<MKPolygon *> *)interiorPolygons |
To | + (instancetype)polygonWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count interiorPolygons:(NSArray<MKPolygon *> *)interiorPolygons |
Declaration | |
---|---|
From | + (instancetype)polygonWithPoints:(MKMapPoint *)points count:(NSUInteger)count |
To | + (instancetype)polygonWithPoints:(const MKMapPoint *)points count:(NSUInteger)count |
Declaration | |
---|---|
From | + (instancetype)polygonWithPoints:(MKMapPoint *)points count:(NSUInteger)count interiorPolygons:(NSArray<MKPolygon *> *)interiorPolygons |
To | + (instancetype)polygonWithPoints:(const MKMapPoint *)points count:(NSUInteger)count interiorPolygons:(NSArray<MKPolygon *> *)interiorPolygons |
MKPolyline.h
Declaration | |
---|---|
From | + (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count |
To | + (instancetype)polylineWithCoordinates:(const CLLocationCoordinate2D *)coords count:(NSUInteger)count |
Declaration | |
---|---|
From | + (instancetype)polylineWithPoints:(MKMapPoint *)points count:(NSUInteger)count |
To | + (instancetype)polylineWithPoints:(const MKMapPoint *)points count:(NSUInteger)count |
NSUserActivity+MKMapItem.h (Added)
Added NSUserActivity.mapItem
Added NSUserActivity(MKMapItem)