Closed ClearlyAwesome closed 2 years ago
Hey @ClearlyAwesome have you been able to solve this? Do you need the tableView.reloadData()
to change the rows that are shown in the form?
I figure it out by creating a separate class for each view I wanted to load. tableView.reloadData() kept crashing my app for some reason. I think the forms had different number of rows....? no clue. it is working now that I have creating them in completely different classes.
OK, so I will close this issue then.
I'm using a segmented control to hide or show rows and I keep getting an error.
The error: Eureka/Section.swift:247: Fatal error: Section: Index out of bounds.
The code:
I think it is either of both of these lines of code:
Every time I remove them, the code works. But I want them in the code. Any ideas why this is crashing my app?