{"action":"created","comment":{"url":"https://api.github.com/repos/grantjbutler/Cork/pulls/comments/28652399","id":28652399,"diff_hunk":"@@ -0,0 +1,24 @@\n+//\n+//  CRK.m\n+//  Cork\n+//\n+//  Created by MichaelSelsky on 4/19/15.\n+//  Copyright (c) 2015 Grant Butler. All rights reserved.\n+//\n+\n+#import \"CRKFloatLabeledTextField.h\"\n+\n+@implementation CRKFloatLabeledTextField\n+\n+\n+// Only override drawRect: if you perform custom drawing.\n+// An empty implementation adversely affects performance during animation.\n+- (void)drawRect:(CGRect)rect {\n+    CALayer *upperBorder = [CALayer layer];\n+    upperBorder.backgroundColor = [[UIColor groupTableViewBackgroundColor] CGColor];\n+    upperBorder.frame = CGRectMake(0, 0, CGRectGetWidth(self.frame), 1.0f);\n+    [self.layer addSublayer:upperBorder];","path":"Cork/CRKFloatLabeledTextField.m","position":20,"original_position":20,"commit_id":"ac11c5cb776ee476f04317ff6b850ddcea396292","original_commit_id":"ac11c5cb776ee476f04317ff6b850ddcea396292","user":{"login":"grantjbutler","id":526054,"avatar_url":"https://avatars.githubusercontent.com/u/526054?v=3","gravatar_id":"","url":"https://api.github.com/users/grantjbutler","html_url":"https://github.com/grantjbutler","followers_url":"https://api.github.com/users/grantjbutler/followers","following_url":"https://api.github.com/users/grantjbutler/following{/other_user}","gists_url":"https://api.github.com/users/grantjbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/grantjbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantjbutler/subscriptions","organizations_url":"https://api.github.com/users/grantjbutler/orgs","repos_url":"https://api.github.com/users/grantjbutler/repos","events_url":"https://api.github.com/users/grantjbutler/events{/privacy}","received_events_url":"https://api.github.com/users/grantjbutler/received_events","type":"User","site_admin":false},"body":"Move all of this code to an initializer instead. Otherwise, every time we draw, another layer is getting added to the layer hierarchy.","created_at":"2015-04-19T12:30:46Z","updated_at":"2015-04-19T12:30:46Z","html_url":"https://github.com/grantjbutler/Cork/pull/25#discussion_r28652399","pull_request_url":"https://api.github.com/repos/grantjbutler/Cork/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/grantjbutler/Cork/pulls/comments/28652399"},"html":{"href":"https://github.com/grantjbutler/Cork/pull/25#discussion_r28652399"},"pull_request":{"href":"https://api.github.com/repos/grantjbutler/Cork/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/grantjbutler/Cork/pulls/25","id":33617888,"html_url":"https://github.com/grantjbutler/Cork/pull/25","diff_url":"https://github.com/grantjbutler/Cork/pull/25.diff","patch_url":"https://github.com/grantjbutler/Cork/pull/25.patch","issue_url":"https://api.github.com/repos/grantjbutler/Cork/issues/25","number":25,"state":"open","locked":false,"title":"Ui tweaks","user":{"login":"MichaelSelsky","id":2782700,"avatar_url":"https://avatars.githubusercontent.com/u/2782700?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelSelsky","html_url":"https://github.com/MichaelSelsky","followers_url":"https://api.github.com/users/MichaelSelsky/followers","following_url":"https://api.github.com/users/MichaelSelsky/following{/other_user}","gists_url":"https://api.github.com/users/MichaelSelsky/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelSelsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelSelsky/subscriptions","organizations_url":"https://api.github.com/users/MichaelSelsky/orgs","repos_url":"https://api.github.com/users/MichaelSelsky/repos","events_url":"https://api.github.com/users/MichaelSelsky/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelSelsky/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-19T12:11:41Z","updated_at":"2015-04-19T12:30:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4df3b0fad12c79503c7bca45dc3049af4d4bc19a","assignee":{"login":"grantjbutler","id":526054,"avatar_url":"https://avatars.githubusercontent.com/u/526054?v=3","gravatar_id":"","url":"https://api.github.com/users/grantjbutler","html_url":"https://github.com/grantjbutler","followers_url":"https://api.github.com/users/grantjbutler/followers","following_url":"https://api.github.com/users/grantjbutler/following{/other_user}","gists_url":"https://api.github.com/users/grantjbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/grantjbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantjbutler/subscriptions","organizations_url":"https://api.github.com/users/grantjbutler/orgs","repos_url":"https://api.github.com/users/grantjbutler/repos","events_url":"https://api.github.com/users/grantjbutler/events{/privacy}","received_events_url":"https://api.github.com/users/grantjbutler/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/grantjbutler/Cork/pulls/25/commits","review_comments_url":"https://api.github.com/repos/grantjbutler/Cork/pulls/25/comments","review_comment_url":"https://api.github.com/repos/grantjbutler/Cork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grantjbutler/Cork/issues/25/comments","statuses_url":"https://api.github.com/repos/grantjbutler/Cork/statuses/ac11c5cb776ee476f04317ff6b850ddcea396292","head":{"label":"grantjbutler:UITweaks","ref":"UITweaks","sha":"ac11c5cb776ee476f04317ff6b850ddcea396292","user":{"login":"grantjbutler","id":526054,"avatar_url":"https://avatars.githubusercontent.com/u/526054?v=3","gravatar_id":"","url":"https://api.github.com/users/grantjbutler","html_url":"https://github.com/grantjbutler","followers_url":"https://api.github.com/users/grantjbutler/followers","following_url":"https://api.github.com/users/grantjbutler/following{/other_user}","gists_url":"https://api.github.com/users/grantjbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/grantjbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantjbutler/subscriptions","organizations_url":"https://api.github.com/users/grantjbutler/orgs","repos_url":"https://api.github.com/users/grantjbutler/repos","events_url":"https://api.github.com/users/grantjbutler/events{/privacy}","received_events_url":"https://api.github.com/users/grantjbutler/received_events","type":"User","site_admin":false},"repo":{"id":34175793,"name":"Cork","full_name":"grantjbutler/Cork","owner":{"login":"grantjbutler","id":526054,"avatar_url":"https://avatars.githubusercontent.com/u/526054?v=3","gravatar_id":"","url":"https://api.github.com/users/grantjbutler","html_url":"https://github.com/grantjbutler","followers_url":"https://api.github.com/users/grantjbutler/followers","following_url":"https://api.github.com/users/grantjbutler/following{/other_user}","gists_url":"https://api.github.com/users/grantjbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/grantjbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantjbutler/subscriptions","organizations_url":"https://api.github.com/users/grantjbutler/orgs","repos_url":"https://api.github.com/users/grantjbutler/repos","events_url":"https://api.github.com/users/grantjbutler/events{/privacy}","received_events_url":"https://api.github.com/users/grantjbutler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grantjbutler/Cork","description":"Asynchronous peer-to-peer messaging built at HackRU","fork":false,"url":"https://api.github.com/repos/grantjbutler/Cork","forks_url":"https://api.github.com/repos/grantjbutler/Cork/forks","keys_url":"https://api.github.com/repos/grantjbutler/Cork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grantjbutler/Cork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grantjbutler/Cork/teams","hooks_url":"https://api.github.com/repos/grantjbutler/Cork/hooks","issue_events_url":"https://api.github.com/repos/grantjbutler/Cork/issues/events{/number}","events_url":"https://api.github.com/repos/grantjbutler/Cork/events","assignees_url":"https://api.github.com/repos/grantjbutler/Cork/assignees{/user}","branches_url":"https://api.github.com/repos/grantjbutler/Cork/branches{/branch}","tags_url":"https://api.github.com/repos/grantjbutler/Cork/tags","blobs_url":"https://api.github.com/repos/grantjbutler/Cork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grantjbutler/Cork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grantjbutler/Cork/git/refs{/sha}","trees_url":"https://api.github.com/repos/grantjbutler/Cork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grantjbutler/Cork/statuses/{sha}","languages_url":"https://api.github.com/repos/grantjbutler/Cork/languages","stargazers_url":"https://api.github.com/repos/grantjbutler/Cork/stargazers","contributors_url":"https://api.github.com/repos/grantjbutler/Cork/contributors","subscribers_url":"https://api.github.com/repos/grantjbutler/Cork/subscribers","subscription_url":"https://api.github.com/repos/grantjbutler/Cork/subscription","commits_url":"https://api.github.com/repos/grantjbutler/Cork/commits{/sha}","git_commits_url":"https://api.github.com/repos/grantjbutler/Cork/git/commits{/sha}","comments_url":"https://api.github.com/repos/grantjbutler/Cork/comments{/number}","issue_comment_url":"https://api.github.com/repos/grantjbutler/Cork/issues/comments{/number}","contents_url":"https://api.github.com/repos/grantjbutler/Cork/contents/{+path}","compare_url":"https://api.github.com/repos/grantjbutler/Cork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grantjbutler/Cork/merges","archive_url":"https://api.github.com/repos/grantjbutler/Cork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grantjbutler/Cork/downloads","issues_url":"https://api.github.com/repos/grantjbutler/Cork/issues{/number}","pulls_url":"https://api.github.com/repos/grantjbutler/Cork/pulls{/number}","milestones_url":"https://api.github.com/repos/grantjbutler/Cork/milestones{/number}","notifications_url":"https://api.github.com/repos/grantjbutler/Cork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grantjbutler/Cork/labels{/name}","releases_url":"https://api.github.com/repos/grantjbutler/Cork/releases{/id}","created_at":"2015-04-18T17:39:55Z","updated_at":"2015-04-19T11:30:33Z","pushed_at":"2015-04-19T12:11:42Z","git_url":"git://github.com/grantjbutler/Cork.git","ssh_url":"git@github.com:grantjbutler/Cork.git","clone_url":"https://github.com/grantjbutler/Cork.git","svn_url":"https://github.com/grantjbutler/Cork","homepage":null,"size":904,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"grantjbutler:master","ref":"master","sha":"cf43dda7157519ff2acd2f4e505f6d458cda7597","user":{"login":"grantjbutler","id":526054,"avatar_url":"https://avatars.githubusercontent.com/u/526054?v=3","gravatar_id":"","url":"https://api.github.com/users/grantjbutler","html_url":"https://github.com/grantjbutler","followers_url":"https://api.github.com/users/grantjbutler/followers","following_url":"https://api.github.com/users/grantjbutler/following{/other_user}","gists_url":"https://api.github.com/users/grantjbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/grantjbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantjbutler/subscriptions","organizations_url":"https://api.github.com/users/grantjbutler/orgs","repos_url":"https://api.github.com/users/grantjbutler/repos","events_url":"https://api.github.com/users/grantjbutler/events{/privacy}","received_events_url":"https://api.github.com/users/grantjbutler/received_events","type":"User","site_admin":false},"repo":{"id":34175793,"name":"Cork","full_name":"grantjbutler/Cork","owner":{"login":"grantjbutler","id":526054,"avatar_url":"https://avatars.githubusercontent.com/u/526054?v=3","gravatar_id":"","url":"https://api.github.com/users/grantjbutler","html_url":"https://github.com/grantjbutler","followers_url":"https://api.github.com/users/grantjbutler/followers","following_url":"https://api.github.com/users/grantjbutler/following{/other_user}","gists_url":"https://api.github.com/users/grantjbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/grantjbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantjbutler/subscriptions","organizations_url":"https://api.github.com/users/grantjbutler/orgs","repos_url":"https://api.github.com/users/grantjbutler/repos","events_url":"https://api.github.com/users/grantjbutler/events{/privacy}","received_events_url":"https://api.github.com/users/grantjbutler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grantjbutler/Cork","description":"Asynchronous peer-to-peer messaging built at HackRU","fork":false,"url":"https://api.github.com/repos/grantjbutler/Cork","forks_url":"https://api.github.com/repos/grantjbutler/Cork/forks","keys_url":"https://api.github.com/repos/grantjbutler/Cork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grantjbutler/Cork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grantjbutler/Cork/teams","hooks_url":"https://api.github.com/repos/grantjbutler/Cork/hooks","issue_events_url":"https://api.github.com/repos/grantjbutler/Cork/issues/events{/number}","events_url":"https://api.github.com/repos/grantjbutler/Cork/events","assignees_url":"https://api.github.com/repos/grantjbutler/Cork/assignees{/user}","branches_url":"https://api.github.com/repos/grantjbutler/Cork/branches{/branch}","tags_url":"https://api.github.com/repos/grantjbutler/Cork/tags","blobs_url":"https://api.github.com/repos/grantjbutler/Cork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grantjbutler/Cork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grantjbutler/Cork/git/refs{/sha}","trees_url":"https://api.github.com/repos/grantjbutler/Cork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grantjbutler/Cork/statuses/{sha}","languages_url":"https://api.github.com/repos/grantjbutler/Cork/languages","stargazers_url":"https://api.github.com/repos/grantjbutler/Cork/stargazers","contributors_url":"https://api.github.com/repos/grantjbutler/Cork/contributors","subscribers_url":"https://api.github.com/repos/grantjbutler/Cork/subscribers","subscription_url":"https://api.github.com/repos/grantjbutler/Cork/subscription","commits_url":"https://api.github.com/repos/grantjbutler/Cork/commits{/sha}","git_commits_url":"https://api.github.com/repos/grantjbutler/Cork/git/commits{/sha}","comments_url":"https://api.github.com/repos/grantjbutler/Cork/comments{/number}","issue_comment_url":"https://api.github.com/repos/grantjbutler/Cork/issues/comments{/number}","contents_url":"https://api.github.com/repos/grantjbutler/Cork/contents/{+path}","compare_url":"https://api.github.com/repos/grantjbutler/Cork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grantjbutler/Cork/merges","archive_url":"https://api.github.com/repos/grantjbutler/Cork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grantjbutler/Cork/downloads","issues_url":"https://api.github.com/repos/grantjbutler/Cork/issues{/number}","pulls_url":"https://api.github.com/repos/grantjbutler/Cork/pulls{/number}","milestones_url":"https://api.github.com/repos/grantjbutler/Cork/milestones{/number}","notifications_url":"https://api.github.com/repos/grantjbutler/Cork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grantjbutler/Cork/labels{/name}","releases_url":"https://api.github.com/repos/grantjbutler/Cork/releases{/id}","created_at":"2015-04-18T17:39:55Z","updated_at":"2015-04-19T11:30:33Z","pushed_at":"2015-04-19T12:11:42Z","git_url":"git://github.com/grantjbutler/Cork.git","ssh_url":"git@github.com:grantjbutler/Cork.git","clone_url":"https://github.com/grantjbutler/Cork.git","svn_url":"https://github.com/grantjbutler/Cork","homepage":null,"size":904,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grantjbutler/Cork/pulls/25"},"html":{"href":"https://github.com/grantjbutler/Cork/pull/25"},"issue":{"href":"https://api.github.com/repos/grantjbutler/Cork/issues/25"},"comments":{"href":"https://api.github.com/repos/grantjbutler/Cork/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/grantjbutler/Cork/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/grantjbutler/Cork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grantjbutler/Cork/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/grantjbutler/Cork/statuses/ac11c5cb776ee476f04317ff6b850ddcea396292"}}}}