ROXConfigurationString

@interface ROXConfigurationString : ROXRemoteVariable

This class is the API for a remote configuration String that is controlled by ROX server, on init you assing a default value to that string that can be changed by the configuration tab in ROX dashboard

  • Initiate the configuration with a defaultValue

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithDefaultValue:(NSString *_Nonnull)defaultValue;

    Swift

    init(defaultValue: String)

    Parameters

    defaultValue

    value that is retrieve by value unless configured differently on ROX

  • The BOOL value, if nothing is configured on ROX dashboard, the default value will be returned

    Declaration

    Objective-C

    @property (readonly, nonatomic, nonnull) NSString *value;

    Swift

    var value: String { get }