{"action":"created","comment":{"url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/comments/48580216","id":48580216,"diff_hunk":"@@ -1 +1,221 @@\n-# Tratamento de Erro\n+## Tratamento de Erro\n+\n+Tratamento de erro é o processo de responder e se recuperar de condições de erro em seu programa. O Swift oferece um sofisticado suporte para lançamento, captura, propagação e manipulação de erros recuperáveis em tempo de execução.\n+\n+Algumas operações não têm garantia de sempre completar a execução ou produzir uma saída útil. Opcionais (do inglês *Optionals*) são usados para representar a ausência de um valor, mas quando uma operação falha, geralmente é mais útil entender o que causou a falha para que assim seu código possa responder adequadamente.\n+\n+Como um exemplo, considere uma tarefa de leitura e processamento de dados de um arquivo no disco. Existem várias possibilidades dessa tarefa falhar, incluindo o arquivo não existir no caminho especificado, o arquivo não ter permissão de leitura ou o arquivo não ter sido codificado em um formato compatível. Distinguir entre essas diferentes situações permite que um programa resolva alguns erros e comunique ao usuário quaisquer erros que ele não consiga resolver.\n+\n+> Nota\n+>\n+>Tratamento de erro em Swift funciona em sincronia com padrões de tratamento de erro que usam a classe `NSError` no Cocoa e Objective-C. Para mais informações sobre essa classe, veja *Using Swift with Cocoa and Objective-C (Swift 2.1)*\n+\n+### Representando e Lançando Erros\n+Em Swift, erros são representados por valores de tipos que estão em conformidade com o protocolo `ErrorType`. Esse protocolo vazio indica que um tipo pode ser usado para tratamento de erro.\n+\n+Enumeradores em Swift são particularmente bem adequados para modelar um grupo de condições de erros relacionados, usando valores associados para permitir informação adicional sobre a natureza de um erro à ser comunicado. Por exemplo, aqui está como você poderia representar as condições de erro da operação de uma máquina de vendas dentro de um jogo:\n+\n+```Swift\n+enum VendingMachineError: ErrorType {\n+    case InvalidSelection\n+    case InsufficientFunds(coinsNeeded: Int)\n+    case OutOfStock\n+}\n+```\n+\n+Lançar um erro te permite indicar que alguma coisa inesperada aconteceu e o fluxo normal de execução não pode continuar. Você usa uma instrução `throw` para lançar um erro. Por exemplo, o seguinte código lança um erro para indicar que cinco moedas adicionais são necessárias para a máquina de vendas:\n+\n+```Swift\n+throw VendingMachineError.InsufficientFunds(coinsNeeded: 5)\n+```\n+\n+### Tratando Erros\n+Quando um erro é lançado, algum código que o envolve deve ser responsável por tratar o erro - por exemplo, corrigindo o problema, tentando outra alternativa ou informando ao usuário sobre a falha.\n+\n+Existem quatro formas de tratar erros em Swift. Você pode propagar o erro de uma função para o código que a chamou, tratar o erro usando uma instrução `do-catch`, tratar o erro como um valor opcional ou afirmar que o erro não ocorrerá. Cada opção é descrita na seção abaixo.\n+\n+Quando uma função lança um erro, ela muda o fluxo do seu programa, então é importante que você possa identificar rapidamente lugares no seu código que possam lançar erros. Para identificar esses lugares no seu código, escreva a palavra-chave `try` - ou as variações try? ou try! - antes do código que chama aquela função, método ou inicializador que pode lançar um erro. Essas palavras-chaves são descritas na seção abaixo.\n+\n+> Nota","path":"guia/tratamento_erro.md","position":40,"original_position":40,"commit_id":"24bf35d8b42e0a5896122f49dcf990c08c44bd8c","original_commit_id":"24bf35d8b42e0a5896122f49dcf990c08c44bd8c","user":{"login":"barbosa","id":235208,"avatar_url":"https://avatars.githubusercontent.com/u/235208?v=3","gravatar_id":"","url":"https://api.github.com/users/barbosa","html_url":"https://github.com/barbosa","followers_url":"https://api.github.com/users/barbosa/followers","following_url":"https://api.github.com/users/barbosa/following{/other_user}","gists_url":"https://api.github.com/users/barbosa/gists{/gist_id}","starred_url":"https://api.github.com/users/barbosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbosa/subscriptions","organizations_url":"https://api.github.com/users/barbosa/orgs","repos_url":"https://api.github.com/users/barbosa/repos","events_url":"https://api.github.com/users/barbosa/events{/privacy}","received_events_url":"https://api.github.com/users/barbosa/received_events","type":"User","site_admin":false},"body":"Aqui também.","created_at":"2015-12-30T00:14:01Z","updated_at":"2015-12-30T00:14:01Z","html_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/29#discussion_r48580216","pull_request_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/comments/48580216"},"html":{"href":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/29#discussion_r48580216"},"pull_request":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29","id":54487665,"html_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/29","diff_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/29.diff","patch_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/29.patch","issue_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/29","number":29,"state":"open","locked":false,"title":"[Revisão] Guia da Linguagem - Tratamento de erro","user":{"login":"danielCarlosCE","id":1819682,"avatar_url":"https://avatars.githubusercontent.com/u/1819682?v=3","gravatar_id":"","url":"https://api.github.com/users/danielCarlosCE","html_url":"https://github.com/danielCarlosCE","followers_url":"https://api.github.com/users/danielCarlosCE/followers","following_url":"https://api.github.com/users/danielCarlosCE/following{/other_user}","gists_url":"https://api.github.com/users/danielCarlosCE/gists{/gist_id}","starred_url":"https://api.github.com/users/danielCarlosCE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielCarlosCE/subscriptions","organizations_url":"https://api.github.com/users/danielCarlosCE/orgs","repos_url":"https://api.github.com/users/danielCarlosCE/repos","events_url":"https://api.github.com/users/danielCarlosCE/events{/privacy}","received_events_url":"https://api.github.com/users/danielCarlosCE/received_events","type":"User","site_admin":false},"body":"[Revisão] Guia da Linguagem - Tratamento de erro\r\n(resolve #17)","created_at":"2015-12-23T16:57:20Z","updated_at":"2015-12-30T00:14:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9883a13f9514ef8c45e3c9b957c08839e05291f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29/commits","review_comments_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29/comments","review_comment_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/29/comments","statuses_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/statuses/24bf35d8b42e0a5896122f49dcf990c08c44bd8c","head":{"label":"danielCarlosCE:error-handling","ref":"error-handling","sha":"24bf35d8b42e0a5896122f49dcf990c08c44bd8c","user":{"login":"danielCarlosCE","id":1819682,"avatar_url":"https://avatars.githubusercontent.com/u/1819682?v=3","gravatar_id":"","url":"https://api.github.com/users/danielCarlosCE","html_url":"https://github.com/danielCarlosCE","followers_url":"https://api.github.com/users/danielCarlosCE/followers","following_url":"https://api.github.com/users/danielCarlosCE/following{/other_user}","gists_url":"https://api.github.com/users/danielCarlosCE/gists{/gist_id}","starred_url":"https://api.github.com/users/danielCarlosCE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielCarlosCE/subscriptions","organizations_url":"https://api.github.com/users/danielCarlosCE/orgs","repos_url":"https://api.github.com/users/danielCarlosCE/repos","events_url":"https://api.github.com/users/danielCarlosCE/events{/privacy}","received_events_url":"https://api.github.com/users/danielCarlosCE/received_events","type":"User","site_admin":false},"repo":{"id":48253656,"name":"the-swift-programming-language-in-portuguese-br","full_name":"danielCarlosCE/the-swift-programming-language-in-portuguese-br","owner":{"login":"danielCarlosCE","id":1819682,"avatar_url":"https://avatars.githubusercontent.com/u/1819682?v=3","gravatar_id":"","url":"https://api.github.com/users/danielCarlosCE","html_url":"https://github.com/danielCarlosCE","followers_url":"https://api.github.com/users/danielCarlosCE/followers","following_url":"https://api.github.com/users/danielCarlosCE/following{/other_user}","gists_url":"https://api.github.com/users/danielCarlosCE/gists{/gist_id}","starred_url":"https://api.github.com/users/danielCarlosCE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielCarlosCE/subscriptions","organizations_url":"https://api.github.com/users/danielCarlosCE/orgs","repos_url":"https://api.github.com/users/danielCarlosCE/repos","events_url":"https://api.github.com/users/danielCarlosCE/events{/privacy}","received_events_url":"https://api.github.com/users/danielCarlosCE/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielCarlosCE/the-swift-programming-language-in-portuguese-br","description":"Tradução do guideline do Swift.org","fork":true,"url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br","forks_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/forks","keys_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/teams","hooks_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/hooks","issue_events_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/issues/events{/number}","events_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/events","assignees_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/assignees{/user}","branches_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/branches{/branch}","tags_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/tags","blobs_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/statuses/{sha}","languages_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/languages","stargazers_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/stargazers","contributors_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/contributors","subscribers_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/subscribers","subscription_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/subscription","commits_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/contents/{+path}","compare_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/merges","archive_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/downloads","issues_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/issues{/number}","pulls_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/pulls{/number}","milestones_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/milestones{/number}","notifications_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/labels{/name}","releases_url":"https://api.github.com/repos/danielCarlosCE/the-swift-programming-language-in-portuguese-br/releases{/id}","created_at":"2015-12-18T19:50:49Z","updated_at":"2015-12-18T19:20:38Z","pushed_at":"2015-12-29T20:54:43Z","git_url":"git://github.com/danielCarlosCE/the-swift-programming-language-in-portuguese-br.git","ssh_url":"git@github.com:danielCarlosCE/the-swift-programming-language-in-portuguese-br.git","clone_url":"https://github.com/danielCarlosCE/the-swift-programming-language-in-portuguese-br.git","svn_url":"https://github.com/danielCarlosCE/the-swift-programming-language-in-portuguese-br","homepage":null,"size":610,"stargazers_count":0,"watchers_count":0,"language":null,"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":"CocoaHeadsBrasil:master","ref":"master","sha":"d817119340e75835e9543c28855d342403af47b2","user":{"login":"CocoaHeadsBrasil","id":7914270,"avatar_url":"https://avatars.githubusercontent.com/u/7914270?v=3","gravatar_id":"","url":"https://api.github.com/users/CocoaHeadsBrasil","html_url":"https://github.com/CocoaHeadsBrasil","followers_url":"https://api.github.com/users/CocoaHeadsBrasil/followers","following_url":"https://api.github.com/users/CocoaHeadsBrasil/following{/other_user}","gists_url":"https://api.github.com/users/CocoaHeadsBrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/CocoaHeadsBrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CocoaHeadsBrasil/subscriptions","organizations_url":"https://api.github.com/users/CocoaHeadsBrasil/orgs","repos_url":"https://api.github.com/users/CocoaHeadsBrasil/repos","events_url":"https://api.github.com/users/CocoaHeadsBrasil/events{/privacy}","received_events_url":"https://api.github.com/users/CocoaHeadsBrasil/received_events","type":"Organization","site_admin":false},"repo":{"id":48129948,"name":"the-swift-programming-language-in-portuguese-br","full_name":"CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br","owner":{"login":"CocoaHeadsBrasil","id":7914270,"avatar_url":"https://avatars.githubusercontent.com/u/7914270?v=3","gravatar_id":"","url":"https://api.github.com/users/CocoaHeadsBrasil","html_url":"https://github.com/CocoaHeadsBrasil","followers_url":"https://api.github.com/users/CocoaHeadsBrasil/followers","following_url":"https://api.github.com/users/CocoaHeadsBrasil/following{/other_user}","gists_url":"https://api.github.com/users/CocoaHeadsBrasil/gists{/gist_id}","starred_url":"https://api.github.com/users/CocoaHeadsBrasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CocoaHeadsBrasil/subscriptions","organizations_url":"https://api.github.com/users/CocoaHeadsBrasil/orgs","repos_url":"https://api.github.com/users/CocoaHeadsBrasil/repos","events_url":"https://api.github.com/users/CocoaHeadsBrasil/events{/privacy}","received_events_url":"https://api.github.com/users/CocoaHeadsBrasil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br","description":"Tradução do guideline do Swift.org","fork":false,"url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br","forks_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/forks","keys_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/teams","hooks_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/hooks","issue_events_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/events{/number}","events_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/events","assignees_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/assignees{/user}","branches_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/branches{/branch}","tags_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/tags","blobs_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/git/refs{/sha}","trees_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/statuses/{sha}","languages_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/languages","stargazers_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/stargazers","contributors_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/contributors","subscribers_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/subscribers","subscription_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/subscription","commits_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/commits{/sha}","git_commits_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/git/commits{/sha}","comments_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/comments{/number}","issue_comment_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/comments{/number}","contents_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/contents/{+path}","compare_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/merges","archive_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/downloads","issues_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues{/number}","pulls_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls{/number}","milestones_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/milestones{/number}","notifications_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/labels{/name}","releases_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/releases{/id}","created_at":"2015-12-16T19:16:35Z","updated_at":"2015-12-22T18:03:37Z","pushed_at":"2015-12-29T20:54:43Z","git_url":"git://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br.git","ssh_url":"git@github.com:CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br.git","clone_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br.git","svn_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br","homepage":null,"size":1414,"stargazers_count":19,"watchers_count":19,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":13,"forks":8,"open_issues":13,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29"},"html":{"href":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/29"},"issue":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/29"},"comments":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/statuses/24bf35d8b42e0a5896122f49dcf990c08c44bd8c"}}}}