{"action":"created","issue":{"url":"https://api.github.com/repos/Augustyniak/RATreeView/issues/185","repository_url":"https://api.github.com/repos/Augustyniak/RATreeView","labels_url":"https://api.github.com/repos/Augustyniak/RATreeView/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/Augustyniak/RATreeView/issues/185/comments","events_url":"https://api.github.com/repos/Augustyniak/RATreeView/issues/185/events","html_url":"https://github.com/Augustyniak/RATreeView/issues/185","id":173776557,"number":185,"title":"App Crashes on adding child to parent, Collapsing same parent and Expanding it again.","user":{"login":"maheshcs039","id":5037393,"avatar_url":"https://avatars.githubusercontent.com/u/5037393?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshcs039","html_url":"https://github.com/maheshcs039","followers_url":"https://api.github.com/users/maheshcs039/followers","following_url":"https://api.github.com/users/maheshcs039/following{/other_user}","gists_url":"https://api.github.com/users/maheshcs039/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshcs039/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshcs039/subscriptions","organizations_url":"https://api.github.com/users/maheshcs039/orgs","repos_url":"https://api.github.com/users/maheshcs039/repos","events_url":"https://api.github.com/users/maheshcs039/events{/privacy}","received_events_url":"https://api.github.com/users/maheshcs039/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-29T13:38:19Z","updated_at":"2016-08-30T11:56:06Z","closed_at":null,"body":"I tried the example project, \r\nStep 1 : Expand the first row(Phones),\r\nStep 2 : Adding children to parent (Phones)\r\nStep 3 : Collapse the parent (Phones)\r\nStep 4 : Expand Same parent (Phones), it crashed the app says :\r\n\r\n\"fatal error: unexpectedly found nil while unwrapping an Optional value\"\r\n\r\nin \"func treeView(treeView: RATreeView, cellForItem item: AnyObject?) -> UITableViewCell\"\r\nWhere in \"item\" value itself is nil\r\n\r\nAny possible work around why its crashing?"},"comment":{"url":"https://api.github.com/repos/Augustyniak/RATreeView/issues/comments/243415768","html_url":"https://github.com/Augustyniak/RATreeView/issues/185#issuecomment-243415768","issue_url":"https://api.github.com/repos/Augustyniak/RATreeView/issues/185","id":243415768,"user":{"login":"maheshcs039","id":5037393,"avatar_url":"https://avatars.githubusercontent.com/u/5037393?v=3","gravatar_id":"","url":"https://api.github.com/users/maheshcs039","html_url":"https://github.com/maheshcs039","followers_url":"https://api.github.com/users/maheshcs039/followers","following_url":"https://api.github.com/users/maheshcs039/following{/other_user}","gists_url":"https://api.github.com/users/maheshcs039/gists{/gist_id}","starred_url":"https://api.github.com/users/maheshcs039/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maheshcs039/subscriptions","organizations_url":"https://api.github.com/users/maheshcs039/orgs","repos_url":"https://api.github.com/users/maheshcs039/repos","events_url":"https://api.github.com/users/maheshcs039/events{/privacy}","received_events_url":"https://api.github.com/users/maheshcs039/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T11:56:06Z","updated_at":"2016-08-30T11:56:06Z","body":"The issue was in the DataObject.swift\r\nReplace self.children.append(child)\r\nWith self.children.insert(child, atIndex: 0)\r\nIt worked fine for me..\r\n"}}
{"actor":{"display_login":"maheshcs039"}}