FMLiveSwitchIntegerHolder Class Reference

Class to hold an integer value passed by reference. More...

Instance Methods

(instancetype) - init
 Initializes a new instance of the FMLiveSwitchIntegerHolder class. More...
 
(instancetype) - initWithValue:
 Initializes a new instance of the FMLiveSwitchIntegerHolder class. More...
 
(void) - setValue:
 Sets the value. More...
 
(int) - value
 Gets the value. More...
 

Class Methods

(FMLiveSwitchIntegerHolder *) + integerHolder
 Initializes a new instance of the FMLiveSwitchIntegerHolder class. More...
 
(FMLiveSwitchIntegerHolder *) + integerHolder:
 Initializes a new instance of the FMLiveSwitchIntegerHolder class. More...
 

Detailed Description

Class to hold an integer value passed by reference.

Method Documentation

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchIntegerHolder class.

◆ initWithValue:

- (instancetype) initWithValue: (int)  value

Initializes a new instance of the FMLiveSwitchIntegerHolder class.

Parameters
valueThe value.

◆ integerHolder

+ (FMLiveSwitchIntegerHolder*) integerHolder

Initializes a new instance of the FMLiveSwitchIntegerHolder class.

◆ integerHolder:

+ (FMLiveSwitchIntegerHolder*) integerHolder: (int)  value

Initializes a new instance of the FMLiveSwitchIntegerHolder class.

Parameters
valueThe value.

◆ setValue:

- (void) setValue: (int)  value

Sets the value.

◆ value

- (int) value

Gets the value.