iOS表单创建和管理:JMFormDescription
jopen
10年前
JMFormDescription 是一个 Objective-C 库,能很容易的创建和管理复杂结构的表单。
支持的formViews
- JMFormSectionHeaderFormView (to simulate a section header),
- JMTextfieldFormView,
- JMTextfieldWithTitleFormView,
- JMSwitchFormView,
- JMButtonFormView,
- JMListFormView,
- JMTextViewFormView.
JMTextfieldFormViewDescription *textfieldDesc = [JMTextfieldFormViewDescription new]; textfieldDesc.placeholder = @"Mon placeholder"; textfieldDesc.data = model.textfieldText1; textfieldDesc.formDelegate = self; textfieldDesc.modelKey = @"textfieldText1";