Documentation Archive Developer
Search

MapKit Changes

MapKit

MKAnnotation.h
Optional
From--
Toyes

MKAnnotationView.h
Declaration
From
@property(nonatomic, retain) id<MKAnnotation> annotation
To
@property(nonatomic, strong) id<MKAnnotation> annotation

Declaration
From
@property(nonatomic, retain) NSImage *image
To
@property(nonatomic, strong) NSImage *image

Declaration
From
- (id)initWithAnnotation:(id<MKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier
To
- (instancetype)initWithAnnotation:(id<MKAnnotation>)annotation reuseIdentifier:(NSString *)reuseIdentifier

Declaration
From
@property(retain, nonatomic) NSView *leftCalloutAccessoryView
To
@property(strong, nonatomic) NSView *leftCalloutAccessoryView

Declaration
From
@property(retain, nonatomic) NSView *rightCalloutAccessoryView
To
@property(strong, nonatomic) NSView *rightCalloutAccessoryView

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

MKDirections.h
Designated Initializer
From--
Toyes

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

MKLocalSearch.h
DeclarationDesignated Initializer
From
- (id)initWithRequest:(MKLocalSearchRequest *)request
--
To
- (instancetype)initWithRequest:(MKLocalSearchRequest *)request
yes

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

Declaration
From
@property(nonatomic, readonly, retain) MKPlacemark *placemark
To
@property(nonatomic, readonly) MKPlacemark *placemark

Modified MKMapItem.url
Declaration
From
@property(nonatomic, retain) NSURL *url
To
@property(nonatomic, strong) NSURL *url

MKMapSnapshotter.h
Designated Initializer
From--
Toyes

MKMapView.h
Declaration
From
@property(nonatomic, assign) id<MKMapViewDelegate> delegate
To
@property(nonatomic, weak) id<MKMapViewDelegate> delegate

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

MKMultiPoint.h
Removed MKMultiPoint.points
MKOverlay.h
Optional
From--
Toyes

Optional
From--
Toyes

MKOverlayPathRenderer.h
Declaration
From
@property(retain) NSColor *fillColor
To
@property(strong) NSColor *fillColor

Declaration
From
@property(retain) NSColor *strokeColor
To
@property(strong) NSColor *strokeColor

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

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

MKPolylineRenderer.h
Declaration
From
- (id)initWithPolyline:(MKPolyline *)polyline
To
- (instancetype)initWithPolyline:(MKPolyline *)polyline

MKTileOverlay.h
DeclarationDesignated Initializer
From
- (id)initWithURLTemplate:(NSString *)URLTemplate
--
To
- (instancetype)initWithURLTemplate:(NSString *)URLTemplate
yes

MKTileOverlayRenderer.h
Declaration
From
- (id)initWithTileOverlay:(MKTileOverlay *)overlay
To
- (instancetype)initWithTileOverlay:(MKTileOverlay *)overlay

MKUserLocation.h
Declaration
From
@property(readonly, nonatomic, retain) CLHeading *heading
To
@property(readonly, nonatomic) CLHeading *heading

Declaration
From
@property(readonly, retain, nonatomic) CLLocation *location
To
@property(readonly, nonatomic) CLLocation *location