{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1581","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1581/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1581/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1581/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1581","id":77518781,"number":1581,"title":"Animated MGLMapView methods should accept completion handlers","user":{"login":"1ec5","id":1231218,"avatar_url":"https://avatars.githubusercontent.com/u/1231218?v=3","gravatar_id":"","url":"https://api.github.com/users/1ec5","html_url":"https://github.com/1ec5","followers_url":"https://api.github.com/users/1ec5/followers","following_url":"https://api.github.com/users/1ec5/following{/other_user}","gists_url":"https://api.github.com/users/1ec5/gists{/gist_id}","starred_url":"https://api.github.com/users/1ec5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1ec5/subscriptions","organizations_url":"https://api.github.com/users/1ec5/orgs","repos_url":"https://api.github.com/users/1ec5/repos","events_url":"https://api.github.com/users/1ec5/events{/privacy}","received_events_url":"https://api.github.com/users/1ec5/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T06:14:30Z","updated_at":"2015-09-08T23:29:44Z","closed_at":null,"body":"Methods like `-[MGLMapView setCenterCoordinate:animated:]` should have corresponding methods that take completion handlers (callback blocks) as parameters, like `-[MGLMapView setCenterCoordinate:animated:completionHandler:]`. Completion handlers feel much more natural in modern Objective-C and especially Swift, and they’d make it much easier to chain together animated changes to the map."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/138730553","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1581#issuecomment-138730553","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1581","id":138730553,"user":{"login":"jhoughjr","id":1562633,"avatar_url":"https://avatars.githubusercontent.com/u/1562633?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoughjr","html_url":"https://github.com/jhoughjr","followers_url":"https://api.github.com/users/jhoughjr/followers","following_url":"https://api.github.com/users/jhoughjr/following{/other_user}","gists_url":"https://api.github.com/users/jhoughjr/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoughjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoughjr/subscriptions","organizations_url":"https://api.github.com/users/jhoughjr/orgs","repos_url":"https://api.github.com/users/jhoughjr/repos","events_url":"https://api.github.com/users/jhoughjr/events{/privacy}","received_events_url":"https://api.github.com/users/jhoughjr/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T23:29:44Z","updated_at":"2015-09-08T23:29:44Z","body":"Here here!"}}