Latest 0.2.1
Homepage https://github.com/aymanraw/AYForm
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

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:

Cocoapods

pod 'AYForm'

Latest podspec

{
    "name": "AYForm",
    "version": "0.2.1",
    "summary": "Create forms in swift 3.0, it works by giving your tableview dataSource.",
    "description": "Small library that creates forms in swift 3.0, it works by giving your tableview dataSource to the AYForm and the library take cares of returning the cells and saving all fields to future access.",
    "homepage": "https://github.com/aymanraw/AYForm",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "aymanraw": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aymanraw/AYForm.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": [
        "AYForm/**/*",
        "AYForm/AYForm/**/*",
        "AYForm/AYForm/*"
    ],
    "frameworks": "UIKit",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This