NSValue(GLMapViewAdditions)
@interface NSValue (GLMapViewAdditions)
Extensions to store GLMapPoint and GLMapGeoPoint inside NSValue
-
Creates
NSValueobject withGLMapPoint.Declaration
Objective-C
+ (NSValue *)valueWithGLMapPoint:(GLMapPoint)pt;Swift
/*not inherited*/ init!(glMapPoint pt: GLMapPoint)Parameters
ptPoint
Return Value
Returns new
NSValueobject withGLMapPointinside. -
Creates
NSValueobject withGLMapGeoPoint.Declaration
Objective-C
+ (NSValue *)valueWithGLMapGeoPoint:(GLMapGeoPoint)pt;Swift
/*not inherited*/ init!(glMapGeoPoint pt: GLMapGeoPoint)Parameters
ptPoint
Return Value
Returns new
NSValueobject withGLMapGeoPointinside. -
Returns
GLMapPointobject fromNSValue. It automatically converts value fromGLMapGeoPointtoGLMapPointif needed. If there is noGLMapPointorGLMapGeoPointinside (NaN, NaN) is returned.Return Value
Returns
GLMapPointobject fromNSValue. -
Returns
GLMapGeoPointobject fromNSValue. It automatically converts value fromGLMapPointtoGLMapGeoPointif needed. If there is noGLMapGeoPointorGLMapPointinside (NaN, NaN) is returned.Return Value
Returns
GLMapGeoPointobject fromNSValue.
Install in Dash