{"action":"created","issue":{"url":"https://api.github.com/repos/mxcl/PromiseKit/issues/363","repository_url":"https://api.github.com/repos/mxcl/PromiseKit","labels_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/363/comments","events_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/363/events","html_url":"https://github.com/mxcl/PromiseKit/pull/363","id":134212478,"number":363,"title":"Add EventKit request access promise","user":{"login":"lammertw","id":826126,"avatar_url":"https://avatars.githubusercontent.com/u/826126?v=3","gravatar_id":"","url":"https://api.github.com/users/lammertw","html_url":"https://github.com/lammertw","followers_url":"https://api.github.com/users/lammertw/followers","following_url":"https://api.github.com/users/lammertw/following{/other_user}","gists_url":"https://api.github.com/users/lammertw/gists{/gist_id}","starred_url":"https://api.github.com/users/lammertw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lammertw/subscriptions","organizations_url":"https://api.github.com/users/lammertw/orgs","repos_url":"https://api.github.com/users/lammertw/repos","events_url":"https://api.github.com/users/lammertw/events{/privacy}","received_events_url":"https://api.github.com/users/lammertw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-17T08:18:06Z","updated_at":"2016-04-13T15:42:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mxcl/PromiseKit/pulls/363","html_url":"https://github.com/mxcl/PromiseKit/pull/363","diff_url":"https://github.com/mxcl/PromiseKit/pull/363.diff","patch_url":"https://github.com/mxcl/PromiseKit/pull/363.patch"},"body":"This pull request adds a public function EKEventStoreRequestAccess to get access to EventKit to add events to the user's calendar. Example usage:\r\n\r\n    func addEvent() {\r\n        EKEventStoreRequestAccess().then { eventStore in\r\n            let event = EKEvent(eventStore: eventStore)\r\n            event.calendar = eventStore.defaultCalendarForNewEvents\r\n            event.title = \"My event\"\r\n\r\n            let editEventController = EKEventEditViewController(nibName: nil, bundle: nil)\r\n\r\n            editEventController.event = event\r\n            editEventController.eventStore = eventStore\r\n            \r\n            self.presentViewController(editEventController, animated: true, completion: nil)\r\n        }\r\n    }"},"comment":{"url":"https://api.github.com/repos/mxcl/PromiseKit/issues/comments/209517708","html_url":"https://github.com/mxcl/PromiseKit/pull/363#issuecomment-209517708","issue_url":"https://api.github.com/repos/mxcl/PromiseKit/issues/363","id":209517708,"user":{"login":"nathanhosselton","id":7957896,"avatar_url":"https://avatars.githubusercontent.com/u/7957896?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanhosselton","html_url":"https://github.com/nathanhosselton","followers_url":"https://api.github.com/users/nathanhosselton/followers","following_url":"https://api.github.com/users/nathanhosselton/following{/other_user}","gists_url":"https://api.github.com/users/nathanhosselton/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanhosselton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanhosselton/subscriptions","organizations_url":"https://api.github.com/users/nathanhosselton/orgs","repos_url":"https://api.github.com/users/nathanhosselton/repos","events_url":"https://api.github.com/users/nathanhosselton/events{/privacy}","received_events_url":"https://api.github.com/users/nathanhosselton/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T15:42:57Z","updated_at":"2016-04-13T15:42:57Z","body":"This looks good! Again, so, so sorry for the month+ delay on this. Do you mind rebasing onto the current HEAD of master and resolving the conflict? It's just the new Bolts framework reference. Keep the new reference and delete the old one (line 89 in the project.pbxproj file). Then this can be merged."}}