ROXConfigurationBool

@interface ROXConfigurationBool : ROXRemoteVariable

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

    Swift

    init(defaultValue: Bool)

    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) BOOL value;

    Swift

    var value: Bool { get }