{"action":"created","comment":{"url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/comments/155952771","pull_request_review_id":82048973,"id":155952771,"diff_hunk":"@@ -0,0 +1,60 @@\n+//\n+//  DatePickerViewController.swift\n+//  tutorial screen\n+//\n+//  Created by Khoa Nguyen D.B. on 12/5/17.\n+//  Copyright © 2017 Bao Khoa. All rights reserved.\n+//\n+\n+import Foundation\n+import UIKit\n+\n+protocol DatePickerViewDelegate: class {\n+    func selectedDate(date: Date)\n+}\n+\n+class DatePickerView: UIView {\n+\n+    weak var delegate: DatePickerViewDelegate?\n+\n+    // MARK: IBOutlet\n+    @IBOutlet weak var hidePickerViewButton: UIButton!\n+    @IBOutlet weak var datePickerView: UIView!\n+    @IBOutlet weak var scrollDatePickerView: UIDatePicker!\n+    var defaultDate:Date?\n+\n+    // MARK: IBAction\n+    @IBAction func cancelBarButtonTouchUpInside(_ sender: Any) {\n+        removeFromSuperview()\n+    }\n+\n+    @IBAction func doneBarButtonTouchUpInside(_ sender: Any) {\n+        removeFromSuperview()\n+        delegate?.selectedDate(date: scrollDatePickerView.date)\n+    }\n+\n+    @IBAction func hidePickerViewButtonTouchUpInside(_ sender: Any) {","path":"Tutorial screen/tutorial screen/tutorial screen/Views/DatePickerView.swift","position":36,"original_position":36,"commit_id":"2cfe2c4e62d68eabc47a3b869c9c8fc093351c89","original_commit_id":"2cfe2c4e62d68eabc47a3b869c9c8fc093351c89","user":{"login":"at-quangphu","id":22438112,"avatar_url":"https://avatars1.githubusercontent.com/u/22438112?v=4","gravatar_id":"","url":"https://api.github.com/users/at-quangphu","html_url":"https://github.com/at-quangphu","followers_url":"https://api.github.com/users/at-quangphu/followers","following_url":"https://api.github.com/users/at-quangphu/following{/other_user}","gists_url":"https://api.github.com/users/at-quangphu/gists{/gist_id}","starred_url":"https://api.github.com/users/at-quangphu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-quangphu/subscriptions","organizations_url":"https://api.github.com/users/at-quangphu/orgs","repos_url":"https://api.github.com/users/at-quangphu/repos","events_url":"https://api.github.com/users/at-quangphu/events{/privacy}","received_events_url":"https://api.github.com/users/at-quangphu/received_events","type":"User","site_admin":false},"body":"`hiddenButton`","created_at":"2017-12-10T16:29:36Z","updated_at":"2017-12-10T16:40:06Z","html_url":"https://github.com/blkbrds/intern10-khoanguyen/pull/9#discussion_r155952771","pull_request_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/comments/155952771"},"html":{"href":"https://github.com/blkbrds/intern10-khoanguyen/pull/9#discussion_r155952771"},"pull_request":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9","id":156098733,"html_url":"https://github.com/blkbrds/intern10-khoanguyen/pull/9","diff_url":"https://github.com/blkbrds/intern10-khoanguyen/pull/9.diff","patch_url":"https://github.com/blkbrds/intern10-khoanguyen/pull/9.patch","issue_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/9","number":9,"state":"open","locked":false,"title":"feature/register screen","user":{"login":"at-khoanguyen","id":33854534,"avatar_url":"https://avatars1.githubusercontent.com/u/33854534?v=4","gravatar_id":"","url":"https://api.github.com/users/at-khoanguyen","html_url":"https://github.com/at-khoanguyen","followers_url":"https://api.github.com/users/at-khoanguyen/followers","following_url":"https://api.github.com/users/at-khoanguyen/following{/other_user}","gists_url":"https://api.github.com/users/at-khoanguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/at-khoanguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-khoanguyen/subscriptions","organizations_url":"https://api.github.com/users/at-khoanguyen/orgs","repos_url":"https://api.github.com/users/at-khoanguyen/repos","events_url":"https://api.github.com/users/at-khoanguyen/events{/privacy}","received_events_url":"https://api.github.com/users/at-khoanguyen/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-12-04T02:32:57Z","updated_at":"2017-12-10T16:40:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"978b106c3de99481ab70997eb65161ea4f0f3fbe","assignee":{"login":"at-quangphu","id":22438112,"avatar_url":"https://avatars1.githubusercontent.com/u/22438112?v=4","gravatar_id":"","url":"https://api.github.com/users/at-quangphu","html_url":"https://github.com/at-quangphu","followers_url":"https://api.github.com/users/at-quangphu/followers","following_url":"https://api.github.com/users/at-quangphu/following{/other_user}","gists_url":"https://api.github.com/users/at-quangphu/gists{/gist_id}","starred_url":"https://api.github.com/users/at-quangphu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-quangphu/subscriptions","organizations_url":"https://api.github.com/users/at-quangphu/orgs","repos_url":"https://api.github.com/users/at-quangphu/repos","events_url":"https://api.github.com/users/at-quangphu/events{/privacy}","received_events_url":"https://api.github.com/users/at-quangphu/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-quangphu","id":22438112,"avatar_url":"https://avatars1.githubusercontent.com/u/22438112?v=4","gravatar_id":"","url":"https://api.github.com/users/at-quangphu","html_url":"https://github.com/at-quangphu","followers_url":"https://api.github.com/users/at-quangphu/followers","following_url":"https://api.github.com/users/at-quangphu/following{/other_user}","gists_url":"https://api.github.com/users/at-quangphu/gists{/gist_id}","starred_url":"https://api.github.com/users/at-quangphu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-quangphu/subscriptions","organizations_url":"https://api.github.com/users/at-quangphu/orgs","repos_url":"https://api.github.com/users/at-quangphu/repos","events_url":"https://api.github.com/users/at-quangphu/events{/privacy}","received_events_url":"https://api.github.com/users/at-quangphu/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9/commits","review_comments_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9/comments","review_comment_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/9/comments","statuses_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/statuses/2cfe2c4e62d68eabc47a3b869c9c8fc093351c89","head":{"label":"blkbrds:feature/register-screen","ref":"feature/register-screen","sha":"2cfe2c4e62d68eabc47a3b869c9c8fc093351c89","user":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"repo":{"id":111627329,"name":"intern10-khoanguyen","full_name":"blkbrds/intern10-khoanguyen","owner":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blkbrds/intern10-khoanguyen","description":"iOS Intern - Nguyễn Đình Bảo Khoa","fork":false,"url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen","forks_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/forks","keys_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/teams","hooks_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/hooks","issue_events_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/events{/number}","events_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/events","assignees_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/assignees{/user}","branches_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/branches{/branch}","tags_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/tags","blobs_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/refs{/sha}","trees_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/statuses/{sha}","languages_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/languages","stargazers_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/stargazers","contributors_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/contributors","subscribers_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/subscribers","subscription_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/subscription","commits_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/commits{/sha}","git_commits_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/commits{/sha}","comments_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/comments{/number}","issue_comment_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/comments{/number}","contents_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/contents/{+path}","compare_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/merges","archive_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/downloads","issues_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues{/number}","pulls_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls{/number}","milestones_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/milestones{/number}","notifications_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/labels{/name}","releases_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/releases{/id}","deployments_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/deployments","created_at":"2017-11-22T02:37:46Z","updated_at":"2017-11-29T10:45:31Z","pushed_at":"2017-12-07T14:50:14Z","git_url":"git://github.com/blkbrds/intern10-khoanguyen.git","ssh_url":"git@github.com:blkbrds/intern10-khoanguyen.git","clone_url":"https://github.com/blkbrds/intern10-khoanguyen.git","svn_url":"https://github.com/blkbrds/intern10-khoanguyen","homepage":null,"size":1508,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"blkbrds:master","ref":"master","sha":"751e992086214426962bf0ab23fa293050381030","user":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"repo":{"id":111627329,"name":"intern10-khoanguyen","full_name":"blkbrds/intern10-khoanguyen","owner":{"login":"blkbrds","id":28261672,"avatar_url":"https://avatars1.githubusercontent.com/u/28261672?v=4","gravatar_id":"","url":"https://api.github.com/users/blkbrds","html_url":"https://github.com/blkbrds","followers_url":"https://api.github.com/users/blkbrds/followers","following_url":"https://api.github.com/users/blkbrds/following{/other_user}","gists_url":"https://api.github.com/users/blkbrds/gists{/gist_id}","starred_url":"https://api.github.com/users/blkbrds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blkbrds/subscriptions","organizations_url":"https://api.github.com/users/blkbrds/orgs","repos_url":"https://api.github.com/users/blkbrds/repos","events_url":"https://api.github.com/users/blkbrds/events{/privacy}","received_events_url":"https://api.github.com/users/blkbrds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blkbrds/intern10-khoanguyen","description":"iOS Intern - Nguyễn Đình Bảo Khoa","fork":false,"url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen","forks_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/forks","keys_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/teams","hooks_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/hooks","issue_events_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/events{/number}","events_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/events","assignees_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/assignees{/user}","branches_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/branches{/branch}","tags_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/tags","blobs_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/refs{/sha}","trees_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/statuses/{sha}","languages_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/languages","stargazers_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/stargazers","contributors_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/contributors","subscribers_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/subscribers","subscription_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/subscription","commits_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/commits{/sha}","git_commits_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/git/commits{/sha}","comments_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/comments{/number}","issue_comment_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/comments{/number}","contents_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/contents/{+path}","compare_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/merges","archive_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/downloads","issues_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues{/number}","pulls_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls{/number}","milestones_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/milestones{/number}","notifications_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/labels{/name}","releases_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/releases{/id}","deployments_url":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/deployments","created_at":"2017-11-22T02:37:46Z","updated_at":"2017-11-29T10:45:31Z","pushed_at":"2017-12-07T14:50:14Z","git_url":"git://github.com/blkbrds/intern10-khoanguyen.git","ssh_url":"git@github.com:blkbrds/intern10-khoanguyen.git","clone_url":"https://github.com/blkbrds/intern10-khoanguyen.git","svn_url":"https://github.com/blkbrds/intern10-khoanguyen","homepage":null,"size":1508,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9"},"html":{"href":"https://github.com/blkbrds/intern10-khoanguyen/pull/9"},"issue":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/9"},"comments":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/blkbrds/intern10-khoanguyen/statuses/2cfe2c4e62d68eabc47a3b869c9c8fc093351c89"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"at-quangphu"}}