Swift Eureka: Update Eureka tableView's style

Viewed 258

Is there a way to update Eureka's tableView style so that it shows a grouped or insetGrouped style instead of plain style?

I attempted tableView = UITableView(frame: .zero, style: .insetGrouped) in viewDidLoad but the Form is still showing plain style.

1 Answers

It's easier than I expected: in your FormViewController's init, call super.init with the style you need.

init() {
    super.init(style: .insetGrouped)
}
Related