XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. The goal of the library is to get the same power of hand-made forms but spending 1/10 of the time.
XLForm provides a very powerful DSL (Domain Specific Language) used to create a form. It keeps track of this specification on runtime, updating the UI on the fly.
What XLForm does:
- Loads a form based on a declarative form definition.
- Keeps track of definition changes on runtime to update the form interface accordingly. Further information on Dynamic Forms section of this readme.
- Supports multivalued sections allowing us to create, delete or reorder rows. For further details see Multivalued Sections section bellow.
- Supports custom rows definition.
- Supports custom selectors. For further details of how to define your own selectors check Custom selectors section out.
- Provides several inline selectors such as date picker and picker inline selectors and brings a way to create custom inline selectors.
- Form data validation based on form definition.
- Ability to easily navigate among rows, fully customizable.
- Ability to show inputAccessoryView if needed. By default a navigation input accessory view is shown.
- Read only mode for a particular row or the entire form.
- Rows can be hidden or shown depending on other rows values. This can be done declaratively using NSPredicates. (see Make a row or section invisible depending on other rows values)

Leave a Reply
You must be logged in to post a comment.