Integer
Objective-C (iOS, watchOS)
NSInteger
is platform dependent, 32-bit signed values on 32-bit CPUs and 64-bit signed values on 64-bit CPUs.
The default value of a NSInteger
is 0. You can change the default value of the property by assigning a new value in an overridden reset
method.
NSInteger slider implementation
The NSInteger
property can be changed in Appfigurate using a slider between minimum and maximum values. You can customize the minimum and maximum images using the icon parameter. If restart
is YES
, then the app will be restarted if the property value changes.
Objective-C example
Appfigurate UI element example
NSInteger editable implementation
INT_PROPERTY_EDIT(propertyName, minValue, maxValue, regex, description, restart)
The NSInteger
property can be changed in Appfigurate using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is YES
, then the app will be restarted if the property value changes.
Objective-C example
Appfigurate UI element example
NSInteger list implementation
The NSInteger
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. If restart
is YES
, then the app will be restarted if the property value changes.
Objective-C example
Appfigurate UI element example
NSInteger editable list implementation
The NSInteger
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. The user can customize the list adding by additional values using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is YES
, then the app will be restarted if the property value changes.
Objective-C example
Appfigurate UI element example
Swift (iOS, watchOS)
Int
is platform dependent, 32-bit signed values on 32-bit CPUs and 64-bit signed values on 64-bit CPUs.
The default value of a Int
is 0. You can change the default value of the property by assigning a new value in an overridden reset
method.
Int slider implementation
The Int
property can be changed in Appfigurate using a slider between minimum and maximum values. You can customize the minimum and maximum images using the icon parameter. If restart
is true
, then the app will be restarted if the property value changes.
Swift example
Appfigurate UI element example
Int editable implementation
The Int
property can be changed in Appfigurate using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is true
, then the app will be restarted if the property value changes.
Swift example
Appfigurate UI element example
Int list implementation
The Int
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. If restart
is true
, then the app will be restarted if the property value changes.
Swift example
Appfigurate UI element example
Int editable list implementation
The Int
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. The user can customize the list adding by additional values using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is true
, then the app will be restarted if the property value changes.
Swift example
Appfigurate UI element example
Java (Android)
The default value of an int
is 0. You can change the default value of the property by assigning a new value in an overridden reset
method.
int slider implementation
The int
property can be changed in Appfigurate using a slider between minimum and maximum values. You can customize the minimum and maximum images using the sliderIcon
parameter. If restart
is true
, then the app will be restarted if the property value changes.
Java example
Appfigurate UI element example
int editable implementation
The int
property can be changed in Appfigurate using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is true
, then the app will be restarted if the property value changes.
Java example
Appfigurate UI element example
int list implementation
The int
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. If restart
is true
, then the app will be restarted if the property value changes.
Java example
Appfigurate UI element example
int editable list implementation
The int
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. The user can customize the list adding by additional values using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is true
, then the app will be restarted if the property value changes.
Java example
Appfigurate UI element example
Kotlin (Android)
The default value of an Int
is 0. You can change the default value of the property by assigning a new value in an overridden reset
method.
Int slider implementation
The Int
property can be changed in Appfigurate using a slider between minimum and maximum values. You can customize the minimum and maximum images using the sliderIcon
parameter. If restart
is true
, then the app will be restarted if the property value changes.
Kotlin example
Appfigurate UI element example
Int editable implementation
The Int
property can be changed in Appfigurate using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is true
, then the app will be restarted if the property value changes.
Kotlin example
Appfigurate UI element example
Int list implementation
The Int
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. If restart
is true
, then the app will be restarted if the property value changes.
Kotlin example
Appfigurate UI element example
Int editable list implementation
The Int
property can be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. The user can customize the list adding by additional values using a text field between minimum and maximum values, and an optional regular expression validating input. If restart
is true
, then the app will be restarted if the property value changes.
Kotlin example
Appfigurate UI element example
Dart (Flutter for iOS, Flutter for Android)
The flutter APLNativeConfiguration
class defers to the underlying platform APLConfiguration
(iOS) or nz.co.electricbolt.appfiguratelibrary.Configuration
(Android) subclass to read property values.
int implementation
Dart example
Last updated