{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/yogabo/TransAcc/pulls/1","id":50692254,"html_url":"https://github.com/yogabo/TransAcc/pull/1","diff_url":"https://github.com/yogabo/TransAcc/pull/1.diff","patch_url":"https://github.com/yogabo/TransAcc/pull/1.patch","issue_url":"https://api.github.com/repos/yogabo/TransAcc/issues/1","number":1,"state":"open","locked":false,"title":"fixed queue model","user":{"login":"jankase","id":4003320,"avatar_url":"https://avatars.githubusercontent.com/u/4003320?v=3","gravatar_id":"","url":"https://api.github.com/users/jankase","html_url":"https://github.com/jankase","followers_url":"https://api.github.com/users/jankase/followers","following_url":"https://api.github.com/users/jankase/following{/other_user}","gists_url":"https://api.github.com/users/jankase/gists{/gist_id}","starred_url":"https://api.github.com/users/jankase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankase/subscriptions","organizations_url":"https://api.github.com/users/jankase/orgs","repos_url":"https://api.github.com/users/jankase/repos","events_url":"https://api.github.com/users/jankase/events{/privacy}","received_events_url":"https://api.github.com/users/jankase/received_events","type":"User","site_admin":false},"body":"tak tento druhý krok už byl jednoduchý. stačí tam doplnit volání na main queue (všechny UI aktualizace musí probíhat na main queue).\r\n\r\nObecně by jste měl mnohem jednodušší život pokud by jste místo standardní síťové vrstvy použil Alamofire (https://github.com/Alamofire/Alamofire), který má v sobě zabudové rovnou i parsování JSON apod.","created_at":"2015-11-13T21:09:57Z","updated_at":"2015-11-13T21:09:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yogabo/TransAcc/pulls/1/commits","review_comments_url":"https://api.github.com/repos/yogabo/TransAcc/pulls/1/comments","review_comment_url":"https://api.github.com/repos/yogabo/TransAcc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yogabo/TransAcc/issues/1/comments","statuses_url":"https://api.github.com/repos/yogabo/TransAcc/statuses/1d1ae1212aa506884d709e02b6a4f3742bf210d6","head":{"label":"jankase:master","ref":"master","sha":"1d1ae1212aa506884d709e02b6a4f3742bf210d6","user":{"login":"jankase","id":4003320,"avatar_url":"https://avatars.githubusercontent.com/u/4003320?v=3","gravatar_id":"","url":"https://api.github.com/users/jankase","html_url":"https://github.com/jankase","followers_url":"https://api.github.com/users/jankase/followers","following_url":"https://api.github.com/users/jankase/following{/other_user}","gists_url":"https://api.github.com/users/jankase/gists{/gist_id}","starred_url":"https://api.github.com/users/jankase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankase/subscriptions","organizations_url":"https://api.github.com/users/jankase/orgs","repos_url":"https://api.github.com/users/jankase/repos","events_url":"https://api.github.com/users/jankase/events{/privacy}","received_events_url":"https://api.github.com/users/jankase/received_events","type":"User","site_admin":false},"repo":{"id":46147222,"name":"TransAcc","full_name":"jankase/TransAcc","owner":{"login":"jankase","id":4003320,"avatar_url":"https://avatars.githubusercontent.com/u/4003320?v=3","gravatar_id":"","url":"https://api.github.com/users/jankase","html_url":"https://github.com/jankase","followers_url":"https://api.github.com/users/jankase/followers","following_url":"https://api.github.com/users/jankase/following{/other_user}","gists_url":"https://api.github.com/users/jankase/gists{/gist_id}","starred_url":"https://api.github.com/users/jankase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankase/subscriptions","organizations_url":"https://api.github.com/users/jankase/orgs","repos_url":"https://api.github.com/users/jankase/repos","events_url":"https://api.github.com/users/jankase/events{/privacy}","received_events_url":"https://api.github.com/users/jankase/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jankase/TransAcc","description":"","fork":true,"url":"https://api.github.com/repos/jankase/TransAcc","forks_url":"https://api.github.com/repos/jankase/TransAcc/forks","keys_url":"https://api.github.com/repos/jankase/TransAcc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jankase/TransAcc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jankase/TransAcc/teams","hooks_url":"https://api.github.com/repos/jankase/TransAcc/hooks","issue_events_url":"https://api.github.com/repos/jankase/TransAcc/issues/events{/number}","events_url":"https://api.github.com/repos/jankase/TransAcc/events","assignees_url":"https://api.github.com/repos/jankase/TransAcc/assignees{/user}","branches_url":"https://api.github.com/repos/jankase/TransAcc/branches{/branch}","tags_url":"https://api.github.com/repos/jankase/TransAcc/tags","blobs_url":"https://api.github.com/repos/jankase/TransAcc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jankase/TransAcc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jankase/TransAcc/git/refs{/sha}","trees_url":"https://api.github.com/repos/jankase/TransAcc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jankase/TransAcc/statuses/{sha}","languages_url":"https://api.github.com/repos/jankase/TransAcc/languages","stargazers_url":"https://api.github.com/repos/jankase/TransAcc/stargazers","contributors_url":"https://api.github.com/repos/jankase/TransAcc/contributors","subscribers_url":"https://api.github.com/repos/jankase/TransAcc/subscribers","subscription_url":"https://api.github.com/repos/jankase/TransAcc/subscription","commits_url":"https://api.github.com/repos/jankase/TransAcc/commits{/sha}","git_commits_url":"https://api.github.com/repos/jankase/TransAcc/git/commits{/sha}","comments_url":"https://api.github.com/repos/jankase/TransAcc/comments{/number}","issue_comment_url":"https://api.github.com/repos/jankase/TransAcc/issues/comments{/number}","contents_url":"https://api.github.com/repos/jankase/TransAcc/contents/{+path}","compare_url":"https://api.github.com/repos/jankase/TransAcc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jankase/TransAcc/merges","archive_url":"https://api.github.com/repos/jankase/TransAcc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jankase/TransAcc/downloads","issues_url":"https://api.github.com/repos/jankase/TransAcc/issues{/number}","pulls_url":"https://api.github.com/repos/jankase/TransAcc/pulls{/number}","milestones_url":"https://api.github.com/repos/jankase/TransAcc/milestones{/number}","notifications_url":"https://api.github.com/repos/jankase/TransAcc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jankase/TransAcc/labels{/name}","releases_url":"https://api.github.com/repos/jankase/TransAcc/releases{/id}","created_at":"2015-11-13T21:05:25Z","updated_at":"2015-11-13T21:05:26Z","pushed_at":"2015-11-13T21:06:46Z","git_url":"git://github.com/jankase/TransAcc.git","ssh_url":"git@github.com:jankase/TransAcc.git","clone_url":"https://github.com/jankase/TransAcc.git","svn_url":"https://github.com/jankase/TransAcc","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"yogabo:master","ref":"master","sha":"581882951c829e722e1055c32521ed65b7ec0caa","user":{"login":"yogabo","id":15646611,"avatar_url":"https://avatars.githubusercontent.com/u/15646611?v=3","gravatar_id":"","url":"https://api.github.com/users/yogabo","html_url":"https://github.com/yogabo","followers_url":"https://api.github.com/users/yogabo/followers","following_url":"https://api.github.com/users/yogabo/following{/other_user}","gists_url":"https://api.github.com/users/yogabo/gists{/gist_id}","starred_url":"https://api.github.com/users/yogabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogabo/subscriptions","organizations_url":"https://api.github.com/users/yogabo/orgs","repos_url":"https://api.github.com/users/yogabo/repos","events_url":"https://api.github.com/users/yogabo/events{/privacy}","received_events_url":"https://api.github.com/users/yogabo/received_events","type":"User","site_admin":false},"repo":{"id":46058963,"name":"TransAcc","full_name":"yogabo/TransAcc","owner":{"login":"yogabo","id":15646611,"avatar_url":"https://avatars.githubusercontent.com/u/15646611?v=3","gravatar_id":"","url":"https://api.github.com/users/yogabo","html_url":"https://github.com/yogabo","followers_url":"https://api.github.com/users/yogabo/followers","following_url":"https://api.github.com/users/yogabo/following{/other_user}","gists_url":"https://api.github.com/users/yogabo/gists{/gist_id}","starred_url":"https://api.github.com/users/yogabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogabo/subscriptions","organizations_url":"https://api.github.com/users/yogabo/orgs","repos_url":"https://api.github.com/users/yogabo/repos","events_url":"https://api.github.com/users/yogabo/events{/privacy}","received_events_url":"https://api.github.com/users/yogabo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yogabo/TransAcc","description":"","fork":false,"url":"https://api.github.com/repos/yogabo/TransAcc","forks_url":"https://api.github.com/repos/yogabo/TransAcc/forks","keys_url":"https://api.github.com/repos/yogabo/TransAcc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yogabo/TransAcc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yogabo/TransAcc/teams","hooks_url":"https://api.github.com/repos/yogabo/TransAcc/hooks","issue_events_url":"https://api.github.com/repos/yogabo/TransAcc/issues/events{/number}","events_url":"https://api.github.com/repos/yogabo/TransAcc/events","assignees_url":"https://api.github.com/repos/yogabo/TransAcc/assignees{/user}","branches_url":"https://api.github.com/repos/yogabo/TransAcc/branches{/branch}","tags_url":"https://api.github.com/repos/yogabo/TransAcc/tags","blobs_url":"https://api.github.com/repos/yogabo/TransAcc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yogabo/TransAcc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yogabo/TransAcc/git/refs{/sha}","trees_url":"https://api.github.com/repos/yogabo/TransAcc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yogabo/TransAcc/statuses/{sha}","languages_url":"https://api.github.com/repos/yogabo/TransAcc/languages","stargazers_url":"https://api.github.com/repos/yogabo/TransAcc/stargazers","contributors_url":"https://api.github.com/repos/yogabo/TransAcc/contributors","subscribers_url":"https://api.github.com/repos/yogabo/TransAcc/subscribers","subscription_url":"https://api.github.com/repos/yogabo/TransAcc/subscription","commits_url":"https://api.github.com/repos/yogabo/TransAcc/commits{/sha}","git_commits_url":"https://api.github.com/repos/yogabo/TransAcc/git/commits{/sha}","comments_url":"https://api.github.com/repos/yogabo/TransAcc/comments{/number}","issue_comment_url":"https://api.github.com/repos/yogabo/TransAcc/issues/comments{/number}","contents_url":"https://api.github.com/repos/yogabo/TransAcc/contents/{+path}","compare_url":"https://api.github.com/repos/yogabo/TransAcc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yogabo/TransAcc/merges","archive_url":"https://api.github.com/repos/yogabo/TransAcc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yogabo/TransAcc/downloads","issues_url":"https://api.github.com/repos/yogabo/TransAcc/issues{/number}","pulls_url":"https://api.github.com/repos/yogabo/TransAcc/pulls{/number}","milestones_url":"https://api.github.com/repos/yogabo/TransAcc/milestones{/number}","notifications_url":"https://api.github.com/repos/yogabo/TransAcc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yogabo/TransAcc/labels{/name}","releases_url":"https://api.github.com/repos/yogabo/TransAcc/releases{/id}","created_at":"2015-11-12T14:41:37Z","updated_at":"2015-11-12T15:26:15Z","pushed_at":"2015-11-13T20:29:43Z","git_url":"git://github.com/yogabo/TransAcc.git","ssh_url":"git@github.com:yogabo/TransAcc.git","clone_url":"https://github.com/yogabo/TransAcc.git","svn_url":"https://github.com/yogabo/TransAcc","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yogabo/TransAcc/pulls/1"},"html":{"href":"https://github.com/yogabo/TransAcc/pull/1"},"issue":{"href":"https://api.github.com/repos/yogabo/TransAcc/issues/1"},"comments":{"href":"https://api.github.com/repos/yogabo/TransAcc/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/yogabo/TransAcc/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/yogabo/TransAcc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yogabo/TransAcc/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/yogabo/TransAcc/statuses/1d1ae1212aa506884d709e02b6a4f3742bf210d6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":4,"changed_files":2}}