NSValue MapKit Additions Reference
| Framework | /System/Library/Frameworks/MapKit.framework |
| Availability | Available in iOS 6.0 and later. |
| Companion guide | |
| Declared in | MKGeometry.h |
Overview
This category adds methods to the Foundation framework’s NSValue class. The methods in this category let you represent map-related data using an NSValue object.
Class Methods
valueWithMKCoordinate:
Creates and returns a value object that contains the specified coordinate data.
Parameters
- coordinate
The value for the new object.
Return Value
A new value object that contains the coordinate data.
Availability
- Available in iOS 6.0 and later.
Declared In
MKGeometry.hvalueWithMKCoordinateSpan:
Creates and returns a value object that contains the specified coordinate span data.
Parameters
- span
The value for the new object.
Return Value
A new value object that contains the coordinate span data.
Availability
- Available in iOS 6.0 and later.
Declared In
MKGeometry.hInstance Methods
MKCoordinateSpanValue
Returns a coordinate span structure representing the data in the receiver.
Return Value
A coordinate span structure containing the receiver’s value.
Availability
- Available in iOS 6.0 and later.
Declared In
MKGeometry.hMKCoordinateValue
Returns a coordinate structure representing the data in the receiver.
Return Value
A coordinate structure containing the receiver’s value.
Availability
- Available in iOS 6.0 and later.
Declared In
MKGeometry.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-09-19)