{"action":"created","comment":{"url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments/37393699","id":37393699,"diff_hunk":"@@ -347,19 +379,39 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath\n     [self setCellChecked:YES tableView:tableView indexPath:indexPath];\n     \n     if (!self.isEditing) {\n-        TaskDetailViewController *taskDetailViewController = [[TaskDetailViewController alloc] initWithNibName:@\"TaskDetailViewController\" bundle:nil];\n-        taskDetailViewController.currentTask = [self.fetchResultController objectAtIndexPath:indexPath];\n+        self.taskDetailController = [[TaskDetailViewController alloc] initWithNibName:@\"TaskDetailViewController\" bundle:nil];\n+        self.taskDetailController.currentTask = [self.fetchResultController objectAtIndexPath:indexPath];\n+        [self.view addSubview:self.taskDetailController.view];\n+        [self addChildViewController:self.taskDetailController];\n+        \n+        [self.view bringSubviewToFront:self.taskDetailController.view];\n+    \n+        NSInteger xMargin = 60;\n+        NSInteger yMargin = 30;\n+        \n+        self.taskDetailController.view.frame = CGRectMake(self.view.frame.size.width,\n+                                                       30,\n+                                                       self.view.frame.size.width - xMargin,\n+                                                       self.view.frame.size.height - yMargin - [self bottomOffset:[[UIApplication sharedApplication] statusBarOrientation] multiplier:@0.15]);\n+        \n+        [UIView animateWithDuration:0.25 delay:0 options:UIViewAnimationOptionBeginFromCurrentState\n+                         animations:^{\n+                             self.taskDetailController.view.frame = CGRectMake(xMargin, yMargin, self.taskDetailController.view.frame.size.width, self.taskDetailController.view.frame.size.height);\n+                         }\n+                         completion:^(BOOL finished) {\n+                         }];\n+\n+        [self.view insertSubview:self.backgroundView belowSubview:self.taskDetailController.view];\n         \n-        [Animator addAnimationFromRightSideToView:taskDetailViewController.view];\n         \n-        taskDetailViewController.view.layer.cornerRadius = 5.0;\n-        [taskDetailViewController.view.layer setShadowOffset:CGSizeMake(0, 0)];\n-        [taskDetailViewController.view.layer setShadowColor:[[UIColor blackColor] CGColor]];\n-        [taskDetailViewController.view.layer setShadowOpacity:0.5];\n+//        [Animator addAnimationFromRightSideToView:self.taskDetailController.view];\n+//        \n+        self.taskDetailController.view.layer.cornerRadius = 5.0;\n+        [self.taskDetailController.view.layer setShadowOffset:CGSizeMake(0, 0)];\n+        [self.taskDetailController.view.layer setShadowColor:[[UIColor blackColor] CGColor]];\n+        [self.taskDetailController.view.layer setShadowOpacity:0.5];\n         \n-        [self addChildViewController:taskDetailViewController];\n-        [self.view addSubview:taskDetailViewController.view];\n-        [self.view insertSubview:self.backgroundView belowSubview:taskDetailViewController.view];\n+       ","path":"ScrumTeamOne/TasksAssignedToListViewController.m","position":110,"original_position":110,"commit_id":"f3ba2d0c4ac9083c4a0b2072235be56cf76e0c72","original_commit_id":"f3ba2d0c4ac9083c4a0b2072235be56cf76e0c72","user":{"login":"ljercha","id":9252363,"avatar_url":"https://avatars.githubusercontent.com/u/9252363?v=3","gravatar_id":"","url":"https://api.github.com/users/ljercha","html_url":"https://github.com/ljercha","followers_url":"https://api.github.com/users/ljercha/followers","following_url":"https://api.github.com/users/ljercha/following{/other_user}","gists_url":"https://api.github.com/users/ljercha/gists{/gist_id}","starred_url":"https://api.github.com/users/ljercha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljercha/subscriptions","organizations_url":"https://api.github.com/users/ljercha/orgs","repos_url":"https://api.github.com/users/ljercha/repos","events_url":"https://api.github.com/users/ljercha/events{/privacy}","received_events_url":"https://api.github.com/users/ljercha/received_events","type":"User","site_admin":false},"body":"Remove empty line.","created_at":"2015-08-19T09:04:50Z","updated_at":"2015-08-19T09:04:50Z","html_url":"https://github.com/Imperialart/ScrumTeamOne/pull/119#discussion_r37393699","pull_request_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments/37393699"},"html":{"href":"https://github.com/Imperialart/ScrumTeamOne/pull/119#discussion_r37393699"},"pull_request":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119","id":42789983,"html_url":"https://github.com/Imperialart/ScrumTeamOne/pull/119","diff_url":"https://github.com/Imperialart/ScrumTeamOne/pull/119.diff","patch_url":"https://github.com/Imperialart/ScrumTeamOne/pull/119.patch","issue_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/119","number":119,"state":"open","locked":false,"title":"Tasks view autolayout","user":{"login":"Imperialart","id":11672384,"avatar_url":"https://avatars.githubusercontent.com/u/11672384?v=3","gravatar_id":"","url":"https://api.github.com/users/Imperialart","html_url":"https://github.com/Imperialart","followers_url":"https://api.github.com/users/Imperialart/followers","following_url":"https://api.github.com/users/Imperialart/following{/other_user}","gists_url":"https://api.github.com/users/Imperialart/gists{/gist_id}","starred_url":"https://api.github.com/users/Imperialart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Imperialart/subscriptions","organizations_url":"https://api.github.com/users/Imperialart/orgs","repos_url":"https://api.github.com/users/Imperialart/repos","events_url":"https://api.github.com/users/Imperialart/events{/privacy}","received_events_url":"https://api.github.com/users/Imperialart/received_events","type":"User","site_admin":false},"body":"Redesigned the task detail view controller, added autolayout","created_at":"2015-08-19T08:45:52Z","updated_at":"2015-08-19T09:04:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2314d7f991703e2266355df6fe7a89823aa4d91e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119/commits","review_comments_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119/comments","review_comment_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/119/comments","statuses_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/statuses/f3ba2d0c4ac9083c4a0b2072235be56cf76e0c72","head":{"label":"Imperialart:TasksViewAutolayout","ref":"TasksViewAutolayout","sha":"f3ba2d0c4ac9083c4a0b2072235be56cf76e0c72","user":{"login":"Imperialart","id":11672384,"avatar_url":"https://avatars.githubusercontent.com/u/11672384?v=3","gravatar_id":"","url":"https://api.github.com/users/Imperialart","html_url":"https://github.com/Imperialart","followers_url":"https://api.github.com/users/Imperialart/followers","following_url":"https://api.github.com/users/Imperialart/following{/other_user}","gists_url":"https://api.github.com/users/Imperialart/gists{/gist_id}","starred_url":"https://api.github.com/users/Imperialart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Imperialart/subscriptions","organizations_url":"https://api.github.com/users/Imperialart/orgs","repos_url":"https://api.github.com/users/Imperialart/repos","events_url":"https://api.github.com/users/Imperialart/events{/privacy}","received_events_url":"https://api.github.com/users/Imperialart/received_events","type":"User","site_admin":false},"repo":{"id":39559766,"name":"ScrumTeamOne","full_name":"Imperialart/ScrumTeamOne","owner":{"login":"Imperialart","id":11672384,"avatar_url":"https://avatars.githubusercontent.com/u/11672384?v=3","gravatar_id":"","url":"https://api.github.com/users/Imperialart","html_url":"https://github.com/Imperialart","followers_url":"https://api.github.com/users/Imperialart/followers","following_url":"https://api.github.com/users/Imperialart/following{/other_user}","gists_url":"https://api.github.com/users/Imperialart/gists{/gist_id}","starred_url":"https://api.github.com/users/Imperialart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Imperialart/subscriptions","organizations_url":"https://api.github.com/users/Imperialart/orgs","repos_url":"https://api.github.com/users/Imperialart/repos","events_url":"https://api.github.com/users/Imperialart/events{/privacy}","received_events_url":"https://api.github.com/users/Imperialart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Imperialart/ScrumTeamOne","description":"","fork":false,"url":"https://api.github.com/repos/Imperialart/ScrumTeamOne","forks_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/forks","keys_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/teams","hooks_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/hooks","issue_events_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/events{/number}","events_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/events","assignees_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/assignees{/user}","branches_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/branches{/branch}","tags_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/tags","blobs_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/refs{/sha}","trees_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/statuses/{sha}","languages_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/languages","stargazers_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/stargazers","contributors_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/contributors","subscribers_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/subscribers","subscription_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/subscription","commits_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/commits{/sha}","git_commits_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/commits{/sha}","comments_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/comments{/number}","issue_comment_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/comments{/number}","contents_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/contents/{+path}","compare_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/merges","archive_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/downloads","issues_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues{/number}","pulls_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls{/number}","milestones_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/milestones{/number}","notifications_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/labels{/name}","releases_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/releases{/id}","created_at":"2015-07-23T09:59:00Z","updated_at":"2015-08-17T09:01:28Z","pushed_at":"2015-08-19T08:45:53Z","git_url":"git://github.com/Imperialart/ScrumTeamOne.git","ssh_url":"git@github.com:Imperialart/ScrumTeamOne.git","clone_url":"https://github.com/Imperialart/ScrumTeamOne.git","svn_url":"https://github.com/Imperialart/ScrumTeamOne","homepage":null,"size":2344,"stargazers_count":2,"watchers_count":2,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"Imperialart:dev","ref":"dev","sha":"bec228547704d8a974dea9b122f9583d287d8e56","user":{"login":"Imperialart","id":11672384,"avatar_url":"https://avatars.githubusercontent.com/u/11672384?v=3","gravatar_id":"","url":"https://api.github.com/users/Imperialart","html_url":"https://github.com/Imperialart","followers_url":"https://api.github.com/users/Imperialart/followers","following_url":"https://api.github.com/users/Imperialart/following{/other_user}","gists_url":"https://api.github.com/users/Imperialart/gists{/gist_id}","starred_url":"https://api.github.com/users/Imperialart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Imperialart/subscriptions","organizations_url":"https://api.github.com/users/Imperialart/orgs","repos_url":"https://api.github.com/users/Imperialart/repos","events_url":"https://api.github.com/users/Imperialart/events{/privacy}","received_events_url":"https://api.github.com/users/Imperialart/received_events","type":"User","site_admin":false},"repo":{"id":39559766,"name":"ScrumTeamOne","full_name":"Imperialart/ScrumTeamOne","owner":{"login":"Imperialart","id":11672384,"avatar_url":"https://avatars.githubusercontent.com/u/11672384?v=3","gravatar_id":"","url":"https://api.github.com/users/Imperialart","html_url":"https://github.com/Imperialart","followers_url":"https://api.github.com/users/Imperialart/followers","following_url":"https://api.github.com/users/Imperialart/following{/other_user}","gists_url":"https://api.github.com/users/Imperialart/gists{/gist_id}","starred_url":"https://api.github.com/users/Imperialart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Imperialart/subscriptions","organizations_url":"https://api.github.com/users/Imperialart/orgs","repos_url":"https://api.github.com/users/Imperialart/repos","events_url":"https://api.github.com/users/Imperialart/events{/privacy}","received_events_url":"https://api.github.com/users/Imperialart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Imperialart/ScrumTeamOne","description":"","fork":false,"url":"https://api.github.com/repos/Imperialart/ScrumTeamOne","forks_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/forks","keys_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/teams","hooks_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/hooks","issue_events_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/events{/number}","events_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/events","assignees_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/assignees{/user}","branches_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/branches{/branch}","tags_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/tags","blobs_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/refs{/sha}","trees_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/statuses/{sha}","languages_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/languages","stargazers_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/stargazers","contributors_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/contributors","subscribers_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/subscribers","subscription_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/subscription","commits_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/commits{/sha}","git_commits_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/git/commits{/sha}","comments_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/comments{/number}","issue_comment_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/comments{/number}","contents_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/contents/{+path}","compare_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/merges","archive_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/downloads","issues_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues{/number}","pulls_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls{/number}","milestones_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/milestones{/number}","notifications_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/labels{/name}","releases_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/releases{/id}","created_at":"2015-07-23T09:59:00Z","updated_at":"2015-08-17T09:01:28Z","pushed_at":"2015-08-19T08:45:53Z","git_url":"git://github.com/Imperialart/ScrumTeamOne.git","ssh_url":"git@github.com:Imperialart/ScrumTeamOne.git","clone_url":"https://github.com/Imperialart/ScrumTeamOne.git","svn_url":"https://github.com/Imperialart/ScrumTeamOne","homepage":null,"size":2344,"stargazers_count":2,"watchers_count":2,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119"},"html":{"href":"https://github.com/Imperialart/ScrumTeamOne/pull/119"},"issue":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/119"},"comments":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/statuses/f3ba2d0c4ac9083c4a0b2072235be56cf76e0c72"}}}}