# ApptimizeVariableInteger

    @interface ApptimizeVariableInteger : ApptimizeVariable

ApptimizeVariableInteger is a dynamic variable which contains a signed or unsigned integer.

- `integerValue`

  Retrieves the signed integer value of this ApptimizeVariableInteger.

  #### Declaration

  Objective-C

      @property (nonatomic, readonly) NSInteger integerValue;

  Swift

      var integerValue: Int { get }

  #### Return Value

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

- `unsignedIntegerValue`

  Retrieves the unsigned integer value of this ApptimizeVariableInteger.

  #### Declaration

  Objective-C

      @property (nonatomic, readonly) NSUInteger unsignedIntegerValue;

  Swift

      var unsignedIntegerValue: UInt { get }

  #### Return Value

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

© 2025 Apptimize Inc.. All rights reserved. (Last updated: 2025-10-10)

Generated by jazzy ♪♫ v0.14.3, a Realm project.