Classes

The following classes are available globally.

  • This interface is used to create and retrieve dynamic variables.

    The factory methods are used to create and register dynamic variables with the SDK. As they need to be declared prior to setting up an experiment, they should be called as early as possible during app execution, such as in didFinishLaunchingWithOptions.

    All the factory methods return a reference to the created dynamic variable.

    As dynamic variables are expected to be declared ahead of time during app startup, getters are provided to retrieve those dynamic variables at time of use.

    See more

    Declaration

    Objective-C

    @interface ApptimizeVariable : NSObject

    Swift

    class ApptimizeVariable : NSObject
  • ApptimizeVariableString is a dynamic variable which contains an NSString.

    See more

    Declaration

    Objective-C

    @interface ApptimizeVariableString : ApptimizeVariable

    Swift

    class ApptimizeVariableString : ApptimizeVariable
  • ApptimizeVariableBool is a dynamic variable which contains a bool.

    See more

    Declaration

    Objective-C

    @interface ApptimizeVariableBool : ApptimizeVariable

    Swift

    class ApptimizeVariableBool : ApptimizeVariable
  • ApptimizeVariableInteger is a dynamic variable which contains a signed or unsigned integer.

    See more

    Declaration

    Objective-C

    @interface ApptimizeVariableInteger : ApptimizeVariable

    Swift

    class ApptimizeVariableInteger : ApptimizeVariable
  • ApptimizeVariableDouble is a dynamic variable which contains a double floating point number.

    See more

    Declaration

    Objective-C

    @interface ApptimizeVariableDouble : ApptimizeVariable

    Swift

    class ApptimizeVariableDouble : ApptimizeVariable
  • ApptimizeVariableArray is a dynamic variable which contains an array of a specified type (string, bool, integer, double).

    See more

    Declaration

    Objective-C

    @interface ApptimizeVariableArray <__covariant ContainedType> : ApptimizeVariable

    Swift

    class ApptimizeVariableArray
  • ApptimizeVariableDictionary is a dynamic variable which contains a dictionary of values of a specified type (string, bool, integer, double) keyed by strings.

    See more

    Declaration

    Objective-C

    @interface ApptimizeVariableDictionary <__covariant ContainedType> : ApptimizeVariable

    Swift

    class ApptimizeVariableDictionary
  • The Apptimize interface is the main interaction point with the Apptimize SDK for developers.

    Getting Started

    Add your Apptimize App Key to your application’s Info.plist e.g.

     ApptimizeAppKey = "AaaaABbbbBCcccCDdddDEeeeEFfffF" // Type: String; Without quotes.
    

    For more information on how to get started using the Apptimize Library see: http://apptimize.com/docs/getting-started-ios/step-1-installation-ios/

    See more

    Declaration

    Objective-C

    @interface Apptimize : NSObject

    Swift

    class Apptimize : NSObject
  • Wraps a code block with its corresponding name.

    Useful in Swift for passing closures to +runTest:withBaseline:apptimizeCodeBlocks:andOptions:

    See more

    Declaration

    Objective-C

    @interface ApptimizeCodeBlock : NSObject

    Swift

    class ApptimizeCodeBlock : NSObject