{"action":"created","comment":{"url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/comments/181430032","pull_request_review_id":112062380,"id":181430032,"diff_hunk":"@@ -15,12 +15,53 @@ class PlayerMainPageTBVC: UITabBarController, UITabBarControllerDelegate {\n         UITabBar.animate(withDuration: 0.5, animations: {\n             self.view.layoutIfNeeded()\n         })\n-        \n         self.selectedIndex = 3\n         self.delegate = self\n-\n+        let longPress : UILongPressGestureRecognizer = UILongPressGestureRecognizer(target: self, action: #selector(handleLongPress))\n+        longPress.minimumPressDuration = 0.05\n+        self.tabBar.addGestureRecognizer(longPress)\n+        \n         // Do any additional setup after loading the view.\n     }\n+    @objc func handleLongPress(sender : UILongPressGestureRecognizer){\n+        if sender.state == UIGestureRecognizerState.began {\n+            if let tabBar = sender.view as? UITabBar {\n+                print(tabBar.selectedItem)\n+                print(sender.location(in: tabBar))\n+                let xcase = sender.location(in: tabBar).x\n+                let width : CGFloat = screenWidth/4\n+                \n+                if xcase < width {\n+                    self.selectedIndex = 0\n+                    //let viewController = UIStoryboard(name: \"Main\", bundle: nil).instantiateViewController(withIdentifier: \"MediaVC\")","path":"fahad/etbaroon/v1/imob/ios/Etbaroon/Views/PlayerViews/PlayerMainPageTBVC.swift","position":24,"original_position":24,"commit_id":"c72311045c91162f08b7a1565f10e02633cf9218","original_commit_id":"c72311045c91162f08b7a1565f10e02633cf9218","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line Length Violation: Line should be 120 characters or less: currently 135 characters (line_length)","created_at":"2018-04-13T15:44:12Z","updated_at":"2018-04-13T15:44:13Z","html_url":"https://github.com/IAS-SYSTEMS-CSC/spring/pull/1408#discussion_r181430032","pull_request_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/comments/181430032"},"html":{"href":"https://github.com/IAS-SYSTEMS-CSC/spring/pull/1408#discussion_r181430032"},"pull_request":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408"}}},"pull_request":{"url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408","id":181526231,"html_url":"https://github.com/IAS-SYSTEMS-CSC/spring/pull/1408","diff_url":"https://github.com/IAS-SYSTEMS-CSC/spring/pull/1408.diff","patch_url":"https://github.com/IAS-SYSTEMS-CSC/spring/pull/1408.patch","issue_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/1408","number":1408,"state":"open","locked":false,"title":"Tl1revbranch > php1branch","user":{"login":"hythamsoliman81","id":32697197,"avatar_url":"https://avatars0.githubusercontent.com/u/32697197?v=4","gravatar_id":"","url":"https://api.github.com/users/hythamsoliman81","html_url":"https://github.com/hythamsoliman81","followers_url":"https://api.github.com/users/hythamsoliman81/followers","following_url":"https://api.github.com/users/hythamsoliman81/following{/other_user}","gists_url":"https://api.github.com/users/hythamsoliman81/gists{/gist_id}","starred_url":"https://api.github.com/users/hythamsoliman81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hythamsoliman81/subscriptions","organizations_url":"https://api.github.com/users/hythamsoliman81/orgs","repos_url":"https://api.github.com/users/hythamsoliman81/repos","events_url":"https://api.github.com/users/hythamsoliman81/events{/privacy}","received_events_url":"https://api.github.com/users/hythamsoliman81/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-13T15:43:56Z","updated_at":"2018-04-13T15:44:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48dc1fb9e8a398f5a66478f3a4c62e39d020df48","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408/commits","review_comments_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408/comments","review_comment_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/1408/comments","statuses_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/statuses/c72311045c91162f08b7a1565f10e02633cf9218","head":{"label":"IAS-SYSTEMS-CSC:tl1revbranch","ref":"tl1revbranch","sha":"c72311045c91162f08b7a1565f10e02633cf9218","user":{"login":"IAS-SYSTEMS-CSC","id":34696817,"avatar_url":"https://avatars3.githubusercontent.com/u/34696817?v=4","gravatar_id":"","url":"https://api.github.com/users/IAS-SYSTEMS-CSC","html_url":"https://github.com/IAS-SYSTEMS-CSC","followers_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/followers","following_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/following{/other_user}","gists_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/gists{/gist_id}","starred_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/subscriptions","organizations_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/orgs","repos_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/repos","events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/events{/privacy}","received_events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/received_events","type":"Organization","site_admin":false},"repo":{"id":115261553,"name":"spring","full_name":"IAS-SYSTEMS-CSC/spring","owner":{"login":"IAS-SYSTEMS-CSC","id":34696817,"avatar_url":"https://avatars3.githubusercontent.com/u/34696817?v=4","gravatar_id":"","url":"https://api.github.com/users/IAS-SYSTEMS-CSC","html_url":"https://github.com/IAS-SYSTEMS-CSC","followers_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/followers","following_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/following{/other_user}","gists_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/gists{/gist_id}","starred_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/subscriptions","organizations_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/orgs","repos_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/repos","events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/events{/privacy}","received_events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IAS-SYSTEMS-CSC/spring","description":"entire ias-systems work!","fork":false,"url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring","forks_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/forks","keys_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/teams","hooks_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/hooks","issue_events_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/events{/number}","events_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/events","assignees_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/assignees{/user}","branches_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/branches{/branch}","tags_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/tags","blobs_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/statuses/{sha}","languages_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/languages","stargazers_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/stargazers","contributors_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/contributors","subscribers_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/subscribers","subscription_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/subscription","commits_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/contents/{+path}","compare_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/merges","archive_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/downloads","issues_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues{/number}","pulls_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls{/number}","milestones_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/milestones{/number}","notifications_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/labels{/name}","releases_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/releases{/id}","deployments_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/deployments","created_at":"2017-12-24T12:30:17Z","updated_at":"2018-03-28T08:36:21Z","pushed_at":"2018-04-13T15:43:56Z","git_url":"git://github.com/IAS-SYSTEMS-CSC/spring.git","ssh_url":"git@github.com:IAS-SYSTEMS-CSC/spring.git","clone_url":"https://github.com/IAS-SYSTEMS-CSC/spring.git","svn_url":"https://github.com/IAS-SYSTEMS-CSC/spring","homepage":null,"size":425056,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"IAS-SYSTEMS-CSC:php1branch","ref":"php1branch","sha":"8f06fbc3301d3f89934039834650b131508ea5f4","user":{"login":"IAS-SYSTEMS-CSC","id":34696817,"avatar_url":"https://avatars3.githubusercontent.com/u/34696817?v=4","gravatar_id":"","url":"https://api.github.com/users/IAS-SYSTEMS-CSC","html_url":"https://github.com/IAS-SYSTEMS-CSC","followers_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/followers","following_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/following{/other_user}","gists_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/gists{/gist_id}","starred_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/subscriptions","organizations_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/orgs","repos_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/repos","events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/events{/privacy}","received_events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/received_events","type":"Organization","site_admin":false},"repo":{"id":115261553,"name":"spring","full_name":"IAS-SYSTEMS-CSC/spring","owner":{"login":"IAS-SYSTEMS-CSC","id":34696817,"avatar_url":"https://avatars3.githubusercontent.com/u/34696817?v=4","gravatar_id":"","url":"https://api.github.com/users/IAS-SYSTEMS-CSC","html_url":"https://github.com/IAS-SYSTEMS-CSC","followers_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/followers","following_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/following{/other_user}","gists_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/gists{/gist_id}","starred_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/subscriptions","organizations_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/orgs","repos_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/repos","events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/events{/privacy}","received_events_url":"https://api.github.com/users/IAS-SYSTEMS-CSC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IAS-SYSTEMS-CSC/spring","description":"entire ias-systems work!","fork":false,"url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring","forks_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/forks","keys_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/teams","hooks_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/hooks","issue_events_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/events{/number}","events_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/events","assignees_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/assignees{/user}","branches_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/branches{/branch}","tags_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/tags","blobs_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/refs{/sha}","trees_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/statuses/{sha}","languages_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/languages","stargazers_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/stargazers","contributors_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/contributors","subscribers_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/subscribers","subscription_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/subscription","commits_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/commits{/sha}","git_commits_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/git/commits{/sha}","comments_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/comments{/number}","issue_comment_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/comments{/number}","contents_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/contents/{+path}","compare_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/merges","archive_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/downloads","issues_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues{/number}","pulls_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls{/number}","milestones_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/milestones{/number}","notifications_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/labels{/name}","releases_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/releases{/id}","deployments_url":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/deployments","created_at":"2017-12-24T12:30:17Z","updated_at":"2018-03-28T08:36:21Z","pushed_at":"2018-04-13T15:43:56Z","git_url":"git://github.com/IAS-SYSTEMS-CSC/spring.git","ssh_url":"git@github.com:IAS-SYSTEMS-CSC/spring.git","clone_url":"https://github.com/IAS-SYSTEMS-CSC/spring.git","svn_url":"https://github.com/IAS-SYSTEMS-CSC/spring","homepage":null,"size":425056,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408"},"html":{"href":"https://github.com/IAS-SYSTEMS-CSC/spring/pull/1408"},"issue":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/1408"},"comments":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/issues/1408/comments"},"review_comments":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408/comments"},"review_comment":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/pulls/1408/commits"},"statuses":{"href":"https://api.github.com/repos/IAS-SYSTEMS-CSC/spring/statuses/c72311045c91162f08b7a1565f10e02633cf9218"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"houndci-bot"}}