{"action":"created","comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments/172385704","pull_request_review_id":101388174,"id":172385704,"diff_hunk":"@@ -283,53 +285,43 @@ final class ChatViewController: SLKTextViewController {\n     }\n \n     fileprivate func registerCells() {\n-        collectionView?.register(UINib(\n-            nibName: \"ChatLoaderCell\",\n-            bundle: Bundle.main\n-        ), forCellWithReuseIdentifier: ChatLoaderCell.identifier)\n-\n-        collectionView?.register(UINib(\n-            nibName: \"ChatMessageCell\",\n-            bundle: Bundle.main\n-        ), forCellWithReuseIdentifier: ChatMessageCell.identifier)\n-\n-        collectionView?.register(UINib(\n-            nibName: \"ChatMessageDaySeparator\",\n-            bundle: Bundle.main\n-        ), forCellWithReuseIdentifier: ChatMessageDaySeparator.identifier)\n-\n-        collectionView?.register(UINib(\n-            nibName: \"ChatMessageUnreadSeparator\",\n-            bundle: Bundle.main\n-        ), forCellWithReuseIdentifier: ChatMessageUnreadSeparator.identifier)\n-\n-        collectionView?.register(UINib(\n-            nibName: \"ChatChannelHeaderCell\",\n-            bundle: Bundle.main\n-        ), forCellWithReuseIdentifier: ChatChannelHeaderCell.identifier)\n-\n-        collectionView?.register(UINib(\n-            nibName: \"ChatDirectMessageHeaderCell\",\n-            bundle: Bundle.main\n-        ), forCellWithReuseIdentifier: ChatDirectMessageHeaderCell.identifier)\n-\n-        autoCompletionView.register(UINib(\n-            nibName: \"AutocompleteCell\",\n-            bundle: Bundle.main\n-        ), forCellReuseIdentifier: AutocompleteCell.identifier)\n-\n-        autoCompletionView.register(UINib(\n-            nibName: \"EmojiAutocompleteCell\",\n-            bundle: Bundle.main\n-        ), forCellReuseIdentifier: EmojiAutocompleteCell.identifier)\n+        typealias NibCellIndentifier = (nibName: String, cellIdentifier: String)","path":"Rocket.Chat/Controllers/Chat/ChatViewController.swift","position":90,"original_position":90,"commit_id":"8315041dc196dcdd55443118415185e0c55e2fe3","original_commit_id":"8315041dc196dcdd55443118415185e0c55e2fe3","user":{"login":"cardoso","id":5606812,"avatar_url":"https://avatars3.githubusercontent.com/u/5606812?v=4","gravatar_id":"","url":"https://api.github.com/users/cardoso","html_url":"https://github.com/cardoso","followers_url":"https://api.github.com/users/cardoso/followers","following_url":"https://api.github.com/users/cardoso/following{/other_user}","gists_url":"https://api.github.com/users/cardoso/gists{/gist_id}","starred_url":"https://api.github.com/users/cardoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardoso/subscriptions","organizations_url":"https://api.github.com/users/cardoso/orgs","repos_url":"https://api.github.com/users/cardoso/repos","events_url":"https://api.github.com/users/cardoso/events{/privacy}","received_events_url":"https://api.github.com/users/cardoso/received_events","type":"User","site_admin":false},"body":"Thanks!!","created_at":"2018-03-06T01:33:35Z","updated_at":"2018-03-06T01:40:45Z","html_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/1377#discussion_r172385704","pull_request_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments/172385704"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/1377#discussion_r172385704"},"pull_request":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377"}}},"pull_request":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377","id":172781229,"html_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/1377","diff_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/1377.diff","patch_url":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/1377.patch","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/1377","number":1377,"state":"open","locked":false,"title":"[NEW] Interactive keyboard dismissal added to ChatViewController","user":{"login":"Sameesunkaria","id":7317008,"avatar_url":"https://avatars0.githubusercontent.com/u/7317008?v=4","gravatar_id":"","url":"https://api.github.com/users/Sameesunkaria","html_url":"https://github.com/Sameesunkaria","followers_url":"https://api.github.com/users/Sameesunkaria/followers","following_url":"https://api.github.com/users/Sameesunkaria/following{/other_user}","gists_url":"https://api.github.com/users/Sameesunkaria/gists{/gist_id}","starred_url":"https://api.github.com/users/Sameesunkaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sameesunkaria/subscriptions","organizations_url":"https://api.github.com/users/Sameesunkaria/orgs","repos_url":"https://api.github.com/users/Sameesunkaria/repos","events_url":"https://api.github.com/users/Sameesunkaria/events{/privacy}","received_events_url":"https://api.github.com/users/Sameesunkaria/received_events","type":"User","site_admin":false},"body":"@RocketChat/ios\r\n\r\n![out](https://user-images.githubusercontent.com/7317008/36960332-91d18884-206c-11e8-9d2a-6984460df85b.gif)\r\n\r\n- Interactive keyboard dismissal added to ChatViewController.\r\n- Minor refactoring.\r\n\r\nSince the Input Accessory View is tightly coupled with the SlackTextViewController, implementing the text bar as an Input Accessory View would require major modifications to the SlackTextViewController dependency. Until the dependency gets updated this is possibly the best way to get an interactive keyboard slide out.","created_at":"2018-03-05T06:02:09Z","updated_at":"2018-03-06T01:40:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26722d16120feadbdd1b60fc08c3660606efb6d4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":253914122,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/labels/%F0%9F%8E%89%20feature","name":"🎉 feature","color":"ededed","default":false},{"id":408425524,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/labels/%F0%9F%91%8D%20improvement","name":"👍 improvement","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377/commits","review_comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377/comments","review_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/1377/comments","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/statuses/8315041dc196dcdd55443118415185e0c55e2fe3","head":{"label":"Sameesunkaria:develop","ref":"develop","sha":"8315041dc196dcdd55443118415185e0c55e2fe3","user":{"login":"Sameesunkaria","id":7317008,"avatar_url":"https://avatars0.githubusercontent.com/u/7317008?v=4","gravatar_id":"","url":"https://api.github.com/users/Sameesunkaria","html_url":"https://github.com/Sameesunkaria","followers_url":"https://api.github.com/users/Sameesunkaria/followers","following_url":"https://api.github.com/users/Sameesunkaria/following{/other_user}","gists_url":"https://api.github.com/users/Sameesunkaria/gists{/gist_id}","starred_url":"https://api.github.com/users/Sameesunkaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sameesunkaria/subscriptions","organizations_url":"https://api.github.com/users/Sameesunkaria/orgs","repos_url":"https://api.github.com/users/Sameesunkaria/repos","events_url":"https://api.github.com/users/Sameesunkaria/events{/privacy}","received_events_url":"https://api.github.com/users/Sameesunkaria/received_events","type":"User","site_admin":false},"repo":{"id":123831655,"name":"Rocket.Chat.iOS","full_name":"Sameesunkaria/Rocket.Chat.iOS","owner":{"login":"Sameesunkaria","id":7317008,"avatar_url":"https://avatars0.githubusercontent.com/u/7317008?v=4","gravatar_id":"","url":"https://api.github.com/users/Sameesunkaria","html_url":"https://github.com/Sameesunkaria","followers_url":"https://api.github.com/users/Sameesunkaria/followers","following_url":"https://api.github.com/users/Sameesunkaria/following{/other_user}","gists_url":"https://api.github.com/users/Sameesunkaria/gists{/gist_id}","starred_url":"https://api.github.com/users/Sameesunkaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sameesunkaria/subscriptions","organizations_url":"https://api.github.com/users/Sameesunkaria/orgs","repos_url":"https://api.github.com/users/Sameesunkaria/repos","events_url":"https://api.github.com/users/Sameesunkaria/events{/privacy}","received_events_url":"https://api.github.com/users/Sameesunkaria/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sameesunkaria/Rocket.Chat.iOS","description":"Rocket.Chat Native iOS Application","fork":true,"url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS","forks_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/forks","keys_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/teams","hooks_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/hooks","issue_events_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/issues/events{/number}","events_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/events","assignees_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/assignees{/user}","branches_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/branches{/branch}","tags_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/tags","blobs_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/languages","stargazers_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/stargazers","contributors_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/contributors","subscribers_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/subscribers","subscription_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/subscription","commits_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/contents/{+path}","compare_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/merges","archive_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/downloads","issues_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/issues{/number}","pulls_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/labels{/name}","releases_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/releases{/id}","deployments_url":"https://api.github.com/repos/Sameesunkaria/Rocket.Chat.iOS/deployments","created_at":"2018-03-04T21:40:37Z","updated_at":"2018-03-04T21:40:39Z","pushed_at":"2018-03-05T19:57:51Z","git_url":"git://github.com/Sameesunkaria/Rocket.Chat.iOS.git","ssh_url":"git@github.com:Sameesunkaria/Rocket.Chat.iOS.git","clone_url":"https://github.com/Sameesunkaria/Rocket.Chat.iOS.git","svn_url":"https://github.com/Sameesunkaria/Rocket.Chat.iOS","homepage":null,"size":10009,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"RocketChat:develop","ref":"develop","sha":"e3687d3c1c9badcff008007782f0515263ada52f","user":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"repo":{"id":40144228,"name":"Rocket.Chat.iOS","full_name":"RocketChat/Rocket.Chat.iOS","owner":{"login":"RocketChat","id":12508788,"avatar_url":"https://avatars1.githubusercontent.com/u/12508788?v=4","gravatar_id":"","url":"https://api.github.com/users/RocketChat","html_url":"https://github.com/RocketChat","followers_url":"https://api.github.com/users/RocketChat/followers","following_url":"https://api.github.com/users/RocketChat/following{/other_user}","gists_url":"https://api.github.com/users/RocketChat/gists{/gist_id}","starred_url":"https://api.github.com/users/RocketChat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RocketChat/subscriptions","organizations_url":"https://api.github.com/users/RocketChat/orgs","repos_url":"https://api.github.com/users/RocketChat/repos","events_url":"https://api.github.com/users/RocketChat/events{/privacy}","received_events_url":"https://api.github.com/users/RocketChat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RocketChat/Rocket.Chat.iOS","description":"Rocket.Chat Native iOS Application","fork":false,"url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS","forks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/forks","keys_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/teams","hooks_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/hooks","issue_events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/events{/number}","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/events","assignees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/assignees{/user}","branches_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/branches{/branch}","tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/tags","blobs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/statuses/{sha}","languages_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/languages","stargazers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/stargazers","contributors_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/contributors","subscribers_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/subscribers","subscription_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/subscription","commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/contents/{+path}","compare_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/merges","archive_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/downloads","issues_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues{/number}","pulls_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls{/number}","milestones_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/milestones{/number}","notifications_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/labels{/name}","releases_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/releases{/id}","deployments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/deployments","created_at":"2015-08-03T19:37:05Z","updated_at":"2018-03-05T22:29:41Z","pushed_at":"2018-03-05T21:51:08Z","git_url":"git://github.com/RocketChat/Rocket.Chat.iOS.git","ssh_url":"git@github.com:RocketChat/Rocket.Chat.iOS.git","clone_url":"https://github.com/RocketChat/Rocket.Chat.iOS.git","svn_url":"https://github.com/RocketChat/Rocket.Chat.iOS","homepage":null,"size":10156,"stargazers_count":406,"watchers_count":406,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":234,"mirror_url":null,"archived":false,"open_issues_count":103,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":234,"open_issues":103,"watchers":406,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377"},"html":{"href":"https://github.com/RocketChat/Rocket.Chat.iOS/pull/1377"},"issue":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/1377"},"comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/issues/1377/comments"},"review_comments":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377/comments"},"review_comment":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/pulls/1377/commits"},"statuses":{"href":"https://api.github.com/repos/RocketChat/Rocket.Chat.iOS/statuses/8315041dc196dcdd55443118415185e0c55e2fe3"}},"author_association":"NONE"}}
{"actor":{"display_login":"cardoso"}}