Version
is a class used to work with (parse, enforce, and compare) the version scheme used for BGX Firmware.
More...
Version
is a class used to work with (parse, enforce, and compare) the version scheme used for BGX Firmware.
◆
Version
Inherits NSObject.
◆
versionFromString:()
+ (
Version
*) versionFromString:
|
|
(NSString *)
|
versionString
|
|
Creates a new version object from a string object from the BGX.
One good place to get this is the firmwareRevision property of
BGXDevice
. Also, the DMS firmware list will contain a version string. You can use
Version
class to compare these strings.
◆
initWithString:()
- (id) initWithString:
|
|
(NSString *)
|
versionString
|
|
Initializes an instance from a string object from the BGX.
One good place to get this is the firmwareRevision property of
BGXDevice
. Also, the DMS firmware list will contain a version string. You can use
Version
class to compare these strings.
◆
compare:()
- (NSComparisonResult) compare:
|
|
(
Version
*)
|
otherVersion
|
|
Compares two version objects and returns NSComparisonResult.
◆
_major
◆
_minor
◆
_build
◆
_revision
◆
major
◆
minor
◆
build
◆
revision