{"action":"created","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4641","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4641/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4641/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4641/events","html_url":"https://github.com/openframeworks/openFrameworks/pull/4641","id":120156849,"number":4641,"title":"ofxiOSCoreMotion","user":{"login":"julapy","id":331382,"avatar_url":"https://avatars.githubusercontent.com/u/331382?v=3","gravatar_id":"","url":"https://api.github.com/users/julapy","html_url":"https://github.com/julapy","followers_url":"https://api.github.com/users/julapy/followers","following_url":"https://api.github.com/users/julapy/following{/other_user}","gists_url":"https://api.github.com/users/julapy/gists{/gist_id}","starred_url":"https://api.github.com/users/julapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julapy/subscriptions","organizations_url":"https://api.github.com/users/julapy/orgs","repos_url":"https://api.github.com/users/julapy/repos","events_url":"https://api.github.com/users/julapy/events{/privacy}","received_events_url":"https://api.github.com/users/julapy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/iOS","name":"iOS","color":"2babad"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/milestones/12","html_url":"https://github.com/openframeworks/openFrameworks/milestones/0.10.0","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/milestones/12/labels","id":264335,"number":12,"title":"0.10.0","description":"","creator":{"login":"bilderbuchi","id":327442,"avatar_url":"https://avatars.githubusercontent.com/u/327442?v=3","gravatar_id":"","url":"https://api.github.com/users/bilderbuchi","html_url":"https://github.com/bilderbuchi","followers_url":"https://api.github.com/users/bilderbuchi/followers","following_url":"https://api.github.com/users/bilderbuchi/following{/other_user}","gists_url":"https://api.github.com/users/bilderbuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/bilderbuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilderbuchi/subscriptions","organizations_url":"https://api.github.com/users/bilderbuchi/orgs","repos_url":"https://api.github.com/users/bilderbuchi/repos","events_url":"https://api.github.com/users/bilderbuchi/events{/privacy}","received_events_url":"https://api.github.com/users/bilderbuchi/received_events","type":"User","site_admin":false},"open_issues":90,"closed_issues":9,"state":"open","created_at":"2013-02-11T12:18:09Z","updated_at":"2015-12-03T21:05:46Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-12-03T12:10:21Z","updated_at":"2015-12-04T07:22:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/pulls/4641","html_url":"https://github.com/openframeworks/openFrameworks/pull/4641","diff_url":"https://github.com/openframeworks/openFrameworks/pull/4641.diff","patch_url":"https://github.com/openframeworks/openFrameworks/pull/4641.patch"},"body":"this PR introduces ofxiOSCoreMotion into the ofxiOS core,\r\ntaken from @trentbrooks's solid ofxCoreMotion addon >> https://github.com/trentbrooks/ofxCoreMotion\r\n\r\nit also removes ofxiOSAccelerometer which needed to be removed due to being a deprecated API.\r\n\r\nTouchAndAccelExample has been renamed to iosCoreMotionLegacyExample,\r\nand is now using ofxiOSCoreMotion for retrieving the accelerometer values.\r\ni figured it would be good to leave this example in as it shows people how to migrate to the new ofxiOSCoreMotion API.\r\n\r\ntwo new examples were added,\r\n`iosCoreMotionExample`\r\n`iosCoreMotionCameraExample`\r\nwhich demo all the new ofxiOSCoreMotion functionality.\r\n\r\nping @ofTheo @danoli3 for a review."},"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/comments/161897221","html_url":"https://github.com/openframeworks/openFrameworks/pull/4641#issuecomment-161897221","issue_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4641","id":161897221,"user":{"login":"danoli3","id":830748,"avatar_url":"https://avatars.githubusercontent.com/u/830748?v=3","gravatar_id":"","url":"https://api.github.com/users/danoli3","html_url":"https://github.com/danoli3","followers_url":"https://api.github.com/users/danoli3/followers","following_url":"https://api.github.com/users/danoli3/following{/other_user}","gists_url":"https://api.github.com/users/danoli3/gists{/gist_id}","starred_url":"https://api.github.com/users/danoli3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danoli3/subscriptions","organizations_url":"https://api.github.com/users/danoli3/orgs","repos_url":"https://api.github.com/users/danoli3/repos","events_url":"https://api.github.com/users/danoli3/events{/privacy}","received_events_url":"https://api.github.com/users/danoli3/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T07:22:51Z","updated_at":"2015-12-04T07:22:51Z","body":"Awesome!! Just tested examples! This fixes so many of those old deprecated warnings.\r\n\r\nOnly issue is the iOS template needs CoreMotion Framework added by default.\r\n\r\nAlso for old projects that upgrade to 0.10 oF and get the following error:\r\n```\r\n  \"_OBJC_CLASS_$_CMMotionManager\", referenced from:\r\n      objc-class-ref in libofxiOS_iphoneos_Debug.a(ofxiOSCoreMotion.o)\r\n```\r\n- Fixed by Adding CoreMotion Framework to project."}}