-
Notifications
You must be signed in to change notification settings - Fork 1
Supported Bindings and Binding Types
Michael edited this page May 1, 2016
·
1 revision
Beacon provides bindings specific for the binding target, for example for the text of a label or text field. The most important categories of such specialized bindings are view bindings. Binding extensions for existing views are integrated as text properties defined in categories (named AKAIBBindingProperties). You use them typically by setting these properties in the properties inspector of Xcode's interface builder.
Beacon also provides some binding types which are specific to the bound value, such as formatter-, font- or predicate bindings. These bindings are typically property bindings. Property bindings are primarily used by view bindings to customize the binding configuration or the binding target.
-
UIView
- styleBinding - customize background color (later other properties)
- gesturesBinding - create tap gesture recognizer
-
UILabel
- textBinding - bind a source value to a label's text, configure formatters, etc.
- fontBinding - dynamic type the easy way
- UIImageView
- UITableView
-
UIControl
- enabledBinding
- UITextField
- UITextView
- UIPickerView
- UISwitch
- UISlider
- UIStepper
- UISegmentedControl