Documentation Archive Developer
Search

MapKit Changes

MapKit

MKAnnotation.h
Optional
From--
Toyes

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

Declaration
From
+ (MKCircle *)circleWithMapRect:(MKMapRect)mapRect
To
+ (instancetype)circleWithMapRect:(MKMapRect)mapRect

MKCircleRenderer.h
Declaration
From
- (id)initWithCircle:(MKCircle *)circle
To
- (instancetype)initWithCircle:(MKCircle *)circle

MKCircleView.h
Declaration
From
- (id)initWithCircle:(MKCircle *)circle
To
- (instancetype)initWithCircle:(MKCircle *)circle

MKDirectionsRequest.h
Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url
To
- (instancetype)initWithContentsOfURL:(NSURL *)url

MKLocalSearch.h
Declaration
From
- (id)initWithRequest:(MKLocalSearchRequest *)request
To
- (instancetype)initWithRequest:(MKLocalSearchRequest *)request

MKMapItem.h
Declaration
From
- (id)initWithPlacemark:(MKPlacemark *)placemark
To
- (instancetype)initWithPlacemark:(MKPlacemark *)placemark

Introduction
FromiOS 7.0
ToiOS 7.1

MKMapView.h
Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

MKOverlay.h
Optional
From--
Toyes

Optional
From--
Toyes

MKOverlayRenderer.h
Declaration
From
- (id)initWithOverlay:(id<MKOverlay>)overlay
To
- (instancetype)initWithOverlay:(id<MKOverlay>)overlay

MKOverlayView.h
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
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
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