Swift Property Wrappers
Availability: All.
Actions
Bool properties
@BoolProperty(description, restart)
Int properties
@IntPropertySlider(min, max, icon, description, restart)
@IntPropertyEdit(min, max, regex, description, restart)
@IntPropertyList(description, restart, values)
@IntPropertyListEdit(min, max, regex, description, restart, values)
Float properties
@FloatPropertySlider(min, max, icon, description, restart)
@FloatPropertyEdit(min, max, regex, description, restart)
@FloatPropertyList(description, restart, values)
@FloatPropertyListEdit(min, max, regex, description, restart, values)
Double properties
@DoublePropertySlider(min, max, icon, description, restart)
@DoublePropertyEdit(min, max, regex, description, restart)
@DoublePropertyList(description, restart, values)
@DoublePropertyListEdit(min, max, regex, description, restart, values)
Plain String properties
@StringPropertyEdit(regex, description, restart)
@StringPropertyList(description, restart, values)
@StringPropertyListEdit(regex, description, restart, values)
Encrypted NSString properties
@EncryptedStringPropertyListEdit(regex, description, encrypted, restart, values)
ENCRYPTED()
ENCRYPTED_STRING(plaintext, ciphertext)
ENCRYPTED_STRING_IOS_WATCHOS(plaintext, ciphertextIOS, ciphertextWatchOS)