Closed rp-snt closed 8 years ago
What are you returning for numberOfChildrenOfItem? Also, please post the code for cellForRowAtIndexPath.
returned the 2 numberOfChildrenOfItem. CellForRowAtIndexPath of UITableViewDataSource is not implemented .
By the way, I am using the RATreeView from Swift.
@rp-snt Sorry for the really long response time. I added an example project which is entirely written in Swift. It can be found at https://github.com/Augustyniak/RATreeView/tree/master/Examples. Just run example project and select RATreeViewBasicExampleSwift target to run it.
Please take a look at #83 for more details.
I hope that it helps.
Closing. Feel free to reopen if necessary.
I get a crash with this error: * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[__NSArrayM objectAtIndex:]: index 10 beyond bounds [0 .. 9]'
fixed it: