Float
Objective-C (iOS, watchOS)
float
is a single-precision 4 byte floating-point type with an approximate range of 1.2E-38 to 3.4E+38.
The default value of a float
is 0.0. You can change the default value of the property by assigning a new value in an overridden reset
method.
float slider implementation
The float
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
float editable implementation
The float
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
float list implementation
The float
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
float editable list implementation
The float
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)
Float
is a single-precision 4 byte floating-point type with an approximate range of 1.2E-38 to 3.4E+38.
The default value of a Float
is 0.0. You can change the default value of the property by assigning a new value in an overridden reset
method.
Float slider implementation
The Float
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
Float editable implementation
The Float
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
Float list implementation
The Float
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
Float editable list implementation
The Float
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)
float
is a single-precision 4 byte floating-point type with an approximate range of 1.2E-38 to 3.4E+38.
The default value of a float
is 0.0f. You can change the default value of the property by assigning a new value in an overridden reset
method.
float slider implementation
The float
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
float editable implementation
The float
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
float list implementation
The float
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
float editable list implementation
The float
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)
Float
is a single-precision 4 byte floating-point type with an approximate range of 1.2E-38 to 3.4E+38.
The default value of a Float
is 0.0f. You can change the default value of the property by assigning a new value in an overridden reset
method.
Float slider implementation
The Float
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
Float editable implementation
The Float
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
Float list implementation
The Float
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
Float editable list implementation
The Float
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.
As Dart doesn't have a single-precision float
data type, you should map to a double-precision double
data type instead:
Dart property type | Objective-C property type | Swift property type | Java property type |
---|---|---|---|
double | float | Float | float |
double | double | Double | double |
float implementation
Dart example
Last updated