{"action":"created","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-swift/issues/1194","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-swift/issues/1194/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-swift/issues/1194/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-swift/issues/1194/events","html_url":"https://github.com/cocos2d/cocos2d-swift/issues/1194","id":55844240,"number":1194,"title":"UIKit references in CCDirector.h","user":{"login":"slembcke","id":153633,"avatar_url":"https://avatars.githubusercontent.com/u/153633?v=3","gravatar_id":"","url":"https://api.github.com/users/slembcke","html_url":"https://github.com/slembcke","followers_url":"https://api.github.com/users/slembcke/followers","following_url":"https://api.github.com/users/slembcke/following{/other_user}","gists_url":"https://api.github.com/users/slembcke/gists{/gist_id}","starred_url":"https://api.github.com/users/slembcke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slembcke/subscriptions","organizations_url":"https://api.github.com/users/slembcke/orgs","repos_url":"https://api.github.com/users/slembcke/repos","events_url":"https://api.github.com/users/slembcke/events{/privacy}","received_events_url":"https://api.github.com/users/slembcke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"slembcke","id":153633,"avatar_url":"https://avatars.githubusercontent.com/u/153633?v=3","gravatar_id":"","url":"https://api.github.com/users/slembcke","html_url":"https://github.com/slembcke","followers_url":"https://api.github.com/users/slembcke/followers","following_url":"https://api.github.com/users/slembcke/following{/other_user}","gists_url":"https://api.github.com/users/slembcke/gists{/gist_id}","starred_url":"https://api.github.com/users/slembcke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slembcke/subscriptions","organizations_url":"https://api.github.com/users/slembcke/orgs","repos_url":"https://api.github.com/users/slembcke/repos","events_url":"https://api.github.com/users/slembcke/events{/privacy}","received_events_url":"https://api.github.com/users/slembcke/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cocos2d/cocos2d-swift/milestones/9","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-swift/milestones/9/labels","id":934361,"number":9,"title":"v4.0","description":"The big 4.0! I'm tentatively scheduling the due date for this to be the end of the week before GDC.","creator":{"login":"slembcke","id":153633,"avatar_url":"https://avatars.githubusercontent.com/u/153633?v=3","gravatar_id":"","url":"https://api.github.com/users/slembcke","html_url":"https://github.com/slembcke","followers_url":"https://api.github.com/users/slembcke/followers","following_url":"https://api.github.com/users/slembcke/following{/other_user}","gists_url":"https://api.github.com/users/slembcke/gists{/gist_id}","starred_url":"https://api.github.com/users/slembcke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slembcke/subscriptions","organizations_url":"https://api.github.com/users/slembcke/orgs","repos_url":"https://api.github.com/users/slembcke/repos","events_url":"https://api.github.com/users/slembcke/events{/privacy}","received_events_url":"https://api.github.com/users/slembcke/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":1,"state":"open","created_at":"2015-01-14T00:32:58Z","updated_at":"2015-01-30T22:51:09Z","due_on":"2015-02-27T06:00:00Z","closed_at":null},"comments":1,"created_at":"2015-01-29T01:44:46Z","updated_at":"2015-02-01T19:57:40Z","closed_at":null,"body":"CCDirector inherits from from UIViewController on iOS. This causes a number of complications for x-platform and should be cleaned up. We should be able to remove the UIKit.h import at that time."},"comment":{"url":"https://api.github.com/repos/cocos2d/cocos2d-swift/issues/comments/72381024","html_url":"https://github.com/cocos2d/cocos2d-swift/issues/1194#issuecomment-72381024","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-swift/issues/1194","id":72381024,"user":{"login":"Ben-G","id":1423068,"avatar_url":"https://avatars.githubusercontent.com/u/1423068?v=3","gravatar_id":"","url":"https://api.github.com/users/Ben-G","html_url":"https://github.com/Ben-G","followers_url":"https://api.github.com/users/Ben-G/followers","following_url":"https://api.github.com/users/Ben-G/following{/other_user}","gists_url":"https://api.github.com/users/Ben-G/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-G/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-G/subscriptions","organizations_url":"https://api.github.com/users/Ben-G/orgs","repos_url":"https://api.github.com/users/Ben-G/repos","events_url":"https://api.github.com/users/Ben-G/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-G/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T19:57:40Z","updated_at":"2015-02-01T19:57:40Z","body":"Sounds like a good idea. One thing to think about: What will be the recommended way of integrating UIKit elements in the future (e.g. presenting a UIViewController)? A bunch of frameworks, such as Game Center have a dependency on UIKit."}}