ApptimizeVariableBool
@interface ApptimizeVariableBool : ApptimizeVariable
ApptimizeVariableBool is a dynamic variable which contains a bool.
-
Retrieves the bool value of this ApptimizeVariableBool.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL boolValue;
Swift
var boolValue: Bool { get }
Return Value
Returns the default bool provided at construction if no variant has been received from the servers, or the variant bool if enrolled in a particular variant.
Returns the default value if there is an issue with the incoming variant data.