I am trying to build a form for a friend. I've tried doing tableviews, but doing so all the sub pages will have different info to fill in. So I wasn't sure if the best way to do this Is by building each page inside form different and not as a tableview. However way I go about this the print button only shows up once all pages have been filled
Questions I have:
If you are looking to build a form I would suggest using the library found here: https://github.com/xmartlabs/Eureka. The library includes a lot of different types of fields and validations for different data types.
In order to create an action from selecting a button you can use the onCellSelection callback like this:
+++ Section()
<<< ButtonRow() {
$0.title = "Tap to force form validation"
}
.onCellSelection { cell, row in
//Do something here once the row has been tapped
}