{"action":"created","issue":{"url":"https://api.github.com/repos/genkernel/TreeView/issues/5","labels_url":"https://api.github.com/repos/genkernel/TreeView/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/genkernel/TreeView/issues/5/comments","events_url":"https://api.github.com/repos/genkernel/TreeView/issues/5/events","html_url":"https://github.com/genkernel/TreeView/issues/5","id":96607577,"number":5,"title":"Get index path for a specific item","user":{"login":"eytanbiala","id":1770794,"avatar_url":"https://avatars.githubusercontent.com/u/1770794?v=3","gravatar_id":"","url":"https://api.github.com/users/eytanbiala","html_url":"https://github.com/eytanbiala","followers_url":"https://api.github.com/users/eytanbiala/followers","following_url":"https://api.github.com/users/eytanbiala/following{/other_user}","gists_url":"https://api.github.com/users/eytanbiala/gists{/gist_id}","starred_url":"https://api.github.com/users/eytanbiala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eytanbiala/subscriptions","organizations_url":"https://api.github.com/users/eytanbiala/orgs","repos_url":"https://api.github.com/users/eytanbiala/repos","events_url":"https://api.github.com/users/eytanbiala/events{/privacy}","received_events_url":"https://api.github.com/users/eytanbiala/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T16:18:48Z","updated_at":"2015-07-22T16:58:18Z","closed_at":null,"body":"What is the best way to get the tree index path for an item?\r\n\r\nI looked through the code and the examples for a method like `-(NSIndexPath *)indexPathForItem:(NSDictionary *)item;`"},"comment":{"url":"https://api.github.com/repos/genkernel/TreeView/issues/comments/123791625","html_url":"https://github.com/genkernel/TreeView/issues/5#issuecomment-123791625","issue_url":"https://api.github.com/repos/genkernel/TreeView/issues/5","id":123791625,"user":{"login":"genkernel","id":1649419,"avatar_url":"https://avatars.githubusercontent.com/u/1649419?v=3","gravatar_id":"","url":"https://api.github.com/users/genkernel","html_url":"https://github.com/genkernel","followers_url":"https://api.github.com/users/genkernel/followers","following_url":"https://api.github.com/users/genkernel/following{/other_user}","gists_url":"https://api.github.com/users/genkernel/gists{/gist_id}","starred_url":"https://api.github.com/users/genkernel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genkernel/subscriptions","organizations_url":"https://api.github.com/users/genkernel/orgs","repos_url":"https://api.github.com/users/genkernel/repos","events_url":"https://api.github.com/users/genkernel/events{/privacy}","received_events_url":"https://api.github.com/users/genkernel/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T16:58:18Z","updated_at":"2015-07-22T16:58:18Z","body":"Almost! :)\r\n\r\nAll public API is in TreeTable.h file.\r\n\r\nThere is a method that does exactly what you asked:\r\n- (NSIndexPath *)treeIndexPathForItem:(UITableViewCell *)item;\r\n\r\nExcept it accepts a cell - not a dictionary.\r\n"}}