Using data binding, developers can eliminate a lot of the tedious boilerplate code that is typically required to manage the state of user interface elements explicitly. For example, the following markup binds the
text property of a text field to the
name property of the document’s owner:
Any time the value of the owner’s
name property changes, the new value will be automatically reflected in the text field’s
text property, and vice versa.
For more information, see the following examples or the project README:
Custom Cell View – custom table view cell implemented in markup. Cell values are updated via data binding.
Form View – demonstrates how to create a simple form using auto layout. Data binding is used to manage the form values.