Documentation Archive Developer
Search

MapKit Changes

MapKit (Added)

Added MKAnnotation
Added MKAnnotation.coordinate
Added MKAnnotation.setCoordinate(CLLocationCoordinate2D)
Added MKAnnotation.subtitle
Added MKAnnotation.title
Added MKAnnotationView
Added MKAnnotationView.annotation
Added MKAnnotationView.init(annotation: MKAnnotation!, reuseIdentifier: String!)
Added MKAnnotationView.calloutOffset
Added MKAnnotationView.canShowCallout
Added MKAnnotationView.centerOffset
Added MKAnnotationView.dragState
Added MKAnnotationView.draggable
Added MKAnnotationView.enabled
Added MKAnnotationView.highlighted
Added MKAnnotationView.image
Added MKAnnotationView.leftCalloutAccessoryView
Added MKAnnotationView.leftCalloutOffset
Added MKAnnotationView.prepareForReuse()
Added MKAnnotationView.reuseIdentifier
Added MKAnnotationView.rightCalloutAccessoryView
Added MKAnnotationView.rightCalloutOffset
Added MKAnnotationView.selected
Added MKAnnotationView.setDragState(MKAnnotationViewDragState, animated: Bool)
Added MKAnnotationView.setSelected(Bool, animated: Bool)
Added MKAnnotationViewDragState [enum]
Added MKAnnotationViewDragState.Canceling
Added MKAnnotationViewDragState.Dragging
Added MKAnnotationViewDragState.Ending
Added MKAnnotationViewDragState.None
Added MKAnnotationViewDragState.Starting
Added MKCircle
Added MKCircle.boundingMapRect
Added MKCircle.init(centerCoordinate: CLLocationCoordinate2D, radius: CLLocationDistance)
Added MKCircle.coordinate
Added MKCircle.init(mapRect: MKMapRect)
Added MKCircle.radius
Added MKCircleRenderer
Added MKCircleRenderer.circle
Added MKCircleRenderer.init(circle: MKCircle!)
Added MKCoordinateRegion [struct]
Added MKCoordinateRegion.center
Added MKCoordinateRegion.span
Added MKCoordinateSpan [struct]
Added MKCoordinateSpan.latitudeDelta
Added MKCoordinateSpan.longitudeDelta
Added MKDirections
Added MKDirections.calculateDirectionsWithCompletionHandler(MKDirectionsHandler!)
Added MKDirections.calculateETAWithCompletionHandler(MKETAHandler!)
Added MKDirections.calculating
Added MKDirections.cancel()
Added MKDirections.init(request: MKDirectionsRequest!)
Added MKDirectionsRequest
Added MKDirectionsRequest.arrivalDate
Added MKDirectionsRequest.init(contentsOfURL: NSURL!)
Added MKDirectionsRequest.departureDate
Added MKDirectionsRequest.destination() -> MKMapItem!
Added MKDirectionsRequest.isDirectionsRequestURL(NSURL!) -> Bool [class]
Added MKDirectionsRequest.requestsAlternateRoutes
Added MKDirectionsRequest.setDestination(MKMapItem!)
Added MKDirectionsRequest.setSource(MKMapItem!)
Added MKDirectionsRequest.source() -> MKMapItem!
Added MKDirectionsRequest.transportType
Added MKDirectionsResponse
Added MKDirectionsResponse.destination
Added MKDirectionsResponse.routes
Added MKDirectionsResponse.source
Added MKDirectionsTransportType [struct]
Added MKDirectionsTransportType.Any
Added MKDirectionsTransportType.Automobile
Added MKDirectionsTransportType.Walking
Added MKDirectionsTransportType.init(_: UInt)
Added MKDirectionsTransportType.init(rawValue: UInt)
Added MKDistanceFormatter
Added MKDistanceFormatter.distanceFromString(String!) -> CLLocationDistance
Added MKDistanceFormatter.locale
Added MKDistanceFormatter.stringFromDistance(CLLocationDistance) -> String!
Added MKDistanceFormatter.unitStyle
Added MKDistanceFormatter.units
Added MKDistanceFormatterUnitStyle [enum]
Added MKDistanceFormatterUnitStyle.Abbreviated
Added MKDistanceFormatterUnitStyle.Default
Added MKDistanceFormatterUnitStyle.Full
Added MKDistanceFormatterUnits [enum]
Added MKDistanceFormatterUnits.Default
Added MKDistanceFormatterUnits.Imperial
Added MKDistanceFormatterUnits.ImperialWithYards
Added MKDistanceFormatterUnits.Metric
Added MKETAResponse
Added MKETAResponse.destination
Added MKETAResponse.expectedTravelTime
Added MKETAResponse.source
Added MKErrorCode [enum]
Added MKErrorCode.DirectionsNotFound
Added MKErrorCode.LoadingThrottled
Added MKErrorCode.PlacemarkNotFound
Added MKErrorCode.ServerFailure
Added MKErrorCode.Unknown
Added MKGeodesicPolyline
Added MKGeodesicPolyline.init(coordinates: UnsafeMutablePointer<CLLocationCoordinate2D>, count: Int)
Added MKGeodesicPolyline.init(points: UnsafeMutablePointer<MKMapPoint>, count: Int)
Added MKLocalSearch
Added MKLocalSearch.cancel()
Added MKLocalSearch.init(request: MKLocalSearchRequest!)
Added MKLocalSearch.searching
Added MKLocalSearch.startWithCompletionHandler(MKLocalSearchCompletionHandler!)
Added MKLocalSearchRequest
Added MKLocalSearchRequest.naturalLanguageQuery
Added MKLocalSearchRequest.region
Added MKLocalSearchResponse
Added MKLocalSearchResponse.boundingRegion
Added MKLocalSearchResponse.mapItems
Added MKMapCamera
Added MKMapCamera.altitude
Added MKMapCamera.centerCoordinate
Added MKMapCamera.heading
Added MKMapCamera.init(lookingAtCenterCoordinate: CLLocationCoordinate2D, fromEyeCoordinate: CLLocationCoordinate2D, eyeAltitude: CLLocationDistance)
Added MKMapCamera.pitch
Added MKMapItem
Added MKMapItem.isCurrentLocation
Added MKMapItem.mapItemForCurrentLocation() -> MKMapItem! [class]
Added MKMapItem.name
Added MKMapItem.openInMapsWithLaunchOptions([NSObject: AnyObject]!) -> Bool
Added MKMapItem.openMapsWithItems([AnyObject]!, launchOptions:[NSObject: AnyObject]!) -> Bool [class]
Added MKMapItem.phoneNumber
Added MKMapItem.placemark
Added MKMapItem.init(placemark: MKPlacemark!)
Added MKMapItem.url
Added MKMapPoint [struct]
Added MKMapPoint.x
Added MKMapPoint.y
Added MKMapRect [struct]
Added MKMapRect.origin
Added MKMapRect.size
Added MKMapSize [struct]
Added MKMapSize.height
Added MKMapSize.width
Added MKMapSnapshot
Added MKMapSnapshot.image
Added MKMapSnapshot.pointForCoordinate(CLLocationCoordinate2D) -> NSPoint
Added MKMapSnapshotOptions
Added MKMapSnapshotOptions.camera
Added MKMapSnapshotOptions.mapRect
Added MKMapSnapshotOptions.mapType
Added MKMapSnapshotOptions.region
Added MKMapSnapshotOptions.showsBuildings
Added MKMapSnapshotOptions.showsPointsOfInterest
Added MKMapSnapshotOptions.size
Added MKMapSnapshotter
Added MKMapSnapshotter.cancel()
Added MKMapSnapshotter.loading
Added MKMapSnapshotter.init(options: MKMapSnapshotOptions!)
Added MKMapSnapshotter.startWithCompletionHandler(MKMapSnapshotCompletionHandler!)
Added MKMapSnapshotter.startWithQueue(dispatch_queue_t!, completionHandler: MKMapSnapshotCompletionHandler!)
Added MKMapType [enum]
Added MKMapType.Hybrid
Added MKMapType.Satellite
Added MKMapType.Standard
Added MKMapView
Added MKMapView.addAnnotation(MKAnnotation!)
Added MKMapView.addAnnotations([AnyObject]!)
Added MKMapView.addOverlay(MKOverlay!)
Added MKMapView.addOverlay(MKOverlay!, level: MKOverlayLevel)
Added MKMapView.addOverlays([AnyObject]!)
Added MKMapView.addOverlays([AnyObject]!, level: MKOverlayLevel)
Added MKMapView.annotationVisibleRect
Added MKMapView.annotations
Added MKMapView.annotationsInMapRect(MKMapRect) -> NSSet!
Added MKMapView.camera
Added MKMapView.centerCoordinate
Added MKMapView.convertCoordinate(CLLocationCoordinate2D, toPointToView: NSView!) -> CGPoint
Added MKMapView.convertPoint(CGPoint, toCoordinateFromView: NSView!) -> CLLocationCoordinate2D
Added MKMapView.convertRect(CGRect, toRegionFromView: NSView!) -> MKCoordinateRegion
Added MKMapView.convertRegion(MKCoordinateRegion, toRectToView: NSView!) -> CGRect
Added MKMapView.delegate
Added MKMapView.dequeueReusableAnnotationViewWithIdentifier(String!) -> MKAnnotationView!
Added MKMapView.deselectAnnotation(MKAnnotation!, animated: Bool)
Added MKMapView.exchangeOverlay(MKOverlay!, withOverlay: MKOverlay!)
Added MKMapView.exchangeOverlayAtIndex(Int, withOverlayAtIndex: Int)
Added MKMapView.insertOverlay(MKOverlay!, aboveOverlay: MKOverlay!)
Added MKMapView.insertOverlay(MKOverlay!, atIndex: Int)
Added MKMapView.insertOverlay(MKOverlay!, atIndex: Int, level: MKOverlayLevel)
Added MKMapView.insertOverlay(MKOverlay!, belowOverlay: MKOverlay!)
Added MKMapView.mapRectThatFits(MKMapRect) -> MKMapRect
Added MKMapView.mapRectThatFits(MKMapRect, edgePadding: NSEdgeInsets) -> MKMapRect
Added MKMapView.mapType
Added MKMapView.overlays
Added MKMapView.overlaysInLevel(MKOverlayLevel) -> [AnyObject]!
Added MKMapView.pitchEnabled
Added MKMapView.region
Added MKMapView.regionThatFits(MKCoordinateRegion) -> MKCoordinateRegion
Added MKMapView.removeAnnotation(MKAnnotation!)
Added MKMapView.removeAnnotations([AnyObject]!)
Added MKMapView.removeOverlay(MKOverlay!)
Added MKMapView.removeOverlays([AnyObject]!)
Added MKMapView.rendererForOverlay(MKOverlay!) -> MKOverlayRenderer!
Added MKMapView.rotateEnabled
Added MKMapView.scrollEnabled
Added MKMapView.selectAnnotation(MKAnnotation!, animated: Bool)
Added MKMapView.selectedAnnotations
Added MKMapView.setCamera(MKMapCamera!, animated: Bool)
Added MKMapView.setCenterCoordinate(CLLocationCoordinate2D, animated: Bool)
Added MKMapView.setRegion(MKCoordinateRegion, animated: Bool)
Added MKMapView.setVisibleMapRect(MKMapRect, animated: Bool)
Added MKMapView.setVisibleMapRect(MKMapRect, edgePadding: NSEdgeInsets, animated: Bool)
Added MKMapView.showAnnotations([AnyObject]!, animated: Bool)
Added MKMapView.showsBuildings
Added MKMapView.showsCompass
Added MKMapView.showsPointsOfInterest
Added MKMapView.showsScale
Added MKMapView.showsUserLocation
Added MKMapView.showsZoomControls
Added MKMapView.userLocation
Added MKMapView.userLocationVisible
Added MKMapView.viewForAnnotation(MKAnnotation!) -> MKAnnotationView!
Added MKMapView.visibleMapRect
Added MKMapView.zoomEnabled
Added MKMapViewDelegate
Added MKMapViewDelegate.mapView(MKMapView!, annotationView: MKAnnotationView!, didChangeDragState: MKAnnotationViewDragState, fromOldState: MKAnnotationViewDragState)
Added MKMapViewDelegate.mapView(MKMapView!, didAddAnnotationViews:[AnyObject]!)
Added MKMapViewDelegate.mapView(MKMapView!, didAddOverlayRenderers:[AnyObject]!)
Added MKMapViewDelegate.mapView(MKMapView!, didDeselectAnnotationView: MKAnnotationView!)
Added MKMapViewDelegate.mapView(MKMapView!, didFailToLocateUserWithError: NSError!)
Added MKMapViewDelegate.mapView(MKMapView!, didSelectAnnotationView: MKAnnotationView!)
Added MKMapViewDelegate.mapView(MKMapView!, didUpdateUserLocation: MKUserLocation!)
Added MKMapViewDelegate.mapView(MKMapView!, regionDidChangeAnimated: Bool)
Added MKMapViewDelegate.mapView(MKMapView!, regionWillChangeAnimated: Bool)
Added MKMapViewDelegate.mapView(MKMapView!, rendererForOverlay: MKOverlay!) -> MKOverlayRenderer!
Added MKMapViewDelegate.mapView(MKMapView!, viewForAnnotation: MKAnnotation!) -> MKAnnotationView!
Added MKMapViewDelegate.mapViewDidFailLoadingMap(MKMapView!, withError: NSError!)
Added MKMapViewDelegate.mapViewDidFinishLoadingMap(MKMapView!)
Added MKMapViewDelegate.mapViewDidFinishRenderingMap(MKMapView!, fullyRendered: Bool)
Added MKMapViewDelegate.mapViewDidStopLocatingUser(MKMapView!)
Added MKMapViewDelegate.mapViewWillStartLoadingMap(MKMapView!)
Added MKMapViewDelegate.mapViewWillStartLocatingUser(MKMapView!)
Added MKMapViewDelegate.mapViewWillStartRenderingMap(MKMapView!)
Added MKMultiPoint
Added MKMultiPoint.getCoordinates(UnsafeMutablePointer<CLLocationCoordinate2D>, range: NSRange)
Added MKMultiPoint.pointCount
Added MKMultiPoint.points() -> UnsafeMutablePointer<MKMapPoint>
Added MKOverlay
Added MKOverlay.boundingMapRect
Added MKOverlay.canReplaceMapContent() -> Bool
Added MKOverlay.coordinate
Added MKOverlay.intersectsMapRect(MKMapRect) -> Bool
Added MKOverlayLevel [enum]
Added MKOverlayLevel.AboveLabels
Added MKOverlayLevel.AboveRoads
Added MKOverlayPathRenderer
Added MKOverlayPathRenderer.applyFillPropertiesToContext(CGContext!, atZoomScale: MKZoomScale)
Added MKOverlayPathRenderer.applyStrokePropertiesToContext(CGContext!, atZoomScale: MKZoomScale)
Added MKOverlayPathRenderer.createPath()
Added MKOverlayPathRenderer.fillColor
Added MKOverlayPathRenderer.fillPath(CGPath!, inContext: CGContext!)
Added MKOverlayPathRenderer.invalidatePath()
Added MKOverlayPathRenderer.lineCap
Added MKOverlayPathRenderer.lineDashPattern
Added MKOverlayPathRenderer.lineDashPhase
Added MKOverlayPathRenderer.lineJoin
Added MKOverlayPathRenderer.lineWidth
Added MKOverlayPathRenderer.miterLimit
Added MKOverlayPathRenderer.path
Added MKOverlayPathRenderer.strokeColor
Added MKOverlayPathRenderer.strokePath(CGPath!, inContext: CGContext!)
Added MKOverlayRenderer
Added MKOverlayRenderer.alpha
Added MKOverlayRenderer.canDrawMapRect(MKMapRect, zoomScale: MKZoomScale) -> Bool
Added MKOverlayRenderer.contentScaleFactor
Added MKOverlayRenderer.drawMapRect(MKMapRect, zoomScale: MKZoomScale, inContext: CGContext!)
Added MKOverlayRenderer.mapPointForPoint(CGPoint) -> MKMapPoint
Added MKOverlayRenderer.mapRectForRect(CGRect) -> MKMapRect
Added MKOverlayRenderer.overlay
Added MKOverlayRenderer.init(overlay: MKOverlay!)
Added MKOverlayRenderer.pointForMapPoint(MKMapPoint) -> CGPoint
Added MKOverlayRenderer.rectForMapRect(MKMapRect) -> CGRect
Added MKOverlayRenderer.setNeedsDisplay()
Added MKOverlayRenderer.setNeedsDisplayInMapRect(MKMapRect)
Added MKOverlayRenderer.setNeedsDisplayInMapRect(MKMapRect, zoomScale: MKZoomScale)
Added MKPinAnnotationColor [enum]
Added MKPinAnnotationColor.Green
Added MKPinAnnotationColor.Purple
Added MKPinAnnotationColor.Red
Added MKPinAnnotationView
Added MKPinAnnotationView.animatesDrop
Added MKPinAnnotationView.pinColor
Added MKPlacemark
Added MKPlacemark.init(coordinate: CLLocationCoordinate2D, addressDictionary:[NSObject: AnyObject]!)
Added MKPlacemark.countryCode
Added MKPointAnnotation
Added MKPointAnnotation.coordinate
Added MKPolygon
Added MKPolygon.init(coordinates: UnsafeMutablePointer<CLLocationCoordinate2D>, count: Int)
Added MKPolygon.init(coordinates: UnsafeMutablePointer<CLLocationCoordinate2D>, count: Int, interiorPolygons:[AnyObject]!)
Added MKPolygon.interiorPolygons
Added MKPolygon.init(points: UnsafeMutablePointer<MKMapPoint>, count: Int)
Added MKPolygon.init(points: UnsafeMutablePointer<MKMapPoint>, count: Int, interiorPolygons:[AnyObject]!)
Added MKPolygonRenderer
Added MKPolygonRenderer.polygon
Added MKPolygonRenderer.init(polygon: MKPolygon!)
Added MKPolyline
Added MKPolyline.init(coordinates: UnsafeMutablePointer<CLLocationCoordinate2D>, count: Int)
Added MKPolyline.init(points: UnsafeMutablePointer<MKMapPoint>, count: Int)
Added MKPolylineRenderer
Added MKPolylineRenderer.polyline
Added MKPolylineRenderer.init(polyline: MKPolyline!)
Added MKRoute
Added MKRoute.advisoryNotices
Added MKRoute.distance
Added MKRoute.expectedTravelTime
Added MKRoute.name
Added MKRoute.polyline
Added MKRoute.steps
Added MKRoute.transportType
Added MKRouteStep
Added MKRouteStep.distance
Added MKRouteStep.instructions
Added MKRouteStep.notice
Added MKRouteStep.polyline
Added MKRouteStep.transportType
Added MKShape
Added MKShape.subtitle
Added MKShape.title
Added MKTileOverlay
Added MKTileOverlay.URLForTilePath(MKTileOverlayPath) -> NSURL!
Added MKTileOverlay.URLTemplate
Added MKTileOverlay.init(URLTemplate: String!)
Added MKTileOverlay.canReplaceMapContent
Added MKTileOverlay.geometryFlipped
Added MKTileOverlay.loadTileAtPath(MKTileOverlayPath, result:((NSData!, NSError!) -> Void)!)
Added MKTileOverlay.maximumZ
Added MKTileOverlay.minimumZ
Added MKTileOverlay.tileSize
Added MKTileOverlayPath [struct]
Added MKTileOverlayPath.contentScaleFactor
Added MKTileOverlayPath.x
Added MKTileOverlayPath.y
Added MKTileOverlayPath.z
Added MKTileOverlayRenderer
Added MKTileOverlayRenderer.reloadData()
Added MKTileOverlayRenderer.init(tileOverlay: MKTileOverlay!)
Added MKUserLocation
Added MKUserLocation.heading
Added MKUserLocation.location
Added MKUserLocation.subtitle
Added MKUserLocation.title
Added MKUserLocation.updating
Added NSValue.init(MKCoordinate: CLLocationCoordinate2D)
Added NSValue.init(MKCoordinateSpan: MKCoordinateSpan)
Added NSValue.MKCoordinateSpanValue
Added NSValue.MKCoordinateValue
Added MKAnnotationCalloutInfoDidChangeNotification
Added MKCoordinateForMapPoint(MKMapPoint) -> CLLocationCoordinate2D
Added MKCoordinateRegionForMapRect(MKMapRect) -> MKCoordinateRegion
Added MKCoordinateRegionMake(CLLocationCoordinate2D, MKCoordinateSpan) -> MKCoordinateRegion
Added MKCoordinateRegionMakeWithDistance(CLLocationCoordinate2D, CLLocationDistance, CLLocationDistance) -> MKCoordinateRegion
Added MKCoordinateSpanMake(CLLocationDegrees, CLLocationDegrees) -> MKCoordinateSpan
Added MKDirectionsHandler
Added MKETAHandler
Added MKErrorDomain
Added MKLaunchOptionsCameraKey
Added MKLaunchOptionsDirectionsModeDriving
Added MKLaunchOptionsDirectionsModeKey
Added MKLaunchOptionsDirectionsModeWalking
Added MKLaunchOptionsMapCenterKey
Added MKLaunchOptionsMapSpanKey
Added MKLaunchOptionsMapTypeKey
Added MKLaunchOptionsShowsTrafficKey
Added MKLocalSearchCompletionHandler
Added MKMapPointEqualToPoint(MKMapPoint, MKMapPoint) -> Bool
Added MKMapPointForCoordinate(CLLocationCoordinate2D) -> MKMapPoint
Added MKMapPointMake(Double, Double) -> MKMapPoint
Added MKMapPointsPerMeterAtLatitude(CLLocationDegrees) -> Double
Added MKMapRectContainsPoint(MKMapRect, MKMapPoint) -> Bool
Added MKMapRectContainsRect(MKMapRect, MKMapRect) -> Bool
Added MKMapRectDivide(MKMapRect, UnsafeMutablePointer<MKMapRect>, UnsafeMutablePointer<MKMapRect>, Double, CGRectEdge)
Added MKMapRectEqualToRect(MKMapRect, MKMapRect) -> Bool
Added MKMapRectGetHeight(MKMapRect) -> Double
Added MKMapRectGetMaxX(MKMapRect) -> Double
Added MKMapRectGetMaxY(MKMapRect) -> Double
Added MKMapRectGetMidX(MKMapRect) -> Double
Added MKMapRectGetMidY(MKMapRect) -> Double
Added MKMapRectGetMinX(MKMapRect) -> Double
Added MKMapRectGetMinY(MKMapRect) -> Double
Added MKMapRectGetWidth(MKMapRect) -> Double
Added MKMapRectInset(MKMapRect, Double, Double) -> MKMapRect
Added MKMapRectIntersection(MKMapRect, MKMapRect) -> MKMapRect
Added MKMapRectIntersectsRect(MKMapRect, MKMapRect) -> Bool
Added MKMapRectIsEmpty(MKMapRect) -> Bool
Added MKMapRectIsNull(MKMapRect) -> Bool
Added MKMapRectMake(Double, Double, Double, Double) -> MKMapRect
Added MKMapRectNull
Added MKMapRectOffset(MKMapRect, Double, Double) -> MKMapRect
Added MKMapRectRemainder(MKMapRect) -> MKMapRect
Added MKMapRectSpans180thMeridian(MKMapRect) -> Bool
Added MKMapRectUnion(MKMapRect, MKMapRect) -> MKMapRect
Added MKMapRectWorld
Added MKMapSizeEqualToSize(MKMapSize, MKMapSize) -> Bool
Added MKMapSizeMake(Double, Double) -> MKMapSize
Added MKMapSizeWorld
Added MKMapSnapshotCompletionHandler
Added MKMetersBetweenMapPoints(MKMapPoint, MKMapPoint) -> CLLocationDistance
Added MKMetersPerMapPointAtLatitude(CLLocationDegrees) -> CLLocationDistance
Added MKRoadWidthAtZoomScale(MKZoomScale) -> CGFloat
Added MKStringFromMapPoint(MKMapPoint) -> String!
Added MKStringFromMapRect(MKMapRect) -> String!
Added MKStringFromMapSize(MKMapSize) -> String!
Added MKZoomScale