{"action":"created","comment":{"url":"https://api.github.com/repos/vokal/Cat2Cat/pulls/comments/42642324","id":42642324,"diff_hunk":"@@ -13,64 +13,74 @@ extension NSImage {\n \n     // MARK: - ICONS\n     \n-    class func ac_AppIcon() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.AppIcon)\n+    class func ac_AppIcon() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.AppIcon)\n     }\n     \n-    class func ac_Icon() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.Icon)\n+    class func ac_Icon() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.Icon)\n     }\n     \n     // MARK: - Public Domain Icons\n     \n-    class func ac_No_C() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.No_C)\n+    class func ac_No_C() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.No_C)\n     }\n     \n-    class func ac_PD_in_circle() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.PD_in_circle)\n+    class func ac_PD_in_circle() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.PD_in_circle)\n     }\n     \n-    class func ac_PDe_Darka_Circle() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.PDe_Darka_Circle)\n+    class func ac_PDe_Darka_Circle() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.PDe_Darka_Circle)\n     }\n     \n-    class func ac_SidewaysC() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.SidewaysC)\n+    class func ac_SidewaysC() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.SidewaysC)\n     }\n     \n     // MARK: - PHOTOS\n     \n-    class func ac_Golden_Gate_Bridge() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.Golden_Gate_Bridge)\n+    class func ac_Golden_Gate_Bridge() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.Golden_Gate_Bridge)\n     }\n     \n-    class func ac_US_Capitol() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.US_Capitol)\n+    class func ac_US_Capitol() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.US_Capitol)\n     }\n     \n-    class func ac_Venice_Beach() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.Venice_Beach)\n+    class func ac_Venice_Beach() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.Venice_Beach)\n     }\n     \n-    class func ac_Wrigley_Field() -> NSImage? {\n-        return NSImage(named:Cat2CatImageNames.Wrigley_Field)\n+    class func ac_Wrigley_Field() -> NSImage {\n+        return NSImage(c2cName: Cat2CatImageName.Wrigley_Field)\n     }\n     \n }\n \n-struct Cat2CatImageNames {\n+extension NSImage {\n+    /**\n+    Initializes using the specified Cat2CatImageName.\n+    */\n+    convenience init(c2cName: Cat2CatImageName) {\n+        self.init(named: c2cName.rawValue)!\n+    }\n+}","path":"SampleSwiftMacApp/Cat2CatExampleSwiftMac/Cat2CatExampleSwiftMac/Cat2CatNSImage.swift","position":78,"original_position":78,"commit_id":"960982edbe8b9c03a2180081ee8b8623917cec47","original_commit_id":"5f8dc73829ea1444e34d49aa5c69d5297874069d","user":{"login":"vokal-isaac","id":7505072,"avatar_url":"https://avatars.githubusercontent.com/u/7505072?v=3","gravatar_id":"","url":"https://api.github.com/users/vokal-isaac","html_url":"https://github.com/vokal-isaac","followers_url":"https://api.github.com/users/vokal-isaac/followers","following_url":"https://api.github.com/users/vokal-isaac/following{/other_user}","gists_url":"https://api.github.com/users/vokal-isaac/gists{/gist_id}","starred_url":"https://api.github.com/users/vokal-isaac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokal-isaac/subscriptions","organizations_url":"https://api.github.com/users/vokal-isaac/orgs","repos_url":"https://api.github.com/users/vokal-isaac/repos","events_url":"https://api.github.com/users/vokal-isaac/events{/privacy}","received_events_url":"https://api.github.com/users/vokal-isaac/received_events","type":"User","site_admin":false},"body":"Ahh, right.","created_at":"2015-10-21T15:50:25Z","updated_at":"2015-10-21T15:50:25Z","html_url":"https://github.com/vokal/Cat2Cat/pull/30#discussion_r42642324","pull_request_url":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/vokal/Cat2Cat/pulls/comments/42642324"},"html":{"href":"https://github.com/vokal/Cat2Cat/pull/30#discussion_r42642324"},"pull_request":{"href":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30","id":48272024,"html_url":"https://github.com/vokal/Cat2Cat/pull/30","diff_url":"https://github.com/vokal/Cat2Cat/pull/30.diff","patch_url":"https://github.com/vokal/Cat2Cat/pull/30.patch","issue_url":"https://api.github.com/repos/vokal/Cat2Cat/issues/30","number":30,"state":"open","locked":false,"title":"Upgrade swift templates for Swift 2.0","user":{"login":"designatednerd","id":1976498,"avatar_url":"https://avatars.githubusercontent.com/u/1976498?v=3","gravatar_id":"","url":"https://api.github.com/users/designatednerd","html_url":"https://github.com/designatednerd","followers_url":"https://api.github.com/users/designatednerd/followers","following_url":"https://api.github.com/users/designatednerd/following{/other_user}","gists_url":"https://api.github.com/users/designatednerd/gists{/gist_id}","starred_url":"https://api.github.com/users/designatednerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designatednerd/subscriptions","organizations_url":"https://api.github.com/users/designatednerd/orgs","repos_url":"https://api.github.com/users/designatednerd/repos","events_url":"https://api.github.com/users/designatednerd/events{/privacy}","received_events_url":"https://api.github.com/users/designatednerd/received_events","type":"User","site_admin":false},"body":"Fixes #29. ","created_at":"2015-10-20T23:38:23Z","updated_at":"2015-10-21T15:50:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"666896c3f724def1ad388facaf1817e543a8d51e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30/commits","review_comments_url":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30/comments","review_comment_url":"https://api.github.com/repos/vokal/Cat2Cat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vokal/Cat2Cat/issues/30/comments","statuses_url":"https://api.github.com/repos/vokal/Cat2Cat/statuses/960982edbe8b9c03a2180081ee8b8623917cec47","head":{"label":"designatednerd:master","ref":"master","sha":"960982edbe8b9c03a2180081ee8b8623917cec47","user":{"login":"designatednerd","id":1976498,"avatar_url":"https://avatars.githubusercontent.com/u/1976498?v=3","gravatar_id":"","url":"https://api.github.com/users/designatednerd","html_url":"https://github.com/designatednerd","followers_url":"https://api.github.com/users/designatednerd/followers","following_url":"https://api.github.com/users/designatednerd/following{/other_user}","gists_url":"https://api.github.com/users/designatednerd/gists{/gist_id}","starred_url":"https://api.github.com/users/designatednerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designatednerd/subscriptions","organizations_url":"https://api.github.com/users/designatednerd/orgs","repos_url":"https://api.github.com/users/designatednerd/repos","events_url":"https://api.github.com/users/designatednerd/events{/privacy}","received_events_url":"https://api.github.com/users/designatednerd/received_events","type":"User","site_admin":false},"repo":{"id":15875872,"name":"Cat2Cat","full_name":"designatednerd/Cat2Cat","owner":{"login":"designatednerd","id":1976498,"avatar_url":"https://avatars.githubusercontent.com/u/1976498?v=3","gravatar_id":"","url":"https://api.github.com/users/designatednerd","html_url":"https://github.com/designatednerd","followers_url":"https://api.github.com/users/designatednerd/followers","following_url":"https://api.github.com/users/designatednerd/following{/other_user}","gists_url":"https://api.github.com/users/designatednerd/gists{/gist_id}","starred_url":"https://api.github.com/users/designatednerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designatednerd/subscriptions","organizations_url":"https://api.github.com/users/designatednerd/orgs","repos_url":"https://api.github.com/users/designatednerd/repos","events_url":"https://api.github.com/users/designatednerd/events{/privacy}","received_events_url":"https://api.github.com/users/designatednerd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/designatednerd/Cat2Cat","description":"Creates a category or extension on UIImage and/or NSImage from Asset Catalogs in order to reduce typos and enable auto-complete with image names.","fork":true,"url":"https://api.github.com/repos/designatednerd/Cat2Cat","forks_url":"https://api.github.com/repos/designatednerd/Cat2Cat/forks","keys_url":"https://api.github.com/repos/designatednerd/Cat2Cat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/designatednerd/Cat2Cat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/designatednerd/Cat2Cat/teams","hooks_url":"https://api.github.com/repos/designatednerd/Cat2Cat/hooks","issue_events_url":"https://api.github.com/repos/designatednerd/Cat2Cat/issues/events{/number}","events_url":"https://api.github.com/repos/designatednerd/Cat2Cat/events","assignees_url":"https://api.github.com/repos/designatednerd/Cat2Cat/assignees{/user}","branches_url":"https://api.github.com/repos/designatednerd/Cat2Cat/branches{/branch}","tags_url":"https://api.github.com/repos/designatednerd/Cat2Cat/tags","blobs_url":"https://api.github.com/repos/designatednerd/Cat2Cat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/designatednerd/Cat2Cat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/designatednerd/Cat2Cat/git/refs{/sha}","trees_url":"https://api.github.com/repos/designatednerd/Cat2Cat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/designatednerd/Cat2Cat/statuses/{sha}","languages_url":"https://api.github.com/repos/designatednerd/Cat2Cat/languages","stargazers_url":"https://api.github.com/repos/designatednerd/Cat2Cat/stargazers","contributors_url":"https://api.github.com/repos/designatednerd/Cat2Cat/contributors","subscribers_url":"https://api.github.com/repos/designatednerd/Cat2Cat/subscribers","subscription_url":"https://api.github.com/repos/designatednerd/Cat2Cat/subscription","commits_url":"https://api.github.com/repos/designatednerd/Cat2Cat/commits{/sha}","git_commits_url":"https://api.github.com/repos/designatednerd/Cat2Cat/git/commits{/sha}","comments_url":"https://api.github.com/repos/designatednerd/Cat2Cat/comments{/number}","issue_comment_url":"https://api.github.com/repos/designatednerd/Cat2Cat/issues/comments{/number}","contents_url":"https://api.github.com/repos/designatednerd/Cat2Cat/contents/{+path}","compare_url":"https://api.github.com/repos/designatednerd/Cat2Cat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/designatednerd/Cat2Cat/merges","archive_url":"https://api.github.com/repos/designatednerd/Cat2Cat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/designatednerd/Cat2Cat/downloads","issues_url":"https://api.github.com/repos/designatednerd/Cat2Cat/issues{/number}","pulls_url":"https://api.github.com/repos/designatednerd/Cat2Cat/pulls{/number}","milestones_url":"https://api.github.com/repos/designatednerd/Cat2Cat/milestones{/number}","notifications_url":"https://api.github.com/repos/designatednerd/Cat2Cat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/designatednerd/Cat2Cat/labels{/name}","releases_url":"https://api.github.com/repos/designatednerd/Cat2Cat/releases{/id}","created_at":"2014-01-13T17:32:25Z","updated_at":"2015-03-20T18:56:48Z","pushed_at":"2015-10-21T01:03:46Z","git_url":"git://github.com/designatednerd/Cat2Cat.git","ssh_url":"git@github.com:designatednerd/Cat2Cat.git","clone_url":"https://github.com/designatednerd/Cat2Cat.git","svn_url":"https://github.com/designatednerd/Cat2Cat","homepage":"","size":5086,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vokal:master","ref":"master","sha":"28d892db17696eb097bf05bbd70f32101c859668","user":{"login":"vokal","id":375026,"avatar_url":"https://avatars.githubusercontent.com/u/375026?v=3","gravatar_id":"","url":"https://api.github.com/users/vokal","html_url":"https://github.com/vokal","followers_url":"https://api.github.com/users/vokal/followers","following_url":"https://api.github.com/users/vokal/following{/other_user}","gists_url":"https://api.github.com/users/vokal/gists{/gist_id}","starred_url":"https://api.github.com/users/vokal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokal/subscriptions","organizations_url":"https://api.github.com/users/vokal/orgs","repos_url":"https://api.github.com/users/vokal/repos","events_url":"https://api.github.com/users/vokal/events{/privacy}","received_events_url":"https://api.github.com/users/vokal/received_events","type":"Organization","site_admin":false},"repo":{"id":15875744,"name":"Cat2Cat","full_name":"vokal/Cat2Cat","owner":{"login":"vokal","id":375026,"avatar_url":"https://avatars.githubusercontent.com/u/375026?v=3","gravatar_id":"","url":"https://api.github.com/users/vokal","html_url":"https://github.com/vokal","followers_url":"https://api.github.com/users/vokal/followers","following_url":"https://api.github.com/users/vokal/following{/other_user}","gists_url":"https://api.github.com/users/vokal/gists{/gist_id}","starred_url":"https://api.github.com/users/vokal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vokal/subscriptions","organizations_url":"https://api.github.com/users/vokal/orgs","repos_url":"https://api.github.com/users/vokal/repos","events_url":"https://api.github.com/users/vokal/events{/privacy}","received_events_url":"https://api.github.com/users/vokal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vokal/Cat2Cat","description":"Creates a category on UIImage from Asset Catalogs in order to reduce typos and enable auto-complete with image names.","fork":false,"url":"https://api.github.com/repos/vokal/Cat2Cat","forks_url":"https://api.github.com/repos/vokal/Cat2Cat/forks","keys_url":"https://api.github.com/repos/vokal/Cat2Cat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vokal/Cat2Cat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vokal/Cat2Cat/teams","hooks_url":"https://api.github.com/repos/vokal/Cat2Cat/hooks","issue_events_url":"https://api.github.com/repos/vokal/Cat2Cat/issues/events{/number}","events_url":"https://api.github.com/repos/vokal/Cat2Cat/events","assignees_url":"https://api.github.com/repos/vokal/Cat2Cat/assignees{/user}","branches_url":"https://api.github.com/repos/vokal/Cat2Cat/branches{/branch}","tags_url":"https://api.github.com/repos/vokal/Cat2Cat/tags","blobs_url":"https://api.github.com/repos/vokal/Cat2Cat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vokal/Cat2Cat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vokal/Cat2Cat/git/refs{/sha}","trees_url":"https://api.github.com/repos/vokal/Cat2Cat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vokal/Cat2Cat/statuses/{sha}","languages_url":"https://api.github.com/repos/vokal/Cat2Cat/languages","stargazers_url":"https://api.github.com/repos/vokal/Cat2Cat/stargazers","contributors_url":"https://api.github.com/repos/vokal/Cat2Cat/contributors","subscribers_url":"https://api.github.com/repos/vokal/Cat2Cat/subscribers","subscription_url":"https://api.github.com/repos/vokal/Cat2Cat/subscription","commits_url":"https://api.github.com/repos/vokal/Cat2Cat/commits{/sha}","git_commits_url":"https://api.github.com/repos/vokal/Cat2Cat/git/commits{/sha}","comments_url":"https://api.github.com/repos/vokal/Cat2Cat/comments{/number}","issue_comment_url":"https://api.github.com/repos/vokal/Cat2Cat/issues/comments{/number}","contents_url":"https://api.github.com/repos/vokal/Cat2Cat/contents/{+path}","compare_url":"https://api.github.com/repos/vokal/Cat2Cat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vokal/Cat2Cat/merges","archive_url":"https://api.github.com/repos/vokal/Cat2Cat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vokal/Cat2Cat/downloads","issues_url":"https://api.github.com/repos/vokal/Cat2Cat/issues{/number}","pulls_url":"https://api.github.com/repos/vokal/Cat2Cat/pulls{/number}","milestones_url":"https://api.github.com/repos/vokal/Cat2Cat/milestones{/number}","notifications_url":"https://api.github.com/repos/vokal/Cat2Cat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vokal/Cat2Cat/labels{/name}","releases_url":"https://api.github.com/repos/vokal/Cat2Cat/releases{/id}","created_at":"2014-01-13T17:27:20Z","updated_at":"2015-09-22T05:11:44Z","pushed_at":"2015-10-21T01:03:46Z","git_url":"git://github.com/vokal/Cat2Cat.git","ssh_url":"git@github.com:vokal/Cat2Cat.git","clone_url":"https://github.com/vokal/Cat2Cat.git","svn_url":"https://github.com/vokal/Cat2Cat","homepage":null,"size":5176,"stargazers_count":26,"watchers_count":26,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":3,"forks":9,"open_issues":3,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30"},"html":{"href":"https://github.com/vokal/Cat2Cat/pull/30"},"issue":{"href":"https://api.github.com/repos/vokal/Cat2Cat/issues/30"},"comments":{"href":"https://api.github.com/repos/vokal/Cat2Cat/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/vokal/Cat2Cat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vokal/Cat2Cat/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/vokal/Cat2Cat/statuses/960982edbe8b9c03a2180081ee8b8623917cec47"}}}}