Objective-C Macros

Availability: All.

actions

ACTION_METHOD(actionName, description, restart) { … }

BOOL properties

BOOL_PROPERTY(propertyName, description, restart)

NSInteger properties

INT_PROPERTY_SLIDER(propertyName, minValue, maxValue, icon, description, restart)
INT_PROPERTY_EDIT(propertyName, minValue, maxValue, regex, description, restart)
INT_PROPERTY_LIST(propertyName, description, restart, …)
INT_PROPERTY_LIST_EDIT(propertyName, minValue, maxValue, regex, description, restart, …)

float properties

FLOAT_PROPERTY_SLIDER(propertyName, minValue, maxValue, icon, description, restart)
FLOAT_PROPERTY_EDIT(propertyName, minValue, maxValue, regex, description, restart)
FLOAT_PROPERTY_LIST(propertyName, description, restart, …)
FLOAT_PROPERTY_LIST_EDIT(propertyName, minValue, maxValue, regex, description, restart, …)

double properties

DOUBLE_PROPERTY_SLIDER(propertyName, minValue, maxValue, icon, description, restart)
DOUBLE_PROPERTY_EDIT(propertyName, minValue, maxValue, regex, description, restart)
DOUBLE_PROPERTY_LIST(propertyName, description, restart, …)
DOUBLE_PROPERTY_LIST_EDIT(propertyName, minValue, maxValue, regex, description, restart, …)

plain NSString properties

STRING_PROPERTY_EDIT(propertyName, regex, description, restart)
STRING_PROPERTY_LIST(propertyName, description, restart, …)
STRING_PROPERTY_LIST_EDIT(propertyName, regex, description, restart, …)

encrypted NSString properties

ENCRYPTED_STRING_PROPERTY_LIST_EDIT(propertyName, regex, description, restart, …)
ENCRYPTED_STRING(plaintext, ciphertext)
ENCRYPTED_STRING_IOS_WATCHOS(plaintext, ciphertextIOS, ciphertextWatchOS)