NSValue(MGLOfflinePackAdditions)
@interface NSValue (MGLOfflinePackAdditions)
Methods for round-tripping MGLOfflinePackProgress
values.
-
Creates a new value object containing the given
MGLOfflinePackProgress
structure.Declaration
Objective-C
+ (nonnull NSValue *)valueWithMGLOfflinePackProgress: (MGLOfflinePackProgress)progress;
Swift
/*not inherited*/ init(MGLOfflinePackProgress progress: MGLOfflinePackProgress)
Parameters
progress
The value for the new object.
Return Value
A new value object that contains the offline pack progress information.
-
The
MGLOfflinePackProgress
structure representation of the value.Declaration
Objective-C
@property (readonly, atomic) MGLOfflinePackProgress MGLOfflinePackProgressValue;
Swift
var MGLOfflinePackProgressValue: MGLOfflinePackProgress { get }