{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/1","id":41978768,"html_url":"https://github.com/yuzhouwww/MWPhotoBrowser/pull/1","diff_url":"https://github.com/yuzhouwww/MWPhotoBrowser/pull/1.diff","patch_url":"https://github.com/yuzhouwww/MWPhotoBrowser/pull/1.patch","issue_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/1","number":1,"state":"open","locked":false,"title":"fixes issue with setCurrentPhotoIndex","user":{"login":"yuzhouwww","id":1400340,"avatar_url":"https://avatars.githubusercontent.com/u/1400340?v=3","gravatar_id":"","url":"https://api.github.com/users/yuzhouwww","html_url":"https://github.com/yuzhouwww","followers_url":"https://api.github.com/users/yuzhouwww/followers","following_url":"https://api.github.com/users/yuzhouwww/following{/other_user}","gists_url":"https://api.github.com/users/yuzhouwww/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzhouwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzhouwww/subscriptions","organizations_url":"https://api.github.com/users/yuzhouwww/orgs","repos_url":"https://api.github.com/users/yuzhouwww/repos","events_url":"https://api.github.com/users/yuzhouwww/events{/privacy}","received_events_url":"https://api.github.com/users/yuzhouwww/received_events","type":"User","site_admin":false},"body":"if you setCurrentPhotoIndex for a reused MWPhotoBrowser, it will jump to _pageIndexBeforeRotation in the method viewWillAppear:","created_at":"2015-08-09T22:59:36Z","updated_at":"2015-08-09T22:59:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/1/commits","review_comments_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/1/comments","review_comment_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/1/comments","statuses_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/statuses/02c0bd105831004f9ede9f04a09feb6fac039b08","head":{"label":"yuzhouwww:hotfix/issue_setCurrentIndex","ref":"hotfix/issue_setCurrentIndex","sha":"02c0bd105831004f9ede9f04a09feb6fac039b08","user":{"login":"yuzhouwww","id":1400340,"avatar_url":"https://avatars.githubusercontent.com/u/1400340?v=3","gravatar_id":"","url":"https://api.github.com/users/yuzhouwww","html_url":"https://github.com/yuzhouwww","followers_url":"https://api.github.com/users/yuzhouwww/followers","following_url":"https://api.github.com/users/yuzhouwww/following{/other_user}","gists_url":"https://api.github.com/users/yuzhouwww/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzhouwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzhouwww/subscriptions","organizations_url":"https://api.github.com/users/yuzhouwww/orgs","repos_url":"https://api.github.com/users/yuzhouwww/repos","events_url":"https://api.github.com/users/yuzhouwww/events{/privacy}","received_events_url":"https://api.github.com/users/yuzhouwww/received_events","type":"User","site_admin":false},"repo":{"id":40453210,"name":"MWPhotoBrowser","full_name":"yuzhouwww/MWPhotoBrowser","owner":{"login":"yuzhouwww","id":1400340,"avatar_url":"https://avatars.githubusercontent.com/u/1400340?v=3","gravatar_id":"","url":"https://api.github.com/users/yuzhouwww","html_url":"https://github.com/yuzhouwww","followers_url":"https://api.github.com/users/yuzhouwww/followers","following_url":"https://api.github.com/users/yuzhouwww/following{/other_user}","gists_url":"https://api.github.com/users/yuzhouwww/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzhouwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzhouwww/subscriptions","organizations_url":"https://api.github.com/users/yuzhouwww/orgs","repos_url":"https://api.github.com/users/yuzhouwww/repos","events_url":"https://api.github.com/users/yuzhouwww/events{/privacy}","received_events_url":"https://api.github.com/users/yuzhouwww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuzhouwww/MWPhotoBrowser","description":"A simple iOS photo and video browser with grid view, captions and selections.","fork":true,"url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser","forks_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/forks","keys_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/teams","hooks_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/hooks","issue_events_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/events{/number}","events_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/events","assignees_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/assignees{/user}","branches_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/branches{/branch}","tags_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/tags","blobs_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/statuses/{sha}","languages_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/languages","stargazers_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/stargazers","contributors_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/contributors","subscribers_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/subscribers","subscription_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/subscription","commits_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/contents/{+path}","compare_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/merges","archive_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/downloads","issues_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues{/number}","pulls_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls{/number}","milestones_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/milestones{/number}","notifications_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/labels{/name}","releases_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/releases{/id}","created_at":"2015-08-09T22:49:32Z","updated_at":"2015-08-09T22:49:33Z","pushed_at":"2015-08-09T22:58:39Z","git_url":"git://github.com/yuzhouwww/MWPhotoBrowser.git","ssh_url":"git@github.com:yuzhouwww/MWPhotoBrowser.git","clone_url":"https://github.com/yuzhouwww/MWPhotoBrowser.git","svn_url":"https://github.com/yuzhouwww/MWPhotoBrowser","homepage":"http://michael.typify.io","size":24864,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"yuzhouwww:master","ref":"master","sha":"3d6efbb9240799408bdf47b1c0794e2068baefc8","user":{"login":"yuzhouwww","id":1400340,"avatar_url":"https://avatars.githubusercontent.com/u/1400340?v=3","gravatar_id":"","url":"https://api.github.com/users/yuzhouwww","html_url":"https://github.com/yuzhouwww","followers_url":"https://api.github.com/users/yuzhouwww/followers","following_url":"https://api.github.com/users/yuzhouwww/following{/other_user}","gists_url":"https://api.github.com/users/yuzhouwww/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzhouwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzhouwww/subscriptions","organizations_url":"https://api.github.com/users/yuzhouwww/orgs","repos_url":"https://api.github.com/users/yuzhouwww/repos","events_url":"https://api.github.com/users/yuzhouwww/events{/privacy}","received_events_url":"https://api.github.com/users/yuzhouwww/received_events","type":"User","site_admin":false},"repo":{"id":40453210,"name":"MWPhotoBrowser","full_name":"yuzhouwww/MWPhotoBrowser","owner":{"login":"yuzhouwww","id":1400340,"avatar_url":"https://avatars.githubusercontent.com/u/1400340?v=3","gravatar_id":"","url":"https://api.github.com/users/yuzhouwww","html_url":"https://github.com/yuzhouwww","followers_url":"https://api.github.com/users/yuzhouwww/followers","following_url":"https://api.github.com/users/yuzhouwww/following{/other_user}","gists_url":"https://api.github.com/users/yuzhouwww/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzhouwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzhouwww/subscriptions","organizations_url":"https://api.github.com/users/yuzhouwww/orgs","repos_url":"https://api.github.com/users/yuzhouwww/repos","events_url":"https://api.github.com/users/yuzhouwww/events{/privacy}","received_events_url":"https://api.github.com/users/yuzhouwww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuzhouwww/MWPhotoBrowser","description":"A simple iOS photo and video browser with grid view, captions and selections.","fork":true,"url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser","forks_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/forks","keys_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/teams","hooks_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/hooks","issue_events_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/events{/number}","events_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/events","assignees_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/assignees{/user}","branches_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/branches{/branch}","tags_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/tags","blobs_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/statuses/{sha}","languages_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/languages","stargazers_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/stargazers","contributors_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/contributors","subscribers_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/subscribers","subscription_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/subscription","commits_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/contents/{+path}","compare_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/merges","archive_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/downloads","issues_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues{/number}","pulls_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls{/number}","milestones_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/milestones{/number}","notifications_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/labels{/name}","releases_url":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/releases{/id}","created_at":"2015-08-09T22:49:32Z","updated_at":"2015-08-09T22:49:33Z","pushed_at":"2015-08-09T22:58:39Z","git_url":"git://github.com/yuzhouwww/MWPhotoBrowser.git","ssh_url":"git@github.com:yuzhouwww/MWPhotoBrowser.git","clone_url":"https://github.com/yuzhouwww/MWPhotoBrowser.git","svn_url":"https://github.com/yuzhouwww/MWPhotoBrowser","homepage":"http://michael.typify.io","size":24864,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/1"},"html":{"href":"https://github.com/yuzhouwww/MWPhotoBrowser/pull/1"},"issue":{"href":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/1"},"comments":{"href":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/yuzhouwww/MWPhotoBrowser/statuses/02c0bd105831004f9ede9f04a09feb6fac039b08"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}