MapKit Changes
MapKit
MKAnnotation.h
MKAnnotationView.h
| Declaration | |
|---|---|
| From | - (id)initWithAnnotation:(id<MKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier |
| To | - (instancetype)initWithAnnotation:(id<MKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier |
MKCircle.h
| Declaration | |
|---|---|
| From | + (MKCircle *)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(CLLocationDistance)radius |
| To | + (instancetype)circleWithCenterCoordinate:(CLLocationCoordinate2D)coord radius:(CLLocationDistance)radius |
Modified +[MKCircle circleWithMapRect:]
| Declaration | |
|---|---|
| From | + (MKCircle *)circleWithMapRect:(MKMapRect)mapRect |
| To | + (instancetype)circleWithMapRect:(MKMapRect)mapRect |
MKCircleRenderer.h
Modified -[MKCircleRenderer initWithCircle:]
| Declaration | |
|---|---|
| From | - (id)initWithCircle:(MKCircle *)circle |
| To | - (instancetype)initWithCircle:(MKCircle *)circle |
MKCircleView.h
Modified -[MKCircleView initWithCircle:]
| Declaration | |
|---|---|
| From | - (id)initWithCircle:(MKCircle *)circle |
| To | - (instancetype)initWithCircle:(MKCircle *)circle |
MKDirectionsRequest.h
| Declaration | |
|---|---|
| From | - (id)initWithContentsOfURL:(NSURL *)url |
| To | - (instancetype)initWithContentsOfURL:(NSURL *)url |
MKGeometry.h
Removed -[NSValue MKCoordinateSpanValue]
Removed -[NSValue MKCoordinateValue]
MKLocalSearch.h
Modified -[MKLocalSearch initWithRequest:]
| Declaration | |
|---|---|
| From | - (id)initWithRequest:(MKLocalSearchRequest *)request |
| To | - (instancetype)initWithRequest:(MKLocalSearchRequest *)request |
MKMapItem.h
Modified -[MKMapItem initWithPlacemark:]
| Declaration | |
|---|---|
| From | - (id)initWithPlacemark:(MKPlacemark *)placemark |
| To | - (instancetype)initWithPlacemark:(MKPlacemark *)placemark |
Modified MKLaunchOptionsCameraKey
| Introduction | |
|---|---|
| From | iOS 7.0 |
| To | iOS 7.1 |
MKMapView.h
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
MKOverlay.h
Modified -[MKOverlay canReplaceMapContent]
| Optional | |
|---|---|
| From | -- |
| To | yes |
Modified -[MKOverlay intersectsMapRect:]
| Optional | |
|---|---|
| From | -- |
| To | yes |
MKOverlayRenderer.h
| Declaration | |
|---|---|
| From | - (id)initWithOverlay:(id<MKOverlay>)overlay |
| To | - (instancetype)initWithOverlay:(id<MKOverlay>)overlay |
MKOverlayView.h
Modified -[MKOverlayView initWithOverlay:]
| Declaration | |
|---|---|
| From | - (id)initWithOverlay:(id<MKOverlay>)overlay |
| To | - (instancetype)initWithOverlay:(id<MKOverlay>)overlay |
MKPlacemark.h
| Declaration | |
|---|---|
| From | - (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate addressDictionary:(NSDictionary *)addressDictionary |
| To | - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate addressDictionary:(NSDictionary *)addressDictionary |
MKPolygon.h
| Declaration | |
|---|---|
| From | + (MKPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count |
| To | + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count |
| Declaration | |
|---|---|
| From | + (MKPolygon *)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons |
| To | + (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons |
| Declaration | |
|---|---|
| From | + (MKPolygon *)polygonWithPoints:(MKMapPoint *)points count:(NSUInteger)count |
| To | + (instancetype)polygonWithPoints:(MKMapPoint *)points count:(NSUInteger)count |
| Declaration | |
|---|---|
| From | + (MKPolygon *)polygonWithPoints:(MKMapPoint *)points count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons |
| To | + (instancetype)polygonWithPoints:(MKMapPoint *)points count:(NSUInteger)count interiorPolygons:(NSArray *)interiorPolygons |
MKPolygonRenderer.h
| Declaration | |
|---|---|
| From | - (id)initWithPolygon:(MKPolygon *)polygon |
| To | - (instancetype)initWithPolygon:(MKPolygon *)polygon |
MKPolygonView.h
Modified -[MKPolygonView initWithPolygon:]
| Declaration | |
|---|---|
| From | - (id)initWithPolygon:(MKPolygon *)polygon |
| To | - (instancetype)initWithPolygon:(MKPolygon *)polygon |
MKPolylineRenderer.h
| Declaration | |
|---|---|
| From | - (id)initWithPolyline:(MKPolyline *)polyline |
| To | - (instancetype)initWithPolyline:(MKPolyline *)polyline |
MKPolylineView.h
Modified -[MKPolylineView initWithPolyline:]
| Declaration | |
|---|---|
| From | - (id)initWithPolyline:(MKPolyline *)polyline |
| To | - (instancetype)initWithPolyline:(MKPolyline *)polyline |
MKReverseGeocoder.h
| Declaration | |
|---|---|
| From | - (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate |
| To | - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate |
MKTileOverlay.h
| Declaration | |
|---|---|
| From | - (id)initWithURLTemplate:(NSString *)URLTemplate |
| To | - (instancetype)initWithURLTemplate:(NSString *)URLTemplate |
MKTileOverlayRenderer.h
| Declaration | |
|---|---|
| From | - (id)initWithTileOverlay:(MKTileOverlay *)overlay |
| To | - (instancetype)initWithTileOverlay:(MKTileOverlay *)overlay |
MKUserTrackingBarButtonItem.h
| Declaration | |
|---|---|
| From | - (id)initWithMapView:(MKMapView *)mapView |
| To | - (instancetype)initWithMapView:(MKMapView *)mapView |