Float
Last updated
Last updated
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 method.
Allows a float property to be changed in Appfigurate using a slider between minimum and maximum values.
Swift prototype
You can customize the minimum and maximum images using the parameter. If restart
is true
, then the app will be restarted if the property value changes.
Swift example
Allows a float property to be changed in Appfigurate using a text field between minimum and maximum values, and an optional regular expression validating input.
Swift prototype
If restart
is true
, then the app will be restarted if the property value changes.
Swift example
Allows a float property to be changed in Appfigurate by allowing the user to select from a predefined list of valid choices.
Swift prototype
If restart
is true
, then the app will be restarted if the property value changes.
Swift example
Allows a float property to 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.
Swift prototype
If restart
is true
, then the app will be restarted if the property value changes.
Swift example
The React Native module AppfigurateModule
class defers to the underlying platform (iOS) or (Android) subclass to read property values.
React Native always converts the underlying Float to a JavaScript Number - you should be aware of .
You can customize the minimum and maximum images using the parameter. If restart
is true
, then the app will be restarted if the property value changes.
You can customize the minimum and maximum images using the parameter. If restart
is true
, then the app will be restarted if the property value changes.