{"action":"created","comment":{"url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/comments/182309157","pull_request_review_id":113077154,"id":182309157,"diff_hunk":"@@ -8,32 +8,99 @@\n \n import UIKit\n \n-class DetailTableViewController: UIViewController, TableDelegate {\n-   \n+protocol DetailTableViewControllerProtocol:class{\n+   func reloadData()\n+    func pushView(vc: UIViewController)\n+}\n+\n+class DetailTableViewController: UIViewController,UITableViewDelegate,UITableViewDataSource {\n     //MARK: Properties\n     var meal: Meal?\n+    var tableData: TableData?\n     var interactor = DetailViewInteractor()\n+    weak var detailInteractorDelegate: DetailViewInteractorProtocol?\n     @IBOutlet weak var tableView: UITableView!\n+    \n+    //MARK: Methods\n     override func viewDidLoad() {\n         // Do any additional setup after loading the view.\n         super.viewDidLoad()\n-        interactor.meal = self.meal\n-        interactor.delegate = self\n-        interactor.initData()\n-        interactor.registerCell(table:  tableView)\n-        self.tableView.delegate = interactor\n-        self.tableView.dataSource = interactor\n-        self.title = \"Meal Detail\"\n+        config()","path":"CustomCell/TableViewController/DetailView/DetailTableViewController.swift","position":30,"original_position":30,"commit_id":"0fdda1475899b1bda25799e5b41c768dc707df3a","original_commit_id":"0fdda1475899b1bda25799e5b41c768dc707df3a","user":{"login":"LucasBlackP","id":13192618,"avatar_url":"https://avatars0.githubusercontent.com/u/13192618?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasBlackP","html_url":"https://github.com/LucasBlackP","followers_url":"https://api.github.com/users/LucasBlackP/followers","following_url":"https://api.github.com/users/LucasBlackP/following{/other_user}","gists_url":"https://api.github.com/users/LucasBlackP/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasBlackP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasBlackP/subscriptions","organizations_url":"https://api.github.com/users/LucasBlackP/orgs","repos_url":"https://api.github.com/users/LucasBlackP/repos","events_url":"https://api.github.com/users/LucasBlackP/events{/privacy}","received_events_url":"https://api.github.com/users/LucasBlackP/received_events","type":"User","site_admin":false},"body":"the name of func does not make sense? please re-name it","created_at":"2018-04-18T04:58:37Z","updated_at":"2018-04-18T04:58:37Z","html_url":"https://github.com/LucasBlackP/iOSfromScratch/pull/3#discussion_r182309157","pull_request_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/comments/182309157"},"html":{"href":"https://github.com/LucasBlackP/iOSfromScratch/pull/3#discussion_r182309157"},"pull_request":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3","id":182367276,"html_url":"https://github.com/LucasBlackP/iOSfromScratch/pull/3","diff_url":"https://github.com/LucasBlackP/iOSfromScratch/pull/3.diff","patch_url":"https://github.com/LucasBlackP/iOSfromScratch/pull/3.patch","issue_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/3","number":3,"state":"open","locked":false,"title":"Refactor interactor using custom delegate","user":{"login":"PhatDoThanh","id":38450710,"avatar_url":"https://avatars3.githubusercontent.com/u/38450710?v=4","gravatar_id":"","url":"https://api.github.com/users/PhatDoThanh","html_url":"https://github.com/PhatDoThanh","followers_url":"https://api.github.com/users/PhatDoThanh/followers","following_url":"https://api.github.com/users/PhatDoThanh/following{/other_user}","gists_url":"https://api.github.com/users/PhatDoThanh/gists{/gist_id}","starred_url":"https://api.github.com/users/PhatDoThanh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhatDoThanh/subscriptions","organizations_url":"https://api.github.com/users/PhatDoThanh/orgs","repos_url":"https://api.github.com/users/PhatDoThanh/repos","events_url":"https://api.github.com/users/PhatDoThanh/events{/privacy}","received_events_url":"https://api.github.com/users/PhatDoThanh/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-18T04:54:21Z","updated_at":"2018-04-18T04:58:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"85fcbeca0793c1b45af42eae7f5fa55972848c0f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3/commits","review_comments_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3/comments","review_comment_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/3/comments","statuses_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/statuses/0fdda1475899b1bda25799e5b41c768dc707df3a","head":{"label":"LucasBlackP:18042018-refactor_interactor","ref":"18042018-refactor_interactor","sha":"0fdda1475899b1bda25799e5b41c768dc707df3a","user":{"login":"LucasBlackP","id":13192618,"avatar_url":"https://avatars0.githubusercontent.com/u/13192618?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasBlackP","html_url":"https://github.com/LucasBlackP","followers_url":"https://api.github.com/users/LucasBlackP/followers","following_url":"https://api.github.com/users/LucasBlackP/following{/other_user}","gists_url":"https://api.github.com/users/LucasBlackP/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasBlackP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasBlackP/subscriptions","organizations_url":"https://api.github.com/users/LucasBlackP/orgs","repos_url":"https://api.github.com/users/LucasBlackP/repos","events_url":"https://api.github.com/users/LucasBlackP/events{/privacy}","received_events_url":"https://api.github.com/users/LucasBlackP/received_events","type":"User","site_admin":false},"repo":{"id":129831007,"name":"iOSfromScratch","full_name":"LucasBlackP/iOSfromScratch","owner":{"login":"LucasBlackP","id":13192618,"avatar_url":"https://avatars0.githubusercontent.com/u/13192618?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasBlackP","html_url":"https://github.com/LucasBlackP","followers_url":"https://api.github.com/users/LucasBlackP/followers","following_url":"https://api.github.com/users/LucasBlackP/following{/other_user}","gists_url":"https://api.github.com/users/LucasBlackP/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasBlackP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasBlackP/subscriptions","organizations_url":"https://api.github.com/users/LucasBlackP/orgs","repos_url":"https://api.github.com/users/LucasBlackP/repos","events_url":"https://api.github.com/users/LucasBlackP/events{/privacy}","received_events_url":"https://api.github.com/users/LucasBlackP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LucasBlackP/iOSfromScratch","description":"This is project for demo and study swift language","fork":false,"url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch","forks_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/forks","keys_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/teams","hooks_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/hooks","issue_events_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/events{/number}","events_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/events","assignees_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/assignees{/user}","branches_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/branches{/branch}","tags_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/tags","blobs_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/refs{/sha}","trees_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/statuses/{sha}","languages_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/languages","stargazers_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/stargazers","contributors_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/contributors","subscribers_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/subscribers","subscription_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/subscription","commits_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/commits{/sha}","git_commits_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/commits{/sha}","comments_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/comments{/number}","issue_comment_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/comments{/number}","contents_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/contents/{+path}","compare_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/merges","archive_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/downloads","issues_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues{/number}","pulls_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls{/number}","milestones_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/milestones{/number}","notifications_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/labels{/name}","releases_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/releases{/id}","deployments_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/deployments","created_at":"2018-04-17T01:59:29Z","updated_at":"2018-04-18T02:07:41Z","pushed_at":"2018-04-18T04:54:21Z","git_url":"git://github.com/LucasBlackP/iOSfromScratch.git","ssh_url":"git@github.com:LucasBlackP/iOSfromScratch.git","clone_url":"https://github.com/LucasBlackP/iOSfromScratch.git","svn_url":"https://github.com/LucasBlackP/iOSfromScratch","homepage":null,"size":911,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LucasBlackP:master","ref":"master","sha":"15aaba7ad98eca7d3a3239c9de533cde42a0e977","user":{"login":"LucasBlackP","id":13192618,"avatar_url":"https://avatars0.githubusercontent.com/u/13192618?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasBlackP","html_url":"https://github.com/LucasBlackP","followers_url":"https://api.github.com/users/LucasBlackP/followers","following_url":"https://api.github.com/users/LucasBlackP/following{/other_user}","gists_url":"https://api.github.com/users/LucasBlackP/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasBlackP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasBlackP/subscriptions","organizations_url":"https://api.github.com/users/LucasBlackP/orgs","repos_url":"https://api.github.com/users/LucasBlackP/repos","events_url":"https://api.github.com/users/LucasBlackP/events{/privacy}","received_events_url":"https://api.github.com/users/LucasBlackP/received_events","type":"User","site_admin":false},"repo":{"id":129831007,"name":"iOSfromScratch","full_name":"LucasBlackP/iOSfromScratch","owner":{"login":"LucasBlackP","id":13192618,"avatar_url":"https://avatars0.githubusercontent.com/u/13192618?v=4","gravatar_id":"","url":"https://api.github.com/users/LucasBlackP","html_url":"https://github.com/LucasBlackP","followers_url":"https://api.github.com/users/LucasBlackP/followers","following_url":"https://api.github.com/users/LucasBlackP/following{/other_user}","gists_url":"https://api.github.com/users/LucasBlackP/gists{/gist_id}","starred_url":"https://api.github.com/users/LucasBlackP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucasBlackP/subscriptions","organizations_url":"https://api.github.com/users/LucasBlackP/orgs","repos_url":"https://api.github.com/users/LucasBlackP/repos","events_url":"https://api.github.com/users/LucasBlackP/events{/privacy}","received_events_url":"https://api.github.com/users/LucasBlackP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LucasBlackP/iOSfromScratch","description":"This is project for demo and study swift language","fork":false,"url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch","forks_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/forks","keys_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/teams","hooks_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/hooks","issue_events_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/events{/number}","events_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/events","assignees_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/assignees{/user}","branches_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/branches{/branch}","tags_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/tags","blobs_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/refs{/sha}","trees_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/statuses/{sha}","languages_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/languages","stargazers_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/stargazers","contributors_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/contributors","subscribers_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/subscribers","subscription_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/subscription","commits_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/commits{/sha}","git_commits_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/git/commits{/sha}","comments_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/comments{/number}","issue_comment_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/comments{/number}","contents_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/contents/{+path}","compare_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/merges","archive_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/downloads","issues_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues{/number}","pulls_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls{/number}","milestones_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/milestones{/number}","notifications_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/labels{/name}","releases_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/releases{/id}","deployments_url":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/deployments","created_at":"2018-04-17T01:59:29Z","updated_at":"2018-04-18T02:07:41Z","pushed_at":"2018-04-18T04:54:21Z","git_url":"git://github.com/LucasBlackP/iOSfromScratch.git","ssh_url":"git@github.com:LucasBlackP/iOSfromScratch.git","clone_url":"https://github.com/LucasBlackP/iOSfromScratch.git","svn_url":"https://github.com/LucasBlackP/iOSfromScratch","homepage":null,"size":911,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3"},"html":{"href":"https://github.com/LucasBlackP/iOSfromScratch/pull/3"},"issue":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/3"},"comments":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/LucasBlackP/iOSfromScratch/statuses/0fdda1475899b1bda25799e5b41c768dc707df3a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"LucasBlackP"}}