Skip to content

gazolla/TableForm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TableForm

Programmatically use of TableView to create data entry forms for iOS

Supported Platforms

  • iOS 11
  • swift 4

Installing

In order to install, you'll need to copy the FormViewController, FormView and FormCells files into your Xcode project.

Usage

create Fields:

        let name = Field(name:"name", title:"Nome:", cellType: NameCell.self)
        let birth = Field(name:"birthday", title:"Nascimento:", cellType: DateCell.self)
        let address = Field(name:"address", title:"Address:", cellType: TextCell.self)

add Fields to Section:

        let sectionPersonal = [name, address, birth]

group all Sections:

        let sections = [sectionPersonal, sectionProfessional, sectionButton]

call ConfigureTable:

let config = ConfigureForm(items: sections)

Set the configuration to TableViewController:

        let main = FormViewController(config: config)

Contact

License

TableForm is licensed under the MIT license.

About

Programmatically use of TableView to create data entry forms for iOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages