{"action":"created","comment":{"url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/comments/48697547","id":48697547,"diff_hunk":"@@ -1,2 +1,306 @@\n-# the-swift-programming-language-in-portuguese-br\n-Tradução do guideline do Swift.org\n+## Um Tour pelo Swift\n+\n+A tradição sugere que o primeiro programa em uma nova linguagem deve imprimir as palavras \"Hello, world!\" na tela. Em Swift, isso pode ser feito em uma única linha:\n+\n+```swift\n+print(\"Hello, world!\")\n+```\n+\n+Se você já escreveu código em C ou em Objective-C, essa sintaxe lhe é familiar — em Swift, essa linha de código é um programa completo. Você não precisa importar uma biblioteca separada para funcionalidades como entrada/saída ou manipulação de strings. O código escrito num escopo global é usado como ponto de entrada para o programa, portanto você não precisa de uma função `main()`. Você também não precisa colocar ponto e vírgula no final de cada instrução de código.\n+\n+Este tour lhe dá informação suficiente para começar a escrever código em Swift, mostrando como realizar diferentes tipos de tarefas de programação. Não se preocupe caso não entenda alguma coisa — tudo que for apresentado nesse tour será explicado em detalhes no restante deste livro.\n+\n+>NOTA\n+>\n+>Em um Mac, baixe este Playground e dê um duplo clique no arquivo para abrí-lo no Xcode: <a href=\"https://developer.apple.com/go/?id=swift-tour\">https://developer.apple.com/go/?id=swift-tour</a>\n+\n+### Valores simples\n+\n+Use `let` para criar uma constante e `var` para criar uma variável. O valor de uma constante não precisa ser conhecido em tempo de compilação, mas você deve atribuí-lo exatamente uma única vez. Isso significa que você pode usar constantes para nomear um valor que você determina uma vez mas que usa em vários lugares.\n+\n+```swift\n+var myVariable = 42\n+myVariable = 50\n+let myConstant = 42\n+```\n+\n+Uma constante ou uma variável deve ter o mesmo tipo que o valor que você queira atribuir a ela. Contudo, você não precisa escrever o tipo explicitamente. Fornecer um valor quando você cria uma constante ou variável faz com que o compilador deduza o seu tipo. No exemplo acima, o compilador deduz que `myVariable` é um inteiro porque seu valor inicial é um inteiro.\n+\n+Se o valor inicial não fornecer informação suficiente (ou se não existir um valor inicial), especifique um tipo escrevendo logo após a variável, separado pelo sinal de dois pontos.\n+\n+```swift\n+let implicitInteger = 70\n+let implicitDouble = 70.0\n+let explicitDouble: Double = 70\n+```\n+\n+>EXPERIMENTO\n+>\n+>Crie uma constante com tipo explícito `Float` e valor `4`.\n+\n+Valores nunca são implicitamente convertidos para outro tipo. Se você precisar converter um valor para um tipo diferente, crie uma instância do tipo desejado explicitamente.\n+\n+```swift\n+let label = \"A largura é \"\n+let width = 94\n+let widthLabel = label + String(width)\n+```\n+\n+>EXPERIMENTO\n+>\n+>Tente remover a conversão para `String` na última linha. Que erro você recebe?\n+\n+Existe uma forma ainda mais simples de incluir valores em strings: Escreva o valor entre parênteses e adicione uma barra invertida antes dos parênteses. Por exemplo:\n+\n+```swift\n+let apples = 3\n+let oranges = 5\n+let appleSummary = \"Eu tenho \\(apples) maçãs.\"\n+let fruitSummary = \"Eu tenho \\(apples + oranges) frutas.\"\n+```\n+\n+>EXPERIMENTO\n+>\n+>Use `\\()` para incluir o cálculo de um número de ponto flutuante em uma string e o nome de alguém em uma saudação.\n+\n+Crie listas e dicionários usando colchetes (`[]`) e acesse seus elementos escrevendo o índice ou a chave dentro deles. Uma vírgula é permitida após o último elemento.\n+\n+```swift\n+var shoppingList = [\"peixe\", \"água\", \"tulipas\", \"tinta azul\"]\n+shoppingList[1] = \"garrafa d'água\"\n+\n+var occupations = [\n+\t\"Malcolm\": \"Capitão\"\n+\t\"Kaylee\", \"Mecânico\"\n+]\n+\n+occupations[\"Jayne\"] = \"Relações Públicas\"\n+```\n+\n+Para criar uma lista ou um dicionário vazio, use a sintaxe de inicializadores:\n+\n+```swift\n+let emptyArray = [String]()\n+let emptyDictionary = [String: Float]()\n+```\n+\n+Se a informação do tipo puder ser inferida, você pode escrever uma lista vazia como `[]` e um dicionário vazio como `[:]` - por exemplo, quando você define um novo valor para uma variável ou passa um argumento para um função.\n+\n+```swift\n+shoppingList = []\n+occupations = [:]\n+```\n+\n+### Fluxo de Controle\n+\n+Utilize `if` e `switch` para criar condições e use `for-in`, `for`, `while` e `repeat-while` para criar laços de repetição. Parênteses ao redor da condição ou da variável de laço são opcionais. Chaves ao redor do bloco de código são obrigatórias.\n+\n+```swift\n+let individualScores = [75, 43, 103, 87, 12]\n+var teamScore = 0\n+for score in individualScores {\n+    if score > 50 {\n+        teamScore += 3\n+    } else {\n+        teamScore += 1\n+    }\n+}\n+print(teamScore)\n+```\n+\n+Na declaração de um `if`, a condição deve ser uma expressão booleana - isso significa que código como `if score { ... }` é um erro, não uma comparação implícita com zero.\n+\n+Você pode usar `if` e `let` juntos para trabalhar com valores que podem estar ausentes. Estes valores são representados como opcionais. Um valor opcional ou contém um valor, ou contém `nil`, para indicar a ausência de valor. Escreva uma ponto de interrogação (`?`) após o tipo de um valor para marcar o valor como opcional.\n+\n+```swift\n+var optionalString: String? = \"Hello\"\n+print(optionalString == nil)\n+\n+var optionalName: String? = \"John Appleseed\"\n+var greeting = \"Hello!\"\n+if let name = optionalName {\n+    greeting = \"Hello, \\(name)\"\n+}\n+```\n+\n+>EXPERIMENTO\n+>\n+>Altere `optionalName` para `nil`. Que saudação você recebe? Adicione uma cláusula `else` que define uma saudação diferente se `optionalName` for `nil`.\n+\n+Se o valor opcional for `nil`, a condição é `false` e o código entre chaves é pulado. Caso contrário, o valor opcional é desembrulhado e atribuído à constante após o `let`, tornando o valor desembrulhado disponível dentro do bloco de código.\n+\n+Outra maneira de lidar com valores opcionais é fornecer um valor padrão usando o operador `??`. Se o valor opcional estiver ausente, o valor padrão será utilizado.\n+\n+```swift\n+let nickName: String? = nil\n+let fullName: String = \"John Appleseed\"\n+let informalGreeting = \"Hi \\(nickName ?? fullName)\"\n+```\n+\n+As instruções `switch` aceitam qualquer tipo de dado e uma variedade ampla de operações de comparação - elas não são limitadas a números inteiros e testes de igualdade.\n+\n+```swift\n+let vegetable = \"red pepper\"\n+switch vegetable {\n+case \"celery\":\n+    print(\"Adicione umas passas e faça um 'Ants on a Log'\")\n+case \"cucumber\", \"watercress\":\n+    print(\"Isso daria um bom sanduíche\")\n+case let x where x.hasSuffix(\"pepper\"):\n+    print(\"É um \\(x) apimentado?\")\n+default:\n+    print(\"Tudo fica saboroso numa sopa.\")\n+}\n+```\n+\n+>EXPERIMENTO\n+>\n+>Tente remover o caso `default`. Que erro você recebe?\n+\n+Repare como o `let` pode ser usado dentro de um padrão para atribuir à uma constante o valor que coincidiu com ele.\n+\n+Depois de executar o código dentro do `case` que foi utilizado, o programa sai do bloco de `switch`. A execução não continua para o próximo `case`, portanto não há necessidade de quebrar explicitamente o `switch` no final de cada bloco de `case`.\n+\n+Você usa `for-in` para iterar sobre itens de um dicionário, fornecendo um par de nomes a serem usados para cada par chave-valor. Dicionários são coleções não-ordenadas, portanto suas chaves e valores são iteradas numa ordem arbitrária.\n+\n+```swift\n+let interestingNumbers = [\n+    \"Prime\": [2, 3, 5, 7, 11, 13],\n+    \"Fibonacci\": [1, 1, 2, 3, 5, 8],\n+    \"Square\": [1, 4, 9, 16, 25]\n+]\n+var largest = 0\n+for (kind, numbers) in interestingNumbers {\n+    for number in numbers {\n+        if number > largest {\n+            largest = number\n+        }\n+    }\n+}\n+print(largest)\n+```\n+\n+>EXPERIMENTO\n+>\n+>Adicione outra variável para armazenar que tipo de número foi o maiorm, bem como que número foi esse.\n+\n+\n+Utilize `while` para repetir um bloco de código até que uma determinada condição seja alterada. A condição do laço de repetição pode estar no final também, garantindo que o laço será executado ao menos uma vez.\n+\n+```swift\n+var n = 2\n+while n < 100 {\n+    n = n * 2\n+}\n+print(n)\n+\n+var m = 2\n+repeat {\n+    m = m * 2\n+} while m < 100\n+print(m)\n+```\n+\n+Você pode manter um índice em um laço ou usando `..<` para fazer uma série de índices ou escrevendo uma inicialização explícita, condição e incremento. Estes dois laços fazem a mesma coisa:","path":"bemvindo/tour.md","position":206,"original_position":206,"commit_id":"e38a6c32a7992f4b3085fefd851bad5612b8c2bd","original_commit_id":"dc6cea26c62e4548680d92fb4192e155349c7445","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":"Concordo. Troquei aqui.","created_at":"2016-01-03T21:36:48Z","updated_at":"2016-01-03T21:36:48Z","html_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/31#discussion_r48697547","pull_request_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/comments/48697547"},"html":{"href":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/31#discussion_r48697547"},"pull_request":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/31","id":54692246,"html_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/31","diff_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/31.diff","patch_url":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/31.patch","issue_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/31","number":31,"state":"open","locked":false,"title":"[Revisão] Bem-vindo - Um Tour pelo Swift","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":"Ainda em andamento","created_at":"2015-12-28T23:38:25Z","updated_at":"2016-01-03T21:36:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4947c497098b71bff404ca97a50e6f7a0a946c1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/31/commits","review_comments_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/31/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/31/comments","statuses_url":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/statuses/e38a6c32a7992f4b3085fefd851bad5612b8c2bd","head":{"label":"CocoaHeadsBrasil:bem-vindo/tour","ref":"bem-vindo/tour","sha":"e38a6c32a7992f4b3085fefd851bad5612b8c2bd","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 pt-BR do livro oficial do Swift","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":"2016-01-01T19:45:18Z","pushed_at":"2016-01-03T06:26:31Z","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":"","size":1446,"stargazers_count":19,"watchers_count":19,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":15,"forks":9,"open_issues":15,"watchers":19,"default_branch":"master"}},"base":{"label":"CocoaHeadsBrasil:master","ref":"master","sha":"0da77a02809ebe714ebe1c2a535cb868211482f6","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 pt-BR do livro oficial do Swift","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":"2016-01-01T19:45:18Z","pushed_at":"2016-01-03T06:26:31Z","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":"","size":1446,"stargazers_count":19,"watchers_count":19,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":15,"forks":9,"open_issues":15,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/31"},"html":{"href":"https://github.com/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pull/31"},"issue":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/31"},"comments":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/pulls/31/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/31/commits"},"statuses":{"href":"https://api.github.com/repos/CocoaHeadsBrasil/the-swift-programming-language-in-portuguese-br/statuses/e38a6c32a7992f4b3085fefd851bad5612b8c2bd"}}}}