ApptimizeVariableString

@interface ApptimizeVariableString : ApptimizeVariable

ApptimizeVariableString is a dynamic variable which contains an NSString.

  • Retrieves the string value of this ApptimizeVariableString.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nullable stringValue;

    Swift

    var stringValue: String? { get }

    Return Value

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