ROXConfigurationInt

@interface ROXConfigurationInt : ROXRemoteVariable

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

    Swift

    init(defaultValue: Int32)

    Parameters

    defaultValue

    value that is retrieve by value unless configured differently on ROX

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

    Declaration

    Objective-C

    @property (readonly, nonatomic) int value;

    Swift

    var value: Int32 { get }