ROXConfigurationDouble

@interface ROXConfigurationDouble : ROXRemoteVariable

This class is the API for a remote configuration Double 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:(double)defaultValue;

    Swift

    init(defaultValue: Double)

    Parameters

    defaultValue

    value that is retrieve by value unless configured differently on ROX

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

    Declaration

    Objective-C

    @property (readonly, nonatomic) double value;

    Swift

    var value: Double { get }