Programmatically use of TableView to create data entry forms for iOS
- iOS 11
- swift 4
In order to install, you'll need to copy the FormViewController
, FormView
and FormCells
files into your Xcode project.
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)
let sectionPersonal = [name, address, birth]
let sections = [sectionPersonal, sectionProfessional, sectionButton]
let config = ConfigureForm(items: sections)
let main = FormViewController(config: config)
- Sebastian Gazolla Jr
- @gazollajr
- http://about.me/gazolla
TableForm
is licensed under the MIT license.