{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/ng-swift/pulls/comments/94040254","pull_request_review_id":14569786,"id":94040254,"diff_hunk":"@@ -0,0 +1,39 @@\n+//\n+//  ViewController.swift\n+//  TwitterExample\n+//\n+//  Created by Nahuel Gladstein on 12/22/16.\n+//  Copyright © 2016 Nahuel Gladstein. All rights reserved.\n+//\n+\n+import UIKit\n+\n+final class TwitterMainController: UIViewController {\n+    private let _view: TwitterMainView = TwitterMainView.loadFromNib()\n+    private let _tableViewModel: TableViewModel\n+    lazy var tableViewController: TwitterTableController = TwitterTableController(bounds: self._view.containerView.frame , viewModel: self._tableViewModel)\n+    \n+    init(tableViewModel: TableViewModel) {\n+        _tableViewModel = tableViewModel\n+        super.init(nibName: nil, bundle: nil)\n+    }\n+    \n+    required init?(coder aDecoder: NSCoder) {\n+        fatalError(\"init(coder:) has not been implemented\")\n+    }\n+    \n+    override func loadView() {\n+        view = _view\n+    }\n+    \n+    override func viewDidLoad() {\n+        super.viewDidLoad()\n+        \n+    }\n+    \n+    override func viewDidLayoutSubviews() {\n+        super.viewDidLayoutSubviews()\n+        self.loadViewController(tableViewController, into: _view.containerView)","path":"Ejercicio2/TwitterExample/TwitterExample/Controller/TwitterMainController.swift","position":36,"original_position":36,"commit_id":"52de917dfdee9353fcec73090419f3620b7a94ee","original_commit_id":"52de917dfdee9353fcec73090419f3620b7a94ee","user":{"login":"pablog","id":287281,"avatar_url":"https://avatars.githubusercontent.com/u/287281?v=3","gravatar_id":"","url":"https://api.github.com/users/pablog","html_url":"https://github.com/pablog","followers_url":"https://api.github.com/users/pablog/followers","following_url":"https://api.github.com/users/pablog/following{/other_user}","gists_url":"https://api.github.com/users/pablog/gists{/gist_id}","starred_url":"https://api.github.com/users/pablog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablog/subscriptions","organizations_url":"https://api.github.com/users/pablog/orgs","repos_url":"https://api.github.com/users/pablog/repos","events_url":"https://api.github.com/users/pablog/events{/privacy}","received_events_url":"https://api.github.com/users/pablog/received_events","type":"User","site_admin":false},"body":"Take into account this method may be called multiple times. You should move this to `viewDidLoad` or add an `if` clause to load it just once","created_at":"2016-12-28T14:50:19Z","updated_at":"2016-12-28T14:58:10Z","html_url":"https://github.com/wolox-training/ng-swift/pull/2#discussion_r94040254","pull_request_url":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/ng-swift/pulls/comments/94040254"},"html":{"href":"https://github.com/wolox-training/ng-swift/pull/2#discussion_r94040254"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2","id":99455638,"html_url":"https://github.com/wolox-training/ng-swift/pull/2","diff_url":"https://github.com/wolox-training/ng-swift/pull/2.diff","patch_url":"https://github.com/wolox-training/ng-swift/pull/2.patch","issue_url":"https://api.github.com/repos/wolox-training/ng-swift/issues/2","number":2,"state":"open","locked":false,"title":"Exercise 2","user":{"login":"nahuelwolox","id":24653720,"avatar_url":"https://avatars.githubusercontent.com/u/24653720?v=3","gravatar_id":"","url":"https://api.github.com/users/nahuelwolox","html_url":"https://github.com/nahuelwolox","followers_url":"https://api.github.com/users/nahuelwolox/followers","following_url":"https://api.github.com/users/nahuelwolox/following{/other_user}","gists_url":"https://api.github.com/users/nahuelwolox/gists{/gist_id}","starred_url":"https://api.github.com/users/nahuelwolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahuelwolox/subscriptions","organizations_url":"https://api.github.com/users/nahuelwolox/orgs","repos_url":"https://api.github.com/users/nahuelwolox/repos","events_url":"https://api.github.com/users/nahuelwolox/events{/privacy}","received_events_url":"https://api.github.com/users/nahuelwolox/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-27T15:28:32Z","updated_at":"2016-12-28T14:58:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fec890ce1de1e2bbe0200b7e7a14e4e28bd566db","assignee":{"login":"nahuelwolox","id":24653720,"avatar_url":"https://avatars.githubusercontent.com/u/24653720?v=3","gravatar_id":"","url":"https://api.github.com/users/nahuelwolox","html_url":"https://github.com/nahuelwolox","followers_url":"https://api.github.com/users/nahuelwolox/followers","following_url":"https://api.github.com/users/nahuelwolox/following{/other_user}","gists_url":"https://api.github.com/users/nahuelwolox/gists{/gist_id}","starred_url":"https://api.github.com/users/nahuelwolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahuelwolox/subscriptions","organizations_url":"https://api.github.com/users/nahuelwolox/orgs","repos_url":"https://api.github.com/users/nahuelwolox/repos","events_url":"https://api.github.com/users/nahuelwolox/events{/privacy}","received_events_url":"https://api.github.com/users/nahuelwolox/received_events","type":"User","site_admin":false},"assignees":[{"login":"nahuelwolox","id":24653720,"avatar_url":"https://avatars.githubusercontent.com/u/24653720?v=3","gravatar_id":"","url":"https://api.github.com/users/nahuelwolox","html_url":"https://github.com/nahuelwolox","followers_url":"https://api.github.com/users/nahuelwolox/followers","following_url":"https://api.github.com/users/nahuelwolox/following{/other_user}","gists_url":"https://api.github.com/users/nahuelwolox/gists{/gist_id}","starred_url":"https://api.github.com/users/nahuelwolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nahuelwolox/subscriptions","organizations_url":"https://api.github.com/users/nahuelwolox/orgs","repos_url":"https://api.github.com/users/nahuelwolox/repos","events_url":"https://api.github.com/users/nahuelwolox/events{/privacy}","received_events_url":"https://api.github.com/users/nahuelwolox/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2/commits","review_comments_url":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2/comments","review_comment_url":"https://api.github.com/repos/wolox-training/ng-swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/ng-swift/issues/2/comments","statuses_url":"https://api.github.com/repos/wolox-training/ng-swift/statuses/52de917dfdee9353fcec73090419f3620b7a94ee","head":{"label":"wolox-training:capacitacion-ex2","ref":"capacitacion-ex2","sha":"52de917dfdee9353fcec73090419f3620b7a94ee","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":76862810,"name":"ng-swift","full_name":"wolox-training/ng-swift","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/ng-swift","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/ng-swift","forks_url":"https://api.github.com/repos/wolox-training/ng-swift/forks","keys_url":"https://api.github.com/repos/wolox-training/ng-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/ng-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/ng-swift/teams","hooks_url":"https://api.github.com/repos/wolox-training/ng-swift/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/ng-swift/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/ng-swift/events","assignees_url":"https://api.github.com/repos/wolox-training/ng-swift/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/ng-swift/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/ng-swift/tags","blobs_url":"https://api.github.com/repos/wolox-training/ng-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/ng-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/ng-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/ng-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/ng-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/ng-swift/languages","stargazers_url":"https://api.github.com/repos/wolox-training/ng-swift/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/ng-swift/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/ng-swift/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/ng-swift/subscription","commits_url":"https://api.github.com/repos/wolox-training/ng-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/ng-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/ng-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/ng-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/ng-swift/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/ng-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/ng-swift/merges","archive_url":"https://api.github.com/repos/wolox-training/ng-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/ng-swift/downloads","issues_url":"https://api.github.com/repos/wolox-training/ng-swift/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/ng-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/ng-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/ng-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/ng-swift/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/ng-swift/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/ng-swift/deployments","created_at":"2016-12-19T13:03:10Z","updated_at":"2016-12-27T14:47:28Z","pushed_at":"2016-12-28T13:56:23Z","git_url":"git://github.com/wolox-training/ng-swift.git","ssh_url":"git@github.com:wolox-training/ng-swift.git","clone_url":"https://github.com/wolox-training/ng-swift.git","svn_url":"https://github.com/wolox-training/ng-swift","homepage":null,"size":337,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"wolox-training:master","ref":"master","sha":"5b0ddc0d8edf4868f781546ecc37898602c639f3","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":76862810,"name":"ng-swift","full_name":"wolox-training/ng-swift","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/ng-swift","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/ng-swift","forks_url":"https://api.github.com/repos/wolox-training/ng-swift/forks","keys_url":"https://api.github.com/repos/wolox-training/ng-swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/ng-swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/ng-swift/teams","hooks_url":"https://api.github.com/repos/wolox-training/ng-swift/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/ng-swift/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/ng-swift/events","assignees_url":"https://api.github.com/repos/wolox-training/ng-swift/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/ng-swift/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/ng-swift/tags","blobs_url":"https://api.github.com/repos/wolox-training/ng-swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/ng-swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/ng-swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/ng-swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/ng-swift/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/ng-swift/languages","stargazers_url":"https://api.github.com/repos/wolox-training/ng-swift/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/ng-swift/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/ng-swift/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/ng-swift/subscription","commits_url":"https://api.github.com/repos/wolox-training/ng-swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/ng-swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/ng-swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/ng-swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/ng-swift/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/ng-swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/ng-swift/merges","archive_url":"https://api.github.com/repos/wolox-training/ng-swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/ng-swift/downloads","issues_url":"https://api.github.com/repos/wolox-training/ng-swift/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/ng-swift/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/ng-swift/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/ng-swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/ng-swift/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/ng-swift/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/ng-swift/deployments","created_at":"2016-12-19T13:03:10Z","updated_at":"2016-12-27T14:47:28Z","pushed_at":"2016-12-28T13:56:23Z","git_url":"git://github.com/wolox-training/ng-swift.git","ssh_url":"git@github.com:wolox-training/ng-swift.git","clone_url":"https://github.com/wolox-training/ng-swift.git","svn_url":"https://github.com/wolox-training/ng-swift","homepage":null,"size":337,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2"},"html":{"href":"https://github.com/wolox-training/ng-swift/pull/2"},"issue":{"href":"https://api.github.com/repos/wolox-training/ng-swift/issues/2"},"comments":{"href":"https://api.github.com/repos/wolox-training/ng-swift/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/ng-swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/ng-swift/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/ng-swift/statuses/52de917dfdee9353fcec73090419f3620b7a94ee"}}}}
{"actor":{"display_login":"pablog"}}