{"action":"created","comment":{"url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments/36722606","id":36722606,"diff_hunk":"@@ -21,30 +21,65 @@ @implementation EditListViewController\n - (void)viewDidLoad {\n     [super viewDidLoad];\n     \n+    NSInteger leftMargin = 30;\n+    NSInteger topMargin = 15;\n+    CGRect rect = CGRectMake(leftMargin, topMargin, self.view.frame.size.width - leftMargin, self.view.frame.size.height - 200 - topMargin * 2);\n+    self.view.frame = rect;\n+    \n+    [self.view.layer setCornerRadius:8.5f];\n+    [self.view.layer setMasksToBounds:YES];\n+    [self.view.layer setBorderWidth:1.0f];\n+    self.view.layer.borderColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.5f].CGColor;\n+    \n     self.sortAttributes = [ListManager sortAttributes];\n     self.sortAttributePickerView.dataSource = self;\n     self.sortAttributePickerView.delegate = self;\n     [self.sortAttributePickerView selectRow:[self.sortAttributes indexOfObject:self.list.sortAttributeName] inComponent:0 animated:YES];\n-\n+    \n     self.nameLabel.text = self.list.name;\n     \n     UIBarButtonItem *saveEditedListButton = [[UIBarButtonItem alloc] initWithTitle:@\"Save\" style:UIBarButtonItemStylePlain target:self action:@selector(saveEditingList:)];\n     self.navigationItem.rightBarButtonItem = saveEditedListButton;\n }\n \n-- (void)saveEditingList:(id)sender {\n-    self.list.name = self.nameLabel.text;\n-    self.list.sortAttributeName = self.sortAttributes[[self.sortAttributePickerView selectedRowInComponent:0]];\n-    \n-    NSError *savingError = nil;\n-    \n-    if ([[CoreDataHelper mainManagedObjectContext] save:&savingError]) {\n-        NSLog(@\"Successfully saved the context.\");\n-    } else {\n-        NSLog(@\"Failed to save the context. Error = %@\", savingError);\n+\n+-(void)backPressed: (id)sender\n+{","path":"ScrumTeamOne/EditListViewController.m","position":38,"original_position":38,"commit_id":"c2c5e4af7bc764f3626cf9c24de2ec3e68f77749","original_commit_id":"c2c5e4af7bc764f3626cf9c24de2ec3e68f77749","user":{"login":"true-or-false","id":1131435,"avatar_url":"https://avatars.githubusercontent.com/u/1131435?v=3","gravatar_id":"","url":"https://api.github.com/users/true-or-false","html_url":"https://github.com/true-or-false","followers_url":"https://api.github.com/users/true-or-false/followers","following_url":"https://api.github.com/users/true-or-false/following{/other_user}","gists_url":"https://api.github.com/users/true-or-false/gists{/gist_id}","starred_url":"https://api.github.com/users/true-or-false/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/true-or-false/subscriptions","organizations_url":"https://api.github.com/users/true-or-false/orgs","repos_url":"https://api.github.com/users/true-or-false/repos","events_url":"https://api.github.com/users/true-or-false/events{/privacy}","received_events_url":"https://api.github.com/users/true-or-false/received_events","type":"User","site_admin":false},"body":"move { line up","created_at":"2015-08-11T08:37:46Z","updated_at":"2015-08-11T08:37:46Z","html_url":"https://github.com/Imperialart/ScrumTeamOne/pull/71#discussion_r36722606","pull_request_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments/36722606"},"html":{"href":"https://github.com/Imperialart/ScrumTeamOne/pull/71#discussion_r36722606"},"pull_request":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71","id":42103815,"html_url":"https://github.com/Imperialart/ScrumTeamOne/pull/71","diff_url":"https://github.com/Imperialart/ScrumTeamOne/pull/71.diff","patch_url":"https://github.com/Imperialart/ScrumTeamOne/pull/71.patch","issue_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/71","number":71,"state":"open","locked":false,"title":"Menu search task list edit","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":"- New main menu (lists list)\r\n- New task list \r\n- New adding task UI\r\n- New list editing UI","created_at":"2015-08-11T08:24:30Z","updated_at":"2015-08-11T08:37:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d6a7b638bca3eebb16b4859bd5b17fe882cb48a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71/commits","review_comments_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71/comments","review_comment_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/71/comments","statuses_url":"https://api.github.com/repos/Imperialart/ScrumTeamOne/statuses/c2c5e4af7bc764f3626cf9c24de2ec3e68f77749","head":{"label":"Imperialart:MenuSearchTaskListEdit","ref":"MenuSearchTaskListEdit","sha":"c2c5e4af7bc764f3626cf9c24de2ec3e68f77749","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-07-23T15:09:55Z","pushed_at":"2015-08-11T08:24:30Z","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":1880,"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":11,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"Imperialart:dev","ref":"dev","sha":"c7e6da7083766d9579559b814678968b24a8f0c5","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-07-23T15:09:55Z","pushed_at":"2015-08-11T08:24:30Z","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":1880,"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":11,"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71"},"html":{"href":"https://github.com/Imperialart/ScrumTeamOne/pull/71"},"issue":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/71"},"comments":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/Imperialart/ScrumTeamOne/statuses/c2c5e4af7bc764f3626cf9c24de2ec3e68f77749"}}}}