{"action":"created","comment":{"url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/comments/74005291","id":74005291,"diff_hunk":"@@ -123,5 +118,22 @@ extension UserViewController {\n         collectionView.reloadData()\n     }\n     \n+    func collectionView(collectionView: UICollectionView,","path":"Example/DisplaySwitcher/ViewControllers/UserViewController/UserViewController.swift","position":32,"original_position":32,"commit_id":"79086ae4d3a725a76fa8edf0d9dc673e9f7a1592","original_commit_id":"79086ae4d3a725a76fa8edf0d9dc673e9f7a1592","user":{"login":"serejahh","id":2575555,"avatar_url":"https://avatars.githubusercontent.com/u/2575555?v=3","gravatar_id":"","url":"https://api.github.com/users/serejahh","html_url":"https://github.com/serejahh","followers_url":"https://api.github.com/users/serejahh/followers","following_url":"https://api.github.com/users/serejahh/following{/other_user}","gists_url":"https://api.github.com/users/serejahh/gists{/gist_id}","starred_url":"https://api.github.com/users/serejahh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serejahh/subscriptions","organizations_url":"https://api.github.com/users/serejahh/orgs","repos_url":"https://api.github.com/users/serejahh/repos","events_url":"https://api.github.com/users/serejahh/events{/privacy}","received_events_url":"https://api.github.com/users/serejahh/received_events","type":"User","site_admin":false},"body":"We prefer to divide a signature only if it's greater than 120 symbols","created_at":"2016-08-09T06:44:33Z","updated_at":"2016-08-09T06:44:33Z","html_url":"https://github.com/Yalantis/DisplaySwitcher/pull/8#discussion_r74005291","pull_request_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/comments/74005291"},"html":{"href":"https://github.com/Yalantis/DisplaySwitcher/pull/8#discussion_r74005291"},"pull_request":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8","id":80374059,"html_url":"https://github.com/Yalantis/DisplaySwitcher/pull/8","diff_url":"https://github.com/Yalantis/DisplaySwitcher/pull/8.diff","patch_url":"https://github.com/Yalantis/DisplaySwitcher/pull/8.patch","issue_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/issues/8","number":8,"state":"open","locked":false,"title":"Solved didSelectItemAtIndexPath issue #7","user":{"login":"Maryom","id":3218401,"avatar_url":"https://avatars.githubusercontent.com/u/3218401?v=3","gravatar_id":"","url":"https://api.github.com/users/Maryom","html_url":"https://github.com/Maryom","followers_url":"https://api.github.com/users/Maryom/followers","following_url":"https://api.github.com/users/Maryom/following{/other_user}","gists_url":"https://api.github.com/users/Maryom/gists{/gist_id}","starred_url":"https://api.github.com/users/Maryom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maryom/subscriptions","organizations_url":"https://api.github.com/users/Maryom/orgs","repos_url":"https://api.github.com/users/Maryom/repos","events_url":"https://api.github.com/users/Maryom/events{/privacy}","received_events_url":"https://api.github.com/users/Maryom/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nI opened didSelectItemAtIndexPath issue #7 then I solved it in this PR.\r\n\r\nNo need for gesture recognizer as it disable the cell tap. So I just added gesture recognizer when searchBarTextDidBeginEditing so that the keyboard will disappear when the user tap. Then I removed    gesture recognizer when searchBarTextDidEndEditing.\r\n\r\nNote that I added:\r\n\r\n```\r\nfunc collectionView(collectionView: UICollectionView,\r\n                        didSelectItemAtIndexPath indexPath: NSIndexPath) {\r\n        print(\"Hi \\(indexPath.row)\")\r\n    }\r\n```\r\n\r\nJust to check the functionality so maybe it better to move to new view or any suggestions?\r\n\r\nThanks.\r\n\r\n","created_at":"2016-08-07T18:27:39Z","updated_at":"2016-08-09T06:44:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b87eb7f96b495991d8d06897254676de4cf81133","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/issues/8/comments","statuses_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/statuses/79086ae4d3a725a76fa8edf0d9dc673e9f7a1592","head":{"label":"Maryom:master","ref":"master","sha":"79086ae4d3a725a76fa8edf0d9dc673e9f7a1592","user":{"login":"Maryom","id":3218401,"avatar_url":"https://avatars.githubusercontent.com/u/3218401?v=3","gravatar_id":"","url":"https://api.github.com/users/Maryom","html_url":"https://github.com/Maryom","followers_url":"https://api.github.com/users/Maryom/followers","following_url":"https://api.github.com/users/Maryom/following{/other_user}","gists_url":"https://api.github.com/users/Maryom/gists{/gist_id}","starred_url":"https://api.github.com/users/Maryom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maryom/subscriptions","organizations_url":"https://api.github.com/users/Maryom/orgs","repos_url":"https://api.github.com/users/Maryom/repos","events_url":"https://api.github.com/users/Maryom/events{/privacy}","received_events_url":"https://api.github.com/users/Maryom/received_events","type":"User","site_admin":false},"repo":{"id":65147550,"name":"DisplaySwitcher","full_name":"Maryom/DisplaySwitcher","owner":{"login":"Maryom","id":3218401,"avatar_url":"https://avatars.githubusercontent.com/u/3218401?v=3","gravatar_id":"","url":"https://api.github.com/users/Maryom","html_url":"https://github.com/Maryom","followers_url":"https://api.github.com/users/Maryom/followers","following_url":"https://api.github.com/users/Maryom/following{/other_user}","gists_url":"https://api.github.com/users/Maryom/gists{/gist_id}","starred_url":"https://api.github.com/users/Maryom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maryom/subscriptions","organizations_url":"https://api.github.com/users/Maryom/orgs","repos_url":"https://api.github.com/users/Maryom/repos","events_url":"https://api.github.com/users/Maryom/events{/privacy}","received_events_url":"https://api.github.com/users/Maryom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Maryom/DisplaySwitcher","description":"Custom transition between two collection view layouts","fork":true,"url":"https://api.github.com/repos/Maryom/DisplaySwitcher","forks_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/forks","keys_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/teams","hooks_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/hooks","issue_events_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/issues/events{/number}","events_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/events","assignees_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/assignees{/user}","branches_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/branches{/branch}","tags_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/tags","blobs_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/statuses/{sha}","languages_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/languages","stargazers_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/stargazers","contributors_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/contributors","subscribers_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/subscribers","subscription_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/subscription","commits_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/contents/{+path}","compare_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/merges","archive_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/downloads","issues_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/issues{/number}","pulls_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/pulls{/number}","milestones_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/milestones{/number}","notifications_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/labels{/name}","releases_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/releases{/id}","deployments_url":"https://api.github.com/repos/Maryom/DisplaySwitcher/deployments","created_at":"2016-08-07T18:18:42Z","updated_at":"2016-08-07T18:18:43Z","pushed_at":"2016-08-08T11:27:24Z","git_url":"git://github.com/Maryom/DisplaySwitcher.git","ssh_url":"git@github.com:Maryom/DisplaySwitcher.git","clone_url":"https://github.com/Maryom/DisplaySwitcher.git","svn_url":"https://github.com/Maryom/DisplaySwitcher","homepage":"https://yalantis.com","size":9569,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Yalantis:master","ref":"master","sha":"9671891cd13f8606d3863d3f5f42d1651478fde4","user":{"login":"Yalantis","id":752338,"avatar_url":"https://avatars.githubusercontent.com/u/752338?v=3","gravatar_id":"","url":"https://api.github.com/users/Yalantis","html_url":"https://github.com/Yalantis","followers_url":"https://api.github.com/users/Yalantis/followers","following_url":"https://api.github.com/users/Yalantis/following{/other_user}","gists_url":"https://api.github.com/users/Yalantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Yalantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yalantis/subscriptions","organizations_url":"https://api.github.com/users/Yalantis/orgs","repos_url":"https://api.github.com/users/Yalantis/repos","events_url":"https://api.github.com/users/Yalantis/events{/privacy}","received_events_url":"https://api.github.com/users/Yalantis/received_events","type":"Organization","site_admin":false},"repo":{"id":55959044,"name":"DisplaySwitcher","full_name":"Yalantis/DisplaySwitcher","owner":{"login":"Yalantis","id":752338,"avatar_url":"https://avatars.githubusercontent.com/u/752338?v=3","gravatar_id":"","url":"https://api.github.com/users/Yalantis","html_url":"https://github.com/Yalantis","followers_url":"https://api.github.com/users/Yalantis/followers","following_url":"https://api.github.com/users/Yalantis/following{/other_user}","gists_url":"https://api.github.com/users/Yalantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Yalantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yalantis/subscriptions","organizations_url":"https://api.github.com/users/Yalantis/orgs","repos_url":"https://api.github.com/users/Yalantis/repos","events_url":"https://api.github.com/users/Yalantis/events{/privacy}","received_events_url":"https://api.github.com/users/Yalantis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Yalantis/DisplaySwitcher","description":"Custom transition between two collection view layouts","fork":false,"url":"https://api.github.com/repos/Yalantis/DisplaySwitcher","forks_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/forks","keys_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/teams","hooks_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/hooks","issue_events_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/issues/events{/number}","events_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/events","assignees_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/assignees{/user}","branches_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/branches{/branch}","tags_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/tags","blobs_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/statuses/{sha}","languages_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/languages","stargazers_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/stargazers","contributors_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/contributors","subscribers_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/subscribers","subscription_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/subscription","commits_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/contents/{+path}","compare_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/merges","archive_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/downloads","issues_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/issues{/number}","pulls_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls{/number}","milestones_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/milestones{/number}","notifications_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/labels{/name}","releases_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/releases{/id}","deployments_url":"https://api.github.com/repos/Yalantis/DisplaySwitcher/deployments","created_at":"2016-04-11T09:27:42Z","updated_at":"2016-08-09T06:05:33Z","pushed_at":"2016-08-08T11:27:25Z","git_url":"git://github.com/Yalantis/DisplaySwitcher.git","ssh_url":"git@github.com:Yalantis/DisplaySwitcher.git","clone_url":"https://github.com/Yalantis/DisplaySwitcher.git","svn_url":"https://github.com/Yalantis/DisplaySwitcher","homepage":"https://yalantis.com","size":9567,"stargazers_count":991,"watchers_count":991,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"open_issues_count":3,"forks":64,"open_issues":3,"watchers":991,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8"},"html":{"href":"https://github.com/Yalantis/DisplaySwitcher/pull/8"},"issue":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/issues/8"},"comments":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Yalantis/DisplaySwitcher/statuses/79086ae4d3a725a76fa8edf0d9dc673e9f7a1592"}}}}
{"actor":{"display_login":"serejahh"}}