FMLiveSwitchBooleanHolder Class Reference

Class to hold a boolean value passed by reference. More...

Instance Methods

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

Class Methods

(FMLiveSwitchBooleanHolder *) + booleanHolder
 Initializes a new instance of the FMLiveSwitchBooleanHolder class. More...
 
(FMLiveSwitchBooleanHolder *) + booleanHolder:
 Initializes a new instance of the FMLiveSwitchBooleanHolder class. More...
 

Detailed Description

Class to hold a boolean value passed by reference.

Method Documentation

◆ booleanHolder

+ (FMLiveSwitchBooleanHolder*) booleanHolder

Initializes a new instance of the FMLiveSwitchBooleanHolder class.

◆ booleanHolder:

+ (FMLiveSwitchBooleanHolder*) booleanHolder: (bool)  value

Initializes a new instance of the FMLiveSwitchBooleanHolder class.

Parameters
valueThe value.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchBooleanHolder class.

◆ initWithValue:

- (instancetype) initWithValue: (bool)  value

Initializes a new instance of the FMLiveSwitchBooleanHolder class.

Parameters
valueThe value.

◆ setValue:

- (void) setValue: (bool)  value

Sets the value.

◆ value

- (bool) value

Gets the value.