NSValue(VBDAdditions)
@interface NSValue (VBDAdditions)
Methods for round-tripping values for Vietbando-defined types.
-
Creates a new value object containing the specified Core Location geographic coordinate structure.
Declaration
Objective-C
+ (nonnull instancetype)valueWithVBDCoordinate: (CLLocationCoordinate2D)coordinate;Parameters
coordinateThe value for the new object.
Return Value
A new value object that contains the geographic coordinate information.
-
The Core Location geographic coordinate structure representation of the value.
Declaration
Objective-C
@property (readonly, atomic) CLLocationCoordinate2D VBDCoordinateValue; -
Creates a new value object containing the specified Vietbando coordinate span structure.
Declaration
Objective-C
+ (nonnull instancetype)valueWithVBDCoordinateSpan:(VBDCoordinateSpan)span;Parameters
spanThe value for the new object.
Return Value
A new value object that contains the coordinate span information.
-
The Vietbando coordinate span structure representation of the value.
Declaration
Objective-C
@property (readonly, atomic) VBDCoordinateSpan VBDCoordinateSpanValue; -
Creates a new value object containing the specified Vietbando coordinate bounds structure.
Declaration
Objective-C
+ (nonnull instancetype)valueWithVBDCoordinateBounds: (VBDCoordinateBounds)bounds;Parameters
boundsThe value for the new object.
Return Value
A new value object that contains the coordinate bounds information.
-
The Vietbando coordinate bounds structure representation of the value.
Declaration
Objective-C
@property (readonly, atomic) VBDCoordinateBounds VBDCoordinateBoundsValue;
-
Creates a new value object containing the given
VBDOfflinePackProgressstructure.Declaration
Objective-C
+ (nonnull NSValue *)valueWithVBDOfflinePackProgress: (VBDOfflinePackProgress)progress;Parameters
progressThe value for the new object.
Return Value
A new value object that contains the offline pack progress information.
-
The
VBDOfflinePackProgressstructure representation of the value.Declaration
Objective-C
@property (readonly, atomic) VBDOfflinePackProgress VBDOfflinePackProgressValue;
NSValue(VBDAdditions) Category Reference