{"action":"created","issue":{"url":"https://api.github.com/repos/kif-framework/KIF/issues/619","labels_url":"https://api.github.com/repos/kif-framework/KIF/issues/619/labels{/name}","comments_url":"https://api.github.com/repos/kif-framework/KIF/issues/619/comments","events_url":"https://api.github.com/repos/kif-framework/KIF/issues/619/events","html_url":"https://github.com/kif-framework/KIF/pull/619","id":66463258,"number":619,"title":"Fixed static analysis error with uninitialized data","user":{"login":"joeblau","id":1218847,"avatar_url":"https://avatars.githubusercontent.com/u/1218847?v=3","gravatar_id":"","url":"https://api.github.com/users/joeblau","html_url":"https://github.com/joeblau","followers_url":"https://api.github.com/users/joeblau/followers","following_url":"https://api.github.com/users/joeblau/following{/other_user}","gists_url":"https://api.github.com/users/joeblau/gists{/gist_id}","starred_url":"https://api.github.com/users/joeblau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeblau/subscriptions","organizations_url":"https://api.github.com/users/joeblau/orgs","repos_url":"https://api.github.com/users/joeblau/repos","events_url":"https://api.github.com/users/joeblau/events{/privacy}","received_events_url":"https://api.github.com/users/joeblau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-05T17:38:50Z","updated_at":"2015-04-07T04:21:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kif-framework/KIF/pulls/619","html_url":"https://github.com/kif-framework/KIF/pull/619","diff_url":"https://github.com/kif-framework/KIF/pull/619.diff","patch_url":"https://github.com/kif-framework/KIF/pull/619.patch"},"body":"The current implementation for the gesture `timeStamp` uses the `mach_absolute_time()`.  This poses a problem because the Static Analyzer can't correctly cast `mach_absolute_time` to `AbsoluteTime` resulting in a Static Analyzer Issue.\r\n\r\n![screen shot 2015-04-05 at 10 29 50 am](https://cloud.githubusercontent.com/assets/1218847/6997801/5cda966e-db7f-11e4-8e54-8f7e1a6ccad0.png)\r\n\r\n\r\nThis solution replaces `AbsoluteTime` with with `CFAbsoluteTime` and then uses the  `CACurrentMediaTime` [which is also based off of the internal clock](http://nshipster.com/benchmarking/) to set the timeStamp."},"comment":{"url":"https://api.github.com/repos/kif-framework/KIF/issues/comments/90354055","html_url":"https://github.com/kif-framework/KIF/pull/619#issuecomment-90354055","issue_url":"https://api.github.com/repos/kif-framework/KIF/issues/619","id":90354055,"user":{"login":"joeblau","id":1218847,"avatar_url":"https://avatars.githubusercontent.com/u/1218847?v=3","gravatar_id":"","url":"https://api.github.com/users/joeblau","html_url":"https://github.com/joeblau","followers_url":"https://api.github.com/users/joeblau/followers","following_url":"https://api.github.com/users/joeblau/following{/other_user}","gists_url":"https://api.github.com/users/joeblau/gists{/gist_id}","starred_url":"https://api.github.com/users/joeblau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeblau/subscriptions","organizations_url":"https://api.github.com/users/joeblau/orgs","repos_url":"https://api.github.com/users/joeblau/repos","events_url":"https://api.github.com/users/joeblau/events{/privacy}","received_events_url":"https://api.github.com/users/joeblau/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T04:21:12Z","updated_at":"2015-04-07T04:21:12Z","body":"Hehe, no problem, but I can't take the credit, you need to thank Xcode Server.  I ran my whole project through it and it exposed all of these issues with my app as well as every dependency.\r\n\r\nI updated the PR."}}