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
coordinate
The 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
span
The 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
bounds
The 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
VBDOfflinePackProgress
structure.Declaration
Objective-C
+ (nonnull NSValue *)valueWithVBDOfflinePackProgress: (VBDOfflinePackProgress)progress;
Parameters
progress
The value for the new object.
Return Value
A new value object that contains the offline pack progress information.
-
The
VBDOfflinePackProgress
structure representation of the value.Declaration
Objective-C
@property (readonly, atomic) VBDOfflinePackProgress VBDOfflinePackProgressValue;