Created
January 4, 2017 03:58
-
-
Save MatrixSenpai/3ed183c4a73504deafc5f4561e40adc8 to your computer and use it in GitHub Desktop.
Eureka Form Add Row Workaround
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Your form | |
Section("My Form") { $0.tag = "AddSection" } | |
<<< TextRow("rowOne") | |
<<< TextRow("rowTwo") | |
<<< ButtonRow("addRow") { | |
$0.title = "Add Row" | |
}.onCellSelection { (cell, row) in | |
self.form.sectionBy(tag: "AddSection") | |
<<< TextRow("newRowTag") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding sample code