• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 10.2.0.83
GDVersion.h
Go to the documentation of this file.
1 /*
2  * (c) 2017 BlackBerry Limited. All rights reserved.
3  *
4  */
5 
6 #pragma once
7 
8 #import <Foundation/Foundation.h>
9 
10 NS_ASSUME_NONNULL_BEGIN
11 
78 @interface GDVersion : NSObject
79 
85 - (nullable instancetype)initWithString:(NSString*)versionString;
86 
92 - (nullable instancetype)initWithArray:(NSArray*)array;
93 
99 - (NSUInteger)numberOfVersionParts;
100 
109 - (NSUInteger)versionPartAt:(NSUInteger)position;
110 
116 - (NSComparisonResult)compare:(GDVersion*)anotherVersion;
117 
123 - (BOOL)isEqualToVersion:(nullable GDVersion*)anotherVersion;
124 
130 - (BOOL)isGreaterThanVersion:(nullable GDVersion*)anotherVersion;
131 
137 - (BOOL)isLessThanVersion:(nullable GDVersion*)anotherVersion;
138 
143 @property(nonatomic, readonly) NSString *stringValue;
144 @end
145 
146 NS_ASSUME_NONNULL_END
GDVersion::stringValue
NSString * stringValue
Dotted string representation.
Definition: GDVersion.h:143
GDVersion
BlackBerry Dynamics entitlement version.
Definition: GDVersion.h:78
-[GDVersion numberOfVersionParts]
NSUInteger numberOfVersionParts()
Count of how many constituent numbers are in the version.