{"action":"created","comment":{"url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/comments/81389042","pull_request_review_id":2374476,"id":81389042,"diff_hunk":"@@ -7,38 +7,38 @@\n import UIKit\n \n class AnnotationOnScreenViewController: UIViewController {\n-    private let annotationOverContentViewController = OTFullScreenAnnotationViewController()\n+    fileprivate let annotationOverContentViewController = OTFullScreenAnnotationViewController()\n     @IBOutlet weak var holderView: UIView!\n     \n     override func viewDidLoad() {\n         super.viewDidLoad()\n         \n-        self.navigationController?.navigationBar.translucent = false\n-        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: \"Annotate\", style: .Plain, target: self, action: #selector(AnnotationOnScreenViewController.startAnnotation))\n+        self.navigationController?.navigationBar.isTranslucent = false\n+        self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: \"Annotate\", style: .plain, target: self, action: #selector(AnnotationOnScreenViewController.startAnnotation))\n         \n-        let statusButton = UIButton(frame: CGRectMake(0, 0, CGRectGetWidth(UIScreen.mainScreen().bounds), 20))\n-        statusButton.addTarget(self, action: #selector(AnnotationOnScreenViewController.stopAnnotation), forControlEvents: .TouchUpInside)\n+        let statusButton = UIButton(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 20))\n+        statusButton.addTarget(self, action: #selector(AnnotationOnScreenViewController.stopAnnotation), for: .touchUpInside)\n         statusButton.backgroundColor = UIColor(red: 118.0/255.0, green: 206.0/255.0, blue: 31.0/255.0, alpha: 1.0)\n-        statusButton.setTitle(\"You are annotating your screen, Tap here to dismiss\", forState: .Normal)\n-        statusButton.titleLabel!.font = UIFont.systemFontOfSize(12.0)\n-        annotationOverContentViewController.view.addSubview(statusButton)\n+        statusButton.setTitle(\"You are annotating your screen, Tap here to dismiss\", for: UIControlState())","path":"ios/AnnotationAccPackKit/OTAnnotationAccPackKit/AnnotationOnScreenViewController.swift","position":null,"original_position":24,"commit_id":"897119c45973ca83fc9ff2f98b5e087cb7f5b409","original_commit_id":"892a74278135c9cc1ec6354a1247a6f854cdc810","user":{"login":"jvalli","id":4229481,"avatar_url":"https://avatars.githubusercontent.com/u/4229481?v=3","gravatar_id":"","url":"https://api.github.com/users/jvalli","html_url":"https://github.com/jvalli","followers_url":"https://api.github.com/users/jvalli/followers","following_url":"https://api.github.com/users/jvalli/following{/other_user}","gists_url":"https://api.github.com/users/jvalli/gists{/gist_id}","starred_url":"https://api.github.com/users/jvalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvalli/subscriptions","organizations_url":"https://api.github.com/users/jvalli/orgs","repos_url":"https://api.github.com/users/jvalli/repos","events_url":"https://api.github.com/users/jvalli/events{/privacy}","received_events_url":"https://api.github.com/users/jvalli/received_events","type":"User","site_admin":false},"body":"updated","created_at":"2016-09-30T18:07:22Z","updated_at":"2016-09-30T18:07:22Z","html_url":"https://github.com/opentok/annotation-acc-pack/pull/76#discussion_r81389042","pull_request_url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/comments/81389042"},"html":{"href":"https://github.com/opentok/annotation-acc-pack/pull/76#discussion_r81389042"},"pull_request":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76","id":87536776,"html_url":"https://github.com/opentok/annotation-acc-pack/pull/76","diff_url":"https://github.com/opentok/annotation-acc-pack/pull/76.diff","patch_url":"https://github.com/opentok/annotation-acc-pack/pull/76.patch","issue_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/76","number":76,"state":"open","locked":false,"title":"OTS-432: swift 3 migration","user":{"login":"jvalli","id":4229481,"avatar_url":"https://avatars.githubusercontent.com/u/4229481?v=3","gravatar_id":"","url":"https://api.github.com/users/jvalli","html_url":"https://github.com/jvalli","followers_url":"https://api.github.com/users/jvalli/followers","following_url":"https://api.github.com/users/jvalli/following{/other_user}","gists_url":"https://api.github.com/users/jvalli/gists{/gist_id}","starred_url":"https://api.github.com/users/jvalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvalli/subscriptions","organizations_url":"https://api.github.com/users/jvalli/orgs","repos_url":"https://api.github.com/users/jvalli/repos","events_url":"https://api.github.com/users/jvalli/events{/privacy}","received_events_url":"https://api.github.com/users/jvalli/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-30T17:47:30Z","updated_at":"2016-09-30T18:07:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18c30acb40e40fe0407ff15d9f10c08f55ec3b4f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76/commits","review_comments_url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76/comments","review_comment_url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/76/comments","statuses_url":"https://api.github.com/repos/opentok/annotation-acc-pack/statuses/897119c45973ca83fc9ff2f98b5e087cb7f5b409","head":{"label":"opentok:OTS-432","ref":"OTS-432","sha":"897119c45973ca83fc9ff2f98b5e087cb7f5b409","user":{"login":"opentok","id":759567,"avatar_url":"https://avatars.githubusercontent.com/u/759567?v=3","gravatar_id":"","url":"https://api.github.com/users/opentok","html_url":"https://github.com/opentok","followers_url":"https://api.github.com/users/opentok/followers","following_url":"https://api.github.com/users/opentok/following{/other_user}","gists_url":"https://api.github.com/users/opentok/gists{/gist_id}","starred_url":"https://api.github.com/users/opentok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentok/subscriptions","organizations_url":"https://api.github.com/users/opentok/orgs","repos_url":"https://api.github.com/users/opentok/repos","events_url":"https://api.github.com/users/opentok/events{/privacy}","received_events_url":"https://api.github.com/users/opentok/received_events","type":"Organization","site_admin":false},"repo":{"id":61138454,"name":"annotation-acc-pack","full_name":"opentok/annotation-acc-pack","owner":{"login":"opentok","id":759567,"avatar_url":"https://avatars.githubusercontent.com/u/759567?v=3","gravatar_id":"","url":"https://api.github.com/users/opentok","html_url":"https://github.com/opentok","followers_url":"https://api.github.com/users/opentok/followers","following_url":"https://api.github.com/users/opentok/following{/other_user}","gists_url":"https://api.github.com/users/opentok/gists{/gist_id}","starred_url":"https://api.github.com/users/opentok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentok/subscriptions","organizations_url":"https://api.github.com/users/opentok/orgs","repos_url":"https://api.github.com/users/opentok/repos","events_url":"https://api.github.com/users/opentok/events{/privacy}","received_events_url":"https://api.github.com/users/opentok/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opentok/annotation-acc-pack","description":"OpenTok Annotations Accelerator Pack enables users to annotate their screens","fork":false,"url":"https://api.github.com/repos/opentok/annotation-acc-pack","forks_url":"https://api.github.com/repos/opentok/annotation-acc-pack/forks","keys_url":"https://api.github.com/repos/opentok/annotation-acc-pack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opentok/annotation-acc-pack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opentok/annotation-acc-pack/teams","hooks_url":"https://api.github.com/repos/opentok/annotation-acc-pack/hooks","issue_events_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/events{/number}","events_url":"https://api.github.com/repos/opentok/annotation-acc-pack/events","assignees_url":"https://api.github.com/repos/opentok/annotation-acc-pack/assignees{/user}","branches_url":"https://api.github.com/repos/opentok/annotation-acc-pack/branches{/branch}","tags_url":"https://api.github.com/repos/opentok/annotation-acc-pack/tags","blobs_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/refs{/sha}","trees_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opentok/annotation-acc-pack/statuses/{sha}","languages_url":"https://api.github.com/repos/opentok/annotation-acc-pack/languages","stargazers_url":"https://api.github.com/repos/opentok/annotation-acc-pack/stargazers","contributors_url":"https://api.github.com/repos/opentok/annotation-acc-pack/contributors","subscribers_url":"https://api.github.com/repos/opentok/annotation-acc-pack/subscribers","subscription_url":"https://api.github.com/repos/opentok/annotation-acc-pack/subscription","commits_url":"https://api.github.com/repos/opentok/annotation-acc-pack/commits{/sha}","git_commits_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/commits{/sha}","comments_url":"https://api.github.com/repos/opentok/annotation-acc-pack/comments{/number}","issue_comment_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/comments{/number}","contents_url":"https://api.github.com/repos/opentok/annotation-acc-pack/contents/{+path}","compare_url":"https://api.github.com/repos/opentok/annotation-acc-pack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opentok/annotation-acc-pack/merges","archive_url":"https://api.github.com/repos/opentok/annotation-acc-pack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opentok/annotation-acc-pack/downloads","issues_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues{/number}","pulls_url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls{/number}","milestones_url":"https://api.github.com/repos/opentok/annotation-acc-pack/milestones{/number}","notifications_url":"https://api.github.com/repos/opentok/annotation-acc-pack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opentok/annotation-acc-pack/labels{/name}","releases_url":"https://api.github.com/repos/opentok/annotation-acc-pack/releases{/id}","deployments_url":"https://api.github.com/repos/opentok/annotation-acc-pack/deployments","created_at":"2016-06-14T16:27:59Z","updated_at":"2016-09-13T06:06:35Z","pushed_at":"2016-09-30T18:07:08Z","git_url":"git://github.com/opentok/annotation-acc-pack.git","ssh_url":"git@github.com:opentok/annotation-acc-pack.git","clone_url":"https://github.com/opentok/annotation-acc-pack.git","svn_url":"https://github.com/opentok/annotation-acc-pack","homepage":"https://www.tokbox.com","size":1326,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"opentok:develop","ref":"develop","sha":"d3ae7fa3d93dbe775ddcbf587654b4242489173f","user":{"login":"opentok","id":759567,"avatar_url":"https://avatars.githubusercontent.com/u/759567?v=3","gravatar_id":"","url":"https://api.github.com/users/opentok","html_url":"https://github.com/opentok","followers_url":"https://api.github.com/users/opentok/followers","following_url":"https://api.github.com/users/opentok/following{/other_user}","gists_url":"https://api.github.com/users/opentok/gists{/gist_id}","starred_url":"https://api.github.com/users/opentok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentok/subscriptions","organizations_url":"https://api.github.com/users/opentok/orgs","repos_url":"https://api.github.com/users/opentok/repos","events_url":"https://api.github.com/users/opentok/events{/privacy}","received_events_url":"https://api.github.com/users/opentok/received_events","type":"Organization","site_admin":false},"repo":{"id":61138454,"name":"annotation-acc-pack","full_name":"opentok/annotation-acc-pack","owner":{"login":"opentok","id":759567,"avatar_url":"https://avatars.githubusercontent.com/u/759567?v=3","gravatar_id":"","url":"https://api.github.com/users/opentok","html_url":"https://github.com/opentok","followers_url":"https://api.github.com/users/opentok/followers","following_url":"https://api.github.com/users/opentok/following{/other_user}","gists_url":"https://api.github.com/users/opentok/gists{/gist_id}","starred_url":"https://api.github.com/users/opentok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opentok/subscriptions","organizations_url":"https://api.github.com/users/opentok/orgs","repos_url":"https://api.github.com/users/opentok/repos","events_url":"https://api.github.com/users/opentok/events{/privacy}","received_events_url":"https://api.github.com/users/opentok/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opentok/annotation-acc-pack","description":"OpenTok Annotations Accelerator Pack enables users to annotate their screens","fork":false,"url":"https://api.github.com/repos/opentok/annotation-acc-pack","forks_url":"https://api.github.com/repos/opentok/annotation-acc-pack/forks","keys_url":"https://api.github.com/repos/opentok/annotation-acc-pack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opentok/annotation-acc-pack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opentok/annotation-acc-pack/teams","hooks_url":"https://api.github.com/repos/opentok/annotation-acc-pack/hooks","issue_events_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/events{/number}","events_url":"https://api.github.com/repos/opentok/annotation-acc-pack/events","assignees_url":"https://api.github.com/repos/opentok/annotation-acc-pack/assignees{/user}","branches_url":"https://api.github.com/repos/opentok/annotation-acc-pack/branches{/branch}","tags_url":"https://api.github.com/repos/opentok/annotation-acc-pack/tags","blobs_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/refs{/sha}","trees_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opentok/annotation-acc-pack/statuses/{sha}","languages_url":"https://api.github.com/repos/opentok/annotation-acc-pack/languages","stargazers_url":"https://api.github.com/repos/opentok/annotation-acc-pack/stargazers","contributors_url":"https://api.github.com/repos/opentok/annotation-acc-pack/contributors","subscribers_url":"https://api.github.com/repos/opentok/annotation-acc-pack/subscribers","subscription_url":"https://api.github.com/repos/opentok/annotation-acc-pack/subscription","commits_url":"https://api.github.com/repos/opentok/annotation-acc-pack/commits{/sha}","git_commits_url":"https://api.github.com/repos/opentok/annotation-acc-pack/git/commits{/sha}","comments_url":"https://api.github.com/repos/opentok/annotation-acc-pack/comments{/number}","issue_comment_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/comments{/number}","contents_url":"https://api.github.com/repos/opentok/annotation-acc-pack/contents/{+path}","compare_url":"https://api.github.com/repos/opentok/annotation-acc-pack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opentok/annotation-acc-pack/merges","archive_url":"https://api.github.com/repos/opentok/annotation-acc-pack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opentok/annotation-acc-pack/downloads","issues_url":"https://api.github.com/repos/opentok/annotation-acc-pack/issues{/number}","pulls_url":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls{/number}","milestones_url":"https://api.github.com/repos/opentok/annotation-acc-pack/milestones{/number}","notifications_url":"https://api.github.com/repos/opentok/annotation-acc-pack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opentok/annotation-acc-pack/labels{/name}","releases_url":"https://api.github.com/repos/opentok/annotation-acc-pack/releases{/id}","deployments_url":"https://api.github.com/repos/opentok/annotation-acc-pack/deployments","created_at":"2016-06-14T16:27:59Z","updated_at":"2016-09-13T06:06:35Z","pushed_at":"2016-09-30T18:07:08Z","git_url":"git://github.com/opentok/annotation-acc-pack.git","ssh_url":"git@github.com:opentok/annotation-acc-pack.git","clone_url":"https://github.com/opentok/annotation-acc-pack.git","svn_url":"https://github.com/opentok/annotation-acc-pack","homepage":"https://www.tokbox.com","size":1326,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76"},"html":{"href":"https://github.com/opentok/annotation-acc-pack/pull/76"},"issue":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/76"},"comments":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/opentok/annotation-acc-pack/statuses/897119c45973ca83fc9ff2f98b5e087cb7f5b409"}}}}
{"actor":{"display_login":"jvalli"}}