{"action":"created","comment":{"url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/comments/52374307","id":52374307,"diff_hunk":"@@ -37,30 +37,22 @@ class AppDelegate: UIResponder, UIApplicationDelegate {\n         let menuItemQA = MenuItem(name: \"QA\")\n         let environmentItems: [YoshiTableViewMenuItem] = [menuItemProd, menuItemStaging, menuItemQA]\n \n-        let tableViewMenu = TableViewMenu(debugMenuName: \"Environment\",\n+        let tableViewMenu = TableViewMenu(name: \"Environment\",\n+            value: nil,\n             displayItems: environmentItems, didSelectDisplayItem: { (displayItem) in\n             NSNotificationCenter.defaultCenter()\n-                .postNotificationName(Notifications.EnvironmentUpdatedNotification, object: displayItem.displayText())\n+                .postNotificationName(Notifications.EnvironmentUpdatedNotification, object: displayItem.displayText)\n         })\n \n         // YoshiMenuType.DateSelector\n-        let dateSelector = DateSelector(debugMenuName: \"Environment Date\", didUpdateDate: { (dateSelected) in\n+        let dateSelector = DateSelector(name: \"Environment Date\",\n+            value: nil,","path":"Example/YoshiExample/AppDelegate.swift","position":16,"original_position":16,"commit_id":"b7e96ec9c82f72261d5e7a517d60329d2cab511d","original_commit_id":"9e72126534c1274f7e27aa2dbe8fa048c5fea7e9","user":{"login":"MichaelCampbell","id":1574280,"avatar_url":"https://avatars.githubusercontent.com/u/1574280?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelCampbell","html_url":"https://github.com/MichaelCampbell","followers_url":"https://api.github.com/users/MichaelCampbell/followers","following_url":"https://api.github.com/users/MichaelCampbell/following{/other_user}","gists_url":"https://api.github.com/users/MichaelCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelCampbell/subscriptions","organizations_url":"https://api.github.com/users/MichaelCampbell/orgs","repos_url":"https://api.github.com/users/MichaelCampbell/repos","events_url":"https://api.github.com/users/MichaelCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelCampbell/received_events","type":"User","site_admin":false},"body":"yeah, i think the intention is clearer","created_at":"2016-02-09T21:12:30Z","updated_at":"2016-02-09T21:12:30Z","html_url":"https://github.com/prolificinteractive/Yoshi/pull/21#discussion_r52374307","pull_request_url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/comments/52374307"},"html":{"href":"https://github.com/prolificinteractive/Yoshi/pull/21#discussion_r52374307"},"pull_request":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21","id":58795019,"html_url":"https://github.com/prolificinteractive/Yoshi/pull/21","diff_url":"https://github.com/prolificinteractive/Yoshi/pull/21.diff","patch_url":"https://github.com/prolificinteractive/Yoshi/pull/21.patch","issue_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/21","number":21,"state":"open","locked":false,"title":"Update user interface to use a custom view instead of a UIActionSheet","user":{"login":"Haud","id":2160066,"avatar_url":"https://avatars.githubusercontent.com/u/2160066?v=3","gravatar_id":"","url":"https://api.github.com/users/Haud","html_url":"https://github.com/Haud","followers_url":"https://api.github.com/users/Haud/followers","following_url":"https://api.github.com/users/Haud/following{/other_user}","gists_url":"https://api.github.com/users/Haud/gists{/gist_id}","starred_url":"https://api.github.com/users/Haud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haud/subscriptions","organizations_url":"https://api.github.com/users/Haud/orgs","repos_url":"https://api.github.com/users/Haud/repos","events_url":"https://api.github.com/users/Haud/events{/privacy}","received_events_url":"https://api.github.com/users/Haud/received_events","type":"User","site_admin":false},"body":"Lots of stuff here:\r\n\r\n* Refactored the debug view from a UIActionSheet to a UIWindow with its own root view controller (`DebugViewController`)\r\n* Refactored `YoshiMenu` to be more generic; this involved deleting `YoshiCustomMenu` and baking its most useful part into `YoshiMenu` by default.\r\n* Refactored the date / table view menu items to the new `YoshiMenu`; these options handle the new methods baked into `YoshiMenu` in an extension.\r\n* General code clean-up / relevant refactoring.\r\n\r\n@htinlinn @MichaelCampbell ","created_at":"2016-02-09T19:19:42Z","updated_at":"2016-02-09T21:12:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b6809b154b97981885d3073fb5197938cf725fb1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21/commits","review_comments_url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21/comments","review_comment_url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/21/comments","statuses_url":"https://api.github.com/repos/prolificinteractive/Yoshi/statuses/b7e96ec9c82f72261d5e7a517d60329d2cab511d","head":{"label":"prolificinteractive:feature/debug-user-interface","ref":"feature/debug-user-interface","sha":"b7e96ec9c82f72261d5e7a517d60329d2cab511d","user":{"login":"prolificinteractive","id":1280427,"avatar_url":"https://avatars.githubusercontent.com/u/1280427?v=3","gravatar_id":"","url":"https://api.github.com/users/prolificinteractive","html_url":"https://github.com/prolificinteractive","followers_url":"https://api.github.com/users/prolificinteractive/followers","following_url":"https://api.github.com/users/prolificinteractive/following{/other_user}","gists_url":"https://api.github.com/users/prolificinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/prolificinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prolificinteractive/subscriptions","organizations_url":"https://api.github.com/users/prolificinteractive/orgs","repos_url":"https://api.github.com/users/prolificinteractive/repos","events_url":"https://api.github.com/users/prolificinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/prolificinteractive/received_events","type":"Organization","site_admin":false},"repo":{"id":48459457,"name":"Yoshi","full_name":"prolificinteractive/Yoshi","owner":{"login":"prolificinteractive","id":1280427,"avatar_url":"https://avatars.githubusercontent.com/u/1280427?v=3","gravatar_id":"","url":"https://api.github.com/users/prolificinteractive","html_url":"https://github.com/prolificinteractive","followers_url":"https://api.github.com/users/prolificinteractive/followers","following_url":"https://api.github.com/users/prolificinteractive/following{/other_user}","gists_url":"https://api.github.com/users/prolificinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/prolificinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prolificinteractive/subscriptions","organizations_url":"https://api.github.com/users/prolificinteractive/orgs","repos_url":"https://api.github.com/users/prolificinteractive/repos","events_url":"https://api.github.com/users/prolificinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/prolificinteractive/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prolificinteractive/Yoshi","description":"In app debug panel for iOS","fork":false,"url":"https://api.github.com/repos/prolificinteractive/Yoshi","forks_url":"https://api.github.com/repos/prolificinteractive/Yoshi/forks","keys_url":"https://api.github.com/repos/prolificinteractive/Yoshi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prolificinteractive/Yoshi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prolificinteractive/Yoshi/teams","hooks_url":"https://api.github.com/repos/prolificinteractive/Yoshi/hooks","issue_events_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/events{/number}","events_url":"https://api.github.com/repos/prolificinteractive/Yoshi/events","assignees_url":"https://api.github.com/repos/prolificinteractive/Yoshi/assignees{/user}","branches_url":"https://api.github.com/repos/prolificinteractive/Yoshi/branches{/branch}","tags_url":"https://api.github.com/repos/prolificinteractive/Yoshi/tags","blobs_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/refs{/sha}","trees_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prolificinteractive/Yoshi/statuses/{sha}","languages_url":"https://api.github.com/repos/prolificinteractive/Yoshi/languages","stargazers_url":"https://api.github.com/repos/prolificinteractive/Yoshi/stargazers","contributors_url":"https://api.github.com/repos/prolificinteractive/Yoshi/contributors","subscribers_url":"https://api.github.com/repos/prolificinteractive/Yoshi/subscribers","subscription_url":"https://api.github.com/repos/prolificinteractive/Yoshi/subscription","commits_url":"https://api.github.com/repos/prolificinteractive/Yoshi/commits{/sha}","git_commits_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/commits{/sha}","comments_url":"https://api.github.com/repos/prolificinteractive/Yoshi/comments{/number}","issue_comment_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/comments{/number}","contents_url":"https://api.github.com/repos/prolificinteractive/Yoshi/contents/{+path}","compare_url":"https://api.github.com/repos/prolificinteractive/Yoshi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prolificinteractive/Yoshi/merges","archive_url":"https://api.github.com/repos/prolificinteractive/Yoshi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prolificinteractive/Yoshi/downloads","issues_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues{/number}","pulls_url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls{/number}","milestones_url":"https://api.github.com/repos/prolificinteractive/Yoshi/milestones{/number}","notifications_url":"https://api.github.com/repos/prolificinteractive/Yoshi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prolificinteractive/Yoshi/labels{/name}","releases_url":"https://api.github.com/repos/prolificinteractive/Yoshi/releases{/id}","deployments_url":"https://api.github.com/repos/prolificinteractive/Yoshi/deployments","created_at":"2015-12-22T23:50:42Z","updated_at":"2016-02-08T22:37:26Z","pushed_at":"2016-02-09T21:06:22Z","git_url":"git://github.com/prolificinteractive/Yoshi.git","ssh_url":"git@github.com:prolificinteractive/Yoshi.git","clone_url":"https://github.com/prolificinteractive/Yoshi.git","svn_url":"https://github.com/prolificinteractive/Yoshi","homepage":null,"size":2574,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"prolificinteractive:master","ref":"master","sha":"8d62e72395f3d816305682bd30645db56d3cc8ba","user":{"login":"prolificinteractive","id":1280427,"avatar_url":"https://avatars.githubusercontent.com/u/1280427?v=3","gravatar_id":"","url":"https://api.github.com/users/prolificinteractive","html_url":"https://github.com/prolificinteractive","followers_url":"https://api.github.com/users/prolificinteractive/followers","following_url":"https://api.github.com/users/prolificinteractive/following{/other_user}","gists_url":"https://api.github.com/users/prolificinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/prolificinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prolificinteractive/subscriptions","organizations_url":"https://api.github.com/users/prolificinteractive/orgs","repos_url":"https://api.github.com/users/prolificinteractive/repos","events_url":"https://api.github.com/users/prolificinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/prolificinteractive/received_events","type":"Organization","site_admin":false},"repo":{"id":48459457,"name":"Yoshi","full_name":"prolificinteractive/Yoshi","owner":{"login":"prolificinteractive","id":1280427,"avatar_url":"https://avatars.githubusercontent.com/u/1280427?v=3","gravatar_id":"","url":"https://api.github.com/users/prolificinteractive","html_url":"https://github.com/prolificinteractive","followers_url":"https://api.github.com/users/prolificinteractive/followers","following_url":"https://api.github.com/users/prolificinteractive/following{/other_user}","gists_url":"https://api.github.com/users/prolificinteractive/gists{/gist_id}","starred_url":"https://api.github.com/users/prolificinteractive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prolificinteractive/subscriptions","organizations_url":"https://api.github.com/users/prolificinteractive/orgs","repos_url":"https://api.github.com/users/prolificinteractive/repos","events_url":"https://api.github.com/users/prolificinteractive/events{/privacy}","received_events_url":"https://api.github.com/users/prolificinteractive/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prolificinteractive/Yoshi","description":"In app debug panel for iOS","fork":false,"url":"https://api.github.com/repos/prolificinteractive/Yoshi","forks_url":"https://api.github.com/repos/prolificinteractive/Yoshi/forks","keys_url":"https://api.github.com/repos/prolificinteractive/Yoshi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prolificinteractive/Yoshi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prolificinteractive/Yoshi/teams","hooks_url":"https://api.github.com/repos/prolificinteractive/Yoshi/hooks","issue_events_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/events{/number}","events_url":"https://api.github.com/repos/prolificinteractive/Yoshi/events","assignees_url":"https://api.github.com/repos/prolificinteractive/Yoshi/assignees{/user}","branches_url":"https://api.github.com/repos/prolificinteractive/Yoshi/branches{/branch}","tags_url":"https://api.github.com/repos/prolificinteractive/Yoshi/tags","blobs_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/refs{/sha}","trees_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prolificinteractive/Yoshi/statuses/{sha}","languages_url":"https://api.github.com/repos/prolificinteractive/Yoshi/languages","stargazers_url":"https://api.github.com/repos/prolificinteractive/Yoshi/stargazers","contributors_url":"https://api.github.com/repos/prolificinteractive/Yoshi/contributors","subscribers_url":"https://api.github.com/repos/prolificinteractive/Yoshi/subscribers","subscription_url":"https://api.github.com/repos/prolificinteractive/Yoshi/subscription","commits_url":"https://api.github.com/repos/prolificinteractive/Yoshi/commits{/sha}","git_commits_url":"https://api.github.com/repos/prolificinteractive/Yoshi/git/commits{/sha}","comments_url":"https://api.github.com/repos/prolificinteractive/Yoshi/comments{/number}","issue_comment_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/comments{/number}","contents_url":"https://api.github.com/repos/prolificinteractive/Yoshi/contents/{+path}","compare_url":"https://api.github.com/repos/prolificinteractive/Yoshi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prolificinteractive/Yoshi/merges","archive_url":"https://api.github.com/repos/prolificinteractive/Yoshi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prolificinteractive/Yoshi/downloads","issues_url":"https://api.github.com/repos/prolificinteractive/Yoshi/issues{/number}","pulls_url":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls{/number}","milestones_url":"https://api.github.com/repos/prolificinteractive/Yoshi/milestones{/number}","notifications_url":"https://api.github.com/repos/prolificinteractive/Yoshi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prolificinteractive/Yoshi/labels{/name}","releases_url":"https://api.github.com/repos/prolificinteractive/Yoshi/releases{/id}","deployments_url":"https://api.github.com/repos/prolificinteractive/Yoshi/deployments","created_at":"2015-12-22T23:50:42Z","updated_at":"2016-02-08T22:37:26Z","pushed_at":"2016-02-09T21:06:22Z","git_url":"git://github.com/prolificinteractive/Yoshi.git","ssh_url":"git@github.com:prolificinteractive/Yoshi.git","clone_url":"https://github.com/prolificinteractive/Yoshi.git","svn_url":"https://github.com/prolificinteractive/Yoshi","homepage":null,"size":2574,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21"},"html":{"href":"https://github.com/prolificinteractive/Yoshi/pull/21"},"issue":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/21"},"comments":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/prolificinteractive/Yoshi/statuses/b7e96ec9c82f72261d5e7a517d60329d2cab511d"}}}}