Closed maheshcs039 closed 8 years ago
The issue was in the DataObject.swift Replace self.children.append(child) With self.children.insert(child, atIndex: 0) It worked fine for me now...
Hey,
Thanks for the report! 👍 I managed to reproduce it on my side. It should be fixed in 32f0b71dc522049483e210c765fee777d42c9e1a.
Closing. 🔐 Feel free to reopen if necessary. 🙌
I tried the example project, Step 1 : Expand the first row(Phones), Step 2 : Adding children to parent (Phones) Step 3 : Collapse the parent (Phones) Step 4 : Expand Same parent (Phones), it crashed the app says :
"fatal error: unexpectedly found nil while unwrapping an Optional value"
in "func treeView(treeView: RATreeView, cellForItem item: AnyObject?) -> UITableViewCell" Where in "item" value itself is nil
Any possible work around why its crashing?