ApptimizeVariableArray

@interface ApptimizeVariableArray<__covariant ContainedType> : ApptimizeVariable

ApptimizeVariableArray is a dynamic variable which contains an array of a specified type (string, bool, integer, double).

  • Retrieves the array of this ApptimizeVariableArray.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<ContainedType> *_Nullable arrayValue;

    Swift

    var arrayValue: [ContainedType]? { get }

    Return Value

    Returns the default array provided at construction if no variant has been received from the servers, or the variant array if enrolled in a particular variant.
    Returns the default value if there is an issue with the incoming variant data.