{"action":"created","comment":{"url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/comments/44414329","id":44414329,"diff_hunk":"@@ -0,0 +1,39 @@\n+//\n+//  PhotoDescriptor.h\n+//  FlickrAssignment\n+//\n+//  Created by Ofir Gluzman on 10/20/15.\n+//  Copyright © 2015 Ofir Gluzman. All rights reserved.\n+//\n+\n+#import <Foundation/Foundation.h>\n+\n+NS_ASSUME_NONNULL_BEGIN\n+\n+/// A data structure for representing a photo that the user saw recently.\n+/// Contains the photo relevant information for saving and reloading which is the photo's url\n+/// and the photo's title.\n+/// The class also allows to encode a \\c PhotoDescriptor instance into a representing string and to\n+/// decode it back from a string into an instance.\n+@interface PhotoDescriptor : NSObject\n+\n+- (instancetype)init NS_UNAVAILABLE;\n+\n+/// Initialize a data structure with it's fields passed as arguments.\n+- (instancetype)initWithTitle:(NSString *)title andUrl:(NSURL *)url NS_DESIGNATED_INITIALIZER;\n+\n+/// Decodes a given description of a \\c PhotoDescriptor into a \\c PhotoDescriptor object.\n+- (instancetype)initFromDescription:(NSString *)description NS_DESIGNATED_INITIALIZER;","path":"PhotoDescriptor.h","position":26,"original_position":26,"commit_id":"2e9f5b08b7e35df8d5fc05712533e54094be73ff","original_commit_id":"2e9f5b08b7e35df8d5fc05712533e54094be73ff","user":{"login":"amit-goldstein","id":3172498,"avatar_url":"https://avatars.githubusercontent.com/u/3172498?v=3","gravatar_id":"","url":"https://api.github.com/users/amit-goldstein","html_url":"https://github.com/amit-goldstein","followers_url":"https://api.github.com/users/amit-goldstein/followers","following_url":"https://api.github.com/users/amit-goldstein/following{/other_user}","gists_url":"https://api.github.com/users/amit-goldstein/gists{/gist_id}","starred_url":"https://api.github.com/users/amit-goldstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amit-goldstein/subscriptions","organizations_url":"https://api.github.com/users/amit-goldstein/orgs","repos_url":"https://api.github.com/users/amit-goldstein/repos","events_url":"https://api.github.com/users/amit-goldstein/events{/privacy}","received_events_url":"https://api.github.com/users/amit-goldstein/received_events","type":"User","site_admin":false},"body":"interfaces should have only one designated initializer (and the other initializers must call it)","created_at":"2015-11-10T14:51:28Z","updated_at":"2015-11-10T14:51:28Z","html_url":"https://github.com/ofirgluzman/FlickrAssignment/pull/1#discussion_r44414329","pull_request_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/comments/44414329"},"html":{"href":"https://github.com/ofirgluzman/FlickrAssignment/pull/1#discussion_r44414329"},"pull_request":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1","id":48679658,"html_url":"https://github.com/ofirgluzman/FlickrAssignment/pull/1","diff_url":"https://github.com/ofirgluzman/FlickrAssignment/pull/1.diff","patch_url":"https://github.com/ofirgluzman/FlickrAssignment/pull/1.patch","issue_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/1","number":1,"state":"open","locked":false,"title":"Initial Commit.","user":{"login":"ofirgluzman","id":15310405,"avatar_url":"https://avatars.githubusercontent.com/u/15310405?v=3","gravatar_id":"","url":"https://api.github.com/users/ofirgluzman","html_url":"https://github.com/ofirgluzman","followers_url":"https://api.github.com/users/ofirgluzman/followers","following_url":"https://api.github.com/users/ofirgluzman/following{/other_user}","gists_url":"https://api.github.com/users/ofirgluzman/gists{/gist_id}","starred_url":"https://api.github.com/users/ofirgluzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofirgluzman/subscriptions","organizations_url":"https://api.github.com/users/ofirgluzman/orgs","repos_url":"https://api.github.com/users/ofirgluzman/repos","events_url":"https://api.github.com/users/ofirgluzman/events{/privacy}","received_events_url":"https://api.github.com/users/ofirgluzman/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-25T14:38:35Z","updated_at":"2015-11-10T14:51:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60db113113beabfcb3aa8c3d86d450c839f85087","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/1/comments","statuses_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/statuses/2e9f5b08b7e35df8d5fc05712533e54094be73ff","head":{"label":"ofirgluzman:develop","ref":"develop","sha":"2e9f5b08b7e35df8d5fc05712533e54094be73ff","user":{"login":"ofirgluzman","id":15310405,"avatar_url":"https://avatars.githubusercontent.com/u/15310405?v=3","gravatar_id":"","url":"https://api.github.com/users/ofirgluzman","html_url":"https://github.com/ofirgluzman","followers_url":"https://api.github.com/users/ofirgluzman/followers","following_url":"https://api.github.com/users/ofirgluzman/following{/other_user}","gists_url":"https://api.github.com/users/ofirgluzman/gists{/gist_id}","starred_url":"https://api.github.com/users/ofirgluzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofirgluzman/subscriptions","organizations_url":"https://api.github.com/users/ofirgluzman/orgs","repos_url":"https://api.github.com/users/ofirgluzman/repos","events_url":"https://api.github.com/users/ofirgluzman/events{/privacy}","received_events_url":"https://api.github.com/users/ofirgluzman/received_events","type":"User","site_admin":false},"repo":{"id":44912345,"name":"FlickrAssignment","full_name":"ofirgluzman/FlickrAssignment","owner":{"login":"ofirgluzman","id":15310405,"avatar_url":"https://avatars.githubusercontent.com/u/15310405?v=3","gravatar_id":"","url":"https://api.github.com/users/ofirgluzman","html_url":"https://github.com/ofirgluzman","followers_url":"https://api.github.com/users/ofirgluzman/followers","following_url":"https://api.github.com/users/ofirgluzman/following{/other_user}","gists_url":"https://api.github.com/users/ofirgluzman/gists{/gist_id}","starred_url":"https://api.github.com/users/ofirgluzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofirgluzman/subscriptions","organizations_url":"https://api.github.com/users/ofirgluzman/orgs","repos_url":"https://api.github.com/users/ofirgluzman/repos","events_url":"https://api.github.com/users/ofirgluzman/events{/privacy}","received_events_url":"https://api.github.com/users/ofirgluzman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ofirgluzman/FlickrAssignment","description":"","fork":false,"url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment","forks_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/forks","keys_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/teams","hooks_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/hooks","issue_events_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/events{/number}","events_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/events","assignees_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/assignees{/user}","branches_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/branches{/branch}","tags_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/tags","blobs_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/refs{/sha}","trees_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/statuses/{sha}","languages_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/languages","stargazers_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/stargazers","contributors_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/contributors","subscribers_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/subscribers","subscription_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/subscription","commits_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/commits{/sha}","git_commits_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/commits{/sha}","comments_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/comments{/number}","issue_comment_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/comments{/number}","contents_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/contents/{+path}","compare_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/merges","archive_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/downloads","issues_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues{/number}","pulls_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls{/number}","milestones_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/milestones{/number}","notifications_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/labels{/name}","releases_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/releases{/id}","created_at":"2015-10-25T13:59:16Z","updated_at":"2015-10-25T14:37:38Z","pushed_at":"2015-11-08T14:12:12Z","git_url":"git://github.com/ofirgluzman/FlickrAssignment.git","ssh_url":"git@github.com:ofirgluzman/FlickrAssignment.git","clone_url":"https://github.com/ofirgluzman/FlickrAssignment.git","svn_url":"https://github.com/ofirgluzman/FlickrAssignment","homepage":null,"size":636,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"ofirgluzman:master","ref":"master","sha":"b3a399183feea10ae0583d14cedcbaf604d56bea","user":{"login":"ofirgluzman","id":15310405,"avatar_url":"https://avatars.githubusercontent.com/u/15310405?v=3","gravatar_id":"","url":"https://api.github.com/users/ofirgluzman","html_url":"https://github.com/ofirgluzman","followers_url":"https://api.github.com/users/ofirgluzman/followers","following_url":"https://api.github.com/users/ofirgluzman/following{/other_user}","gists_url":"https://api.github.com/users/ofirgluzman/gists{/gist_id}","starred_url":"https://api.github.com/users/ofirgluzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofirgluzman/subscriptions","organizations_url":"https://api.github.com/users/ofirgluzman/orgs","repos_url":"https://api.github.com/users/ofirgluzman/repos","events_url":"https://api.github.com/users/ofirgluzman/events{/privacy}","received_events_url":"https://api.github.com/users/ofirgluzman/received_events","type":"User","site_admin":false},"repo":{"id":44912345,"name":"FlickrAssignment","full_name":"ofirgluzman/FlickrAssignment","owner":{"login":"ofirgluzman","id":15310405,"avatar_url":"https://avatars.githubusercontent.com/u/15310405?v=3","gravatar_id":"","url":"https://api.github.com/users/ofirgluzman","html_url":"https://github.com/ofirgluzman","followers_url":"https://api.github.com/users/ofirgluzman/followers","following_url":"https://api.github.com/users/ofirgluzman/following{/other_user}","gists_url":"https://api.github.com/users/ofirgluzman/gists{/gist_id}","starred_url":"https://api.github.com/users/ofirgluzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofirgluzman/subscriptions","organizations_url":"https://api.github.com/users/ofirgluzman/orgs","repos_url":"https://api.github.com/users/ofirgluzman/repos","events_url":"https://api.github.com/users/ofirgluzman/events{/privacy}","received_events_url":"https://api.github.com/users/ofirgluzman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ofirgluzman/FlickrAssignment","description":"","fork":false,"url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment","forks_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/forks","keys_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/teams","hooks_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/hooks","issue_events_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/events{/number}","events_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/events","assignees_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/assignees{/user}","branches_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/branches{/branch}","tags_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/tags","blobs_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/refs{/sha}","trees_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/statuses/{sha}","languages_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/languages","stargazers_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/stargazers","contributors_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/contributors","subscribers_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/subscribers","subscription_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/subscription","commits_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/commits{/sha}","git_commits_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/git/commits{/sha}","comments_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/comments{/number}","issue_comment_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/comments{/number}","contents_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/contents/{+path}","compare_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/merges","archive_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/downloads","issues_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues{/number}","pulls_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls{/number}","milestones_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/milestones{/number}","notifications_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/labels{/name}","releases_url":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/releases{/id}","created_at":"2015-10-25T13:59:16Z","updated_at":"2015-10-25T14:37:38Z","pushed_at":"2015-11-08T14:12:12Z","git_url":"git://github.com/ofirgluzman/FlickrAssignment.git","ssh_url":"git@github.com:ofirgluzman/FlickrAssignment.git","clone_url":"https://github.com/ofirgluzman/FlickrAssignment.git","svn_url":"https://github.com/ofirgluzman/FlickrAssignment","homepage":null,"size":636,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1"},"html":{"href":"https://github.com/ofirgluzman/FlickrAssignment/pull/1"},"issue":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/1"},"comments":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ofirgluzman/FlickrAssignment/statuses/2e9f5b08b7e35df8d5fc05712533e54094be73ff"}}}}