{"action":"created","comment":{"url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/comments/44747553","id":44747553,"diff_hunk":"@@ -0,0 +1,96 @@\n+//\n+//  FontsTableViewController.swift\n+//  URBNCreativeTestRig\n+//\n+//  Created by Jason Grandelli on 11/12/15.\n+//  Copyright © 2015 Jason Grandelli. All rights reserved.\n+//\n+\n+import UIKit\n+import URBNDataSource\n+\n+class FontsTableViewController: UITableViewController, UISearchResultsUpdating, UISearchBarDelegate {\n+\n+    private let completion: (fontName: String) -> (Void)\n+    private let dataSource = URBNArrayDataSourceAdapter(items: nil)\n+    private let searchController = UISearchController(searchResultsController: nil)\n+    \n+    private var tableData: Array<String> = []\n+    \n+    private lazy var typeFaces: Array<String> = {\n+        var fonts: Array<String> = []\n+        \n+        let fontFamilies = UIFont.familyNames()\n+        for family in fontFamilies {","path":"URBNCreativeTestRig/FontsTableViewController.swift","position":24,"original_position":24,"commit_id":"032ec9e845c18fe66c75e5b8ee02ecf28bb51f4b","original_commit_id":"032ec9e845c18fe66c75e5b8ee02ecf28bb51f4b","user":{"login":"KVTaniguchi","id":4974425,"avatar_url":"https://avatars.githubusercontent.com/u/4974425?v=3","gravatar_id":"","url":"https://api.github.com/users/KVTaniguchi","html_url":"https://github.com/KVTaniguchi","followers_url":"https://api.github.com/users/KVTaniguchi/followers","following_url":"https://api.github.com/users/KVTaniguchi/following{/other_user}","gists_url":"https://api.github.com/users/KVTaniguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/KVTaniguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KVTaniguchi/subscriptions","organizations_url":"https://api.github.com/users/KVTaniguchi/orgs","repos_url":"https://api.github.com/users/KVTaniguchi/repos","events_url":"https://api.github.com/users/KVTaniguchi/events{/privacy}","received_events_url":"https://api.github.com/users/KVTaniguchi/received_events","type":"User","site_admin":false},"body":"a ```fontFamilies.reduce([], combine: (var families, fontFamily)) { //add fontFamily to families ect. }``` will swiftify this.","created_at":"2015-11-13T03:53:55Z","updated_at":"2015-11-13T03:53:55Z","html_url":"https://github.com/urbn/URBNCreativeTestRig/pull/1#discussion_r44747553","pull_request_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/comments/44747553"},"html":{"href":"https://github.com/urbn/URBNCreativeTestRig/pull/1#discussion_r44747553"},"pull_request":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1","id":50574988,"html_url":"https://github.com/urbn/URBNCreativeTestRig/pull/1","diff_url":"https://github.com/urbn/URBNCreativeTestRig/pull/1.diff","patch_url":"https://github.com/urbn/URBNCreativeTestRig/pull/1.patch","issue_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/1","number":1,"state":"open","locked":false,"title":"Initial branch","user":{"login":"jgrandelli","id":1181839,"avatar_url":"https://avatars.githubusercontent.com/u/1181839?v=3","gravatar_id":"","url":"https://api.github.com/users/jgrandelli","html_url":"https://github.com/jgrandelli","followers_url":"https://api.github.com/users/jgrandelli/followers","following_url":"https://api.github.com/users/jgrandelli/following{/other_user}","gists_url":"https://api.github.com/users/jgrandelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jgrandelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgrandelli/subscriptions","organizations_url":"https://api.github.com/users/jgrandelli/orgs","repos_url":"https://api.github.com/users/jgrandelli/repos","events_url":"https://api.github.com/users/jgrandelli/events{/privacy}","received_events_url":"https://api.github.com/users/jgrandelli/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-12T22:05:20Z","updated_at":"2015-11-13T03:53:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b44fc53bfa2cf54c34eda467cf0f27e7cc56695","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1/commits","review_comments_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1/comments","review_comment_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/1/comments","statuses_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/statuses/032ec9e845c18fe66c75e5b8ee02ecf28bb51f4b","head":{"label":"urbn:initial-branch","ref":"initial-branch","sha":"032ec9e845c18fe66c75e5b8ee02ecf28bb51f4b","user":{"login":"urbn","id":4368103,"avatar_url":"https://avatars.githubusercontent.com/u/4368103?v=3","gravatar_id":"","url":"https://api.github.com/users/urbn","html_url":"https://github.com/urbn","followers_url":"https://api.github.com/users/urbn/followers","following_url":"https://api.github.com/users/urbn/following{/other_user}","gists_url":"https://api.github.com/users/urbn/gists{/gist_id}","starred_url":"https://api.github.com/users/urbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urbn/subscriptions","organizations_url":"https://api.github.com/users/urbn/orgs","repos_url":"https://api.github.com/users/urbn/repos","events_url":"https://api.github.com/users/urbn/events{/privacy}","received_events_url":"https://api.github.com/users/urbn/received_events","type":"Organization","site_admin":false},"repo":{"id":46065882,"name":"URBNCreativeTestRig","full_name":"urbn/URBNCreativeTestRig","owner":{"login":"urbn","id":4368103,"avatar_url":"https://avatars.githubusercontent.com/u/4368103?v=3","gravatar_id":"","url":"https://api.github.com/users/urbn","html_url":"https://github.com/urbn","followers_url":"https://api.github.com/users/urbn/followers","following_url":"https://api.github.com/users/urbn/following{/other_user}","gists_url":"https://api.github.com/users/urbn/gists{/gist_id}","starred_url":"https://api.github.com/users/urbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urbn/subscriptions","organizations_url":"https://api.github.com/users/urbn/orgs","repos_url":"https://api.github.com/users/urbn/repos","events_url":"https://api.github.com/users/urbn/events{/privacy}","received_events_url":"https://api.github.com/users/urbn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urbn/URBNCreativeTestRig","description":"","fork":false,"url":"https://api.github.com/repos/urbn/URBNCreativeTestRig","forks_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/forks","keys_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/teams","hooks_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/hooks","issue_events_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/events{/number}","events_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/events","assignees_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/assignees{/user}","branches_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/branches{/branch}","tags_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/tags","blobs_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/refs{/sha}","trees_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/statuses/{sha}","languages_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/languages","stargazers_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/stargazers","contributors_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/contributors","subscribers_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/subscribers","subscription_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/subscription","commits_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/commits{/sha}","git_commits_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/commits{/sha}","comments_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/comments{/number}","issue_comment_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/comments{/number}","contents_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/contents/{+path}","compare_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/merges","archive_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/downloads","issues_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues{/number}","pulls_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls{/number}","milestones_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/milestones{/number}","notifications_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/labels{/name}","releases_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/releases{/id}","created_at":"2015-11-12T16:34:37Z","updated_at":"2015-11-12T16:38:35Z","pushed_at":"2015-11-13T03:22:11Z","git_url":"git://github.com/urbn/URBNCreativeTestRig.git","ssh_url":"git@github.com:urbn/URBNCreativeTestRig.git","clone_url":"https://github.com/urbn/URBNCreativeTestRig.git","svn_url":"https://github.com/urbn/URBNCreativeTestRig","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"urbn:master","ref":"master","sha":"c47ae79c0671388098f3be12cf2b570e65d534b2","user":{"login":"urbn","id":4368103,"avatar_url":"https://avatars.githubusercontent.com/u/4368103?v=3","gravatar_id":"","url":"https://api.github.com/users/urbn","html_url":"https://github.com/urbn","followers_url":"https://api.github.com/users/urbn/followers","following_url":"https://api.github.com/users/urbn/following{/other_user}","gists_url":"https://api.github.com/users/urbn/gists{/gist_id}","starred_url":"https://api.github.com/users/urbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urbn/subscriptions","organizations_url":"https://api.github.com/users/urbn/orgs","repos_url":"https://api.github.com/users/urbn/repos","events_url":"https://api.github.com/users/urbn/events{/privacy}","received_events_url":"https://api.github.com/users/urbn/received_events","type":"Organization","site_admin":false},"repo":{"id":46065882,"name":"URBNCreativeTestRig","full_name":"urbn/URBNCreativeTestRig","owner":{"login":"urbn","id":4368103,"avatar_url":"https://avatars.githubusercontent.com/u/4368103?v=3","gravatar_id":"","url":"https://api.github.com/users/urbn","html_url":"https://github.com/urbn","followers_url":"https://api.github.com/users/urbn/followers","following_url":"https://api.github.com/users/urbn/following{/other_user}","gists_url":"https://api.github.com/users/urbn/gists{/gist_id}","starred_url":"https://api.github.com/users/urbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urbn/subscriptions","organizations_url":"https://api.github.com/users/urbn/orgs","repos_url":"https://api.github.com/users/urbn/repos","events_url":"https://api.github.com/users/urbn/events{/privacy}","received_events_url":"https://api.github.com/users/urbn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urbn/URBNCreativeTestRig","description":"","fork":false,"url":"https://api.github.com/repos/urbn/URBNCreativeTestRig","forks_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/forks","keys_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/teams","hooks_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/hooks","issue_events_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/events{/number}","events_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/events","assignees_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/assignees{/user}","branches_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/branches{/branch}","tags_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/tags","blobs_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/refs{/sha}","trees_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/statuses/{sha}","languages_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/languages","stargazers_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/stargazers","contributors_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/contributors","subscribers_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/subscribers","subscription_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/subscription","commits_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/commits{/sha}","git_commits_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/git/commits{/sha}","comments_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/comments{/number}","issue_comment_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/comments{/number}","contents_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/contents/{+path}","compare_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/merges","archive_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/downloads","issues_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues{/number}","pulls_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls{/number}","milestones_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/milestones{/number}","notifications_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/labels{/name}","releases_url":"https://api.github.com/repos/urbn/URBNCreativeTestRig/releases{/id}","created_at":"2015-11-12T16:34:37Z","updated_at":"2015-11-12T16:38:35Z","pushed_at":"2015-11-13T03:22:11Z","git_url":"git://github.com/urbn/URBNCreativeTestRig.git","ssh_url":"git@github.com:urbn/URBNCreativeTestRig.git","clone_url":"https://github.com/urbn/URBNCreativeTestRig.git","svn_url":"https://github.com/urbn/URBNCreativeTestRig","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1"},"html":{"href":"https://github.com/urbn/URBNCreativeTestRig/pull/1"},"issue":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/1"},"comments":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/urbn/URBNCreativeTestRig/statuses/032ec9e845c18fe66c75e5b8ee02ecf28bb51f4b"}}}}