{"action":"created","issue":{"url":"https://api.github.com/repos/kaishin/Gifu/issues/85","repository_url":"https://api.github.com/repos/kaishin/Gifu","labels_url":"https://api.github.com/repos/kaishin/Gifu/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/kaishin/Gifu/issues/85/comments","events_url":"https://api.github.com/repos/kaishin/Gifu/issues/85/events","html_url":"https://github.com/kaishin/Gifu/issues/85","id":182136885,"number":85,"title":"Swift3 animate(withGIFData:) crash","user":{"login":"iantheparker","id":1368966,"avatar_url":"https://avatars.githubusercontent.com/u/1368966?v=3","gravatar_id":"","url":"https://api.github.com/users/iantheparker","html_url":"https://github.com/iantheparker","followers_url":"https://api.github.com/users/iantheparker/followers","following_url":"https://api.github.com/users/iantheparker/following{/other_user}","gists_url":"https://api.github.com/users/iantheparker/gists{/gist_id}","starred_url":"https://api.github.com/users/iantheparker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iantheparker/subscriptions","organizations_url":"https://api.github.com/users/iantheparker/orgs","repos_url":"https://api.github.com/users/iantheparker/repos","events_url":"https://api.github.com/users/iantheparker/events{/privacy}","received_events_url":"https://api.github.com/users/iantheparker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kaishin/Gifu/labels/missing%20info","name":"missing info","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-10T23:12:33Z","updated_at":"2016-10-12T09:02:27Z","closed_at":null,"body":"Here's my call\r\n\r\n```\r\nif let data = NSData(contentsOf: file.url.path) as? Data, file.url.lastPathComponent.contains(\".gif\"){\r\n             >>>>> iv.animate(withGIFData: data)\r\n}\r\n```\r\nAnd this is where the crash is pointing to \r\n\r\n<img width=\"728\" alt=\"screen shot 2016-10-10 at 7 06 10 pm\" src=\"https://cloud.githubusercontent.com/assets/1368966/19253925/a8521886-8f1c-11e6-904d-098ec733634d.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/kaishin/Gifu/issues/comments/253158429","html_url":"https://github.com/kaishin/Gifu/issues/85#issuecomment-253158429","issue_url":"https://api.github.com/repos/kaishin/Gifu/issues/85","id":253158429,"user":{"login":"kaishin","id":519433,"avatar_url":"https://avatars.githubusercontent.com/u/519433?v=3","gravatar_id":"","url":"https://api.github.com/users/kaishin","html_url":"https://github.com/kaishin","followers_url":"https://api.github.com/users/kaishin/followers","following_url":"https://api.github.com/users/kaishin/following{/other_user}","gists_url":"https://api.github.com/users/kaishin/gists{/gist_id}","starred_url":"https://api.github.com/users/kaishin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaishin/subscriptions","organizations_url":"https://api.github.com/users/kaishin/orgs","repos_url":"https://api.github.com/users/kaishin/repos","events_url":"https://api.github.com/users/kaishin/events{/privacy}","received_events_url":"https://api.github.com/users/kaishin/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T09:02:27Z","updated_at":"2016-10-12T09:02:27Z","body":"@iantheparker Thanks for the info. I would love to take a look but I need to reproduce this. I remember that depending on how the file is included in the project it might not work. \r\n\r\nIf you can share a minimal reproduction case that would be awesome, otherwise I'll try to reproduce this on my won."}}
{"actor":{"display_login":"kaishin"}}