{"action":"created","issue":{"url":"https://api.github.com/repos/Akkyie/AKPickerView/issues/51","labels_url":"https://api.github.com/repos/Akkyie/AKPickerView/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/Akkyie/AKPickerView/issues/51/comments","events_url":"https://api.github.com/repos/Akkyie/AKPickerView/issues/51/events","html_url":"https://github.com/Akkyie/AKPickerView/issues/51","id":76373950,"number":51,"title":"Crashes when datasource array is empty.","user":{"login":"rishabhtayal","id":2100166,"avatar_url":"https://avatars.githubusercontent.com/u/2100166?v=3","gravatar_id":"","url":"https://api.github.com/users/rishabhtayal","html_url":"https://github.com/rishabhtayal","followers_url":"https://api.github.com/users/rishabhtayal/followers","following_url":"https://api.github.com/users/rishabhtayal/following{/other_user}","gists_url":"https://api.github.com/users/rishabhtayal/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabhtayal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabhtayal/subscriptions","organizations_url":"https://api.github.com/users/rishabhtayal/orgs","repos_url":"https://api.github.com/users/rishabhtayal/repos","events_url":"https://api.github.com/users/rishabhtayal/events{/privacy}","received_events_url":"https://api.github.com/users/rishabhtayal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Akkyie/AKPickerView/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"Akkyie","id":1528813,"avatar_url":"https://avatars.githubusercontent.com/u/1528813?v=3","gravatar_id":"","url":"https://api.github.com/users/Akkyie","html_url":"https://github.com/Akkyie","followers_url":"https://api.github.com/users/Akkyie/followers","following_url":"https://api.github.com/users/Akkyie/following{/other_user}","gists_url":"https://api.github.com/users/Akkyie/gists{/gist_id}","starred_url":"https://api.github.com/users/Akkyie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akkyie/subscriptions","organizations_url":"https://api.github.com/users/Akkyie/orgs","repos_url":"https://api.github.com/users/Akkyie/repos","events_url":"https://api.github.com/users/Akkyie/events{/privacy}","received_events_url":"https://api.github.com/users/Akkyie/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-05-14T14:22:43Z","updated_at":"2015-05-14T16:20:27Z","closed_at":"2015-05-14T16:19:15Z","body":"It crashes on line #188 when number of items in datasource array is 0.\r\n\r\n    NSAssert(item < [self.collectionView numberOfItemsInSection:0],\r\n\t\t\t @\"item out of range; '%lu' passed, but the maximum is '%lu'\", item, [self.collectionView numberOfItemsInSection:0]);"},"comment":{"url":"https://api.github.com/repos/Akkyie/AKPickerView/issues/comments/102090782","html_url":"https://github.com/Akkyie/AKPickerView/issues/51#issuecomment-102090782","issue_url":"https://api.github.com/repos/Akkyie/AKPickerView/issues/51","id":102090782,"user":{"login":"Akkyie","id":1528813,"avatar_url":"https://avatars.githubusercontent.com/u/1528813?v=3","gravatar_id":"","url":"https://api.github.com/users/Akkyie","html_url":"https://github.com/Akkyie","followers_url":"https://api.github.com/users/Akkyie/followers","following_url":"https://api.github.com/users/Akkyie/following{/other_user}","gists_url":"https://api.github.com/users/Akkyie/gists{/gist_id}","starred_url":"https://api.github.com/users/Akkyie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akkyie/subscriptions","organizations_url":"https://api.github.com/users/Akkyie/orgs","repos_url":"https://api.github.com/users/Akkyie/repos","events_url":"https://api.github.com/users/Akkyie/events{/privacy}","received_events_url":"https://api.github.com/users/Akkyie/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T16:20:27Z","updated_at":"2015-05-14T16:20:27Z","body":"Thank you, but the work is done (b268b2972b1ec6a675d6bd8b04d7ca83b5fb9b58.)\r\nAgain thanks a lot for your reporting!"}}