ApptimizeVariableInteger
@interface ApptimizeVariableInteger : ApptimizeVariable
ApptimizeVariableInteger is a dynamic variable which contains a signed or unsigned integer.
-
Retrieves the signed integer value of this ApptimizeVariableInteger.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger integerValue;
Swift
var integerValue: Int { get }
Return Value
Returns the default integer provided at construction if no variant has been received from the servers, or the variant integer if enrolled in a particular variant.
Returns the default value if there is an issue with the incoming variant data. -
Retrieves the unsigned integer value of this ApptimizeVariableInteger.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger unsignedIntegerValue;
Swift
var unsignedIntegerValue: UInt { get }
Return Value
Returns the default integer provided at construction if no variant has been received from the servers, or the variant integer if enrolled in a particular variant.
Returns the default value if there is an issue with the incoming variant data.