AYForm 0.2.2

AYForm 0.2.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release May 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Ayman Rawashdeh.



AYForm 0.2.2

  • By
  • aymanraw

AYForm

How To Use:

let form = AYForm(numberOfSections: 4)

form.addFields(cellIdentifier: "FieldTableViewCell", forSection: 0, outputs: ("titleField", "title"), ("subTitleField", "subTitle"))

Delegates:

func form(_ tableView: UITableView, cellForRowAt indexPath: IndexPath, label: String, cell: UITableViewCell, field: Any, output: Output) {
        
     
  }
    
 func form(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
 
      return nil
 }
    
func form(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {

    return nil
 }
 

Installation: