{"action":"created","comment":{"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/23499748","id":23499748,"diff_hunk":"@@ -0,0 +1,535 @@\n+---\n+language: swift\n+contributors:\n+  - [\"Grant Timmerman\", \"http://github.com/grant\"]\n+  - [\"Christopher Bess\", \"http://github.com/cbess\"]\n+filename: learnswift-ru.swift\n+translators:\n+  - [\"Dmitry Bessonov\", \"https://github.com/TheDmitry\"]\n+lang: ru-ru\n+---\n+\n+Swift - это язык программирования, созданный компанией Apple, для разработки\n+приложений iOS и OS X. Разработанный, чтобы сосуществовать с Objective-C и\n+быть более устойчивым к ошибочному коду, Swift был представлен в 2014 году на\n+конференции разработчиков Apple, WWDC. Приложения на Swift собираются\n+с помощью LLVM компилятора, включенного в Xcode 6+.\n+\n+Официальная книга по [языку программирования Swift](https://itunes.apple.com/us/book/swift-programming-language/id881256329) от Apple доступна в iBooks.\n+\n+Смотрите еще [начальное руководство](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html) Apple, которое содержит полное учебное пособие по Swift.\n+\n+```swift\n+// импорт модуля\n+import UIKit\n+\n+//\n+// MARK: Основы\n+//\n+\n+// Xcode поддерживает заметные маркеры, чтобы давать примечания свою коду\n+// и вносить их в список обозревателя (Jump Bar)\n+// MARK: Метка раздела\n+// TODO: Сделайте что-нибудь вскоре\n+// FIXME: Исправьте этот код\n+\n+println(\"Привет, мир\")\n+\n+// переменные (var), значение которых можно изменить после инициализации\n+// константы (let), значение которых нельзя изменить после инициализации\n+\n+var myVariable = 42\n+let øπΩ = \"значение\" // именование переменной символами unicode\n+let π = 3.1415926\n+let convenience = \"Ключевое слово\" // контекстное имя переменной\n+let weak = \"Ключевое слово\"; let override = \"еще ключевое слово\" // операторы\n+                                      // могут быть отделены точкой с запятой\n+let `class` = \"Ключевое слово\" // одинарные кавычки позволяют использовать","path":"ru-ru/swift-ru.html.markdown","position":47,"original_position":47,"commit_id":"ccb751c098cbefc4592734cf03e897adf0a1a0ed","original_commit_id":"ccb751c098cbefc4592734cf03e897adf0a1a0ed","user":{"login":"Oire","id":595597,"avatar_url":"https://avatars.githubusercontent.com/u/595597?v=3","gravatar_id":"","url":"https://api.github.com/users/Oire","html_url":"https://github.com/Oire","followers_url":"https://api.github.com/users/Oire/followers","following_url":"https://api.github.com/users/Oire/following{/other_user}","gists_url":"https://api.github.com/users/Oire/gists{/gist_id}","starred_url":"https://api.github.com/users/Oire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oire/subscriptions","organizations_url":"https://api.github.com/users/Oire/orgs","repos_url":"https://api.github.com/users/Oire/repos","events_url":"https://api.github.com/users/Oire/events{/privacy}","received_events_url":"https://api.github.com/users/Oire/received_events","type":"User","site_admin":false},"body":"backticks - обратные одинарные кавычки? Обратные апострофы?)","created_at":"2015-01-24T22:03:04Z","updated_at":"2015-01-24T22:03:04Z","html_url":"https://github.com/adambard/learnxinyminutes-docs/pull/932#discussion_r23499748","pull_request_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932","_links":{"self":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/23499748"},"html":{"href":"https://github.com/adambard/learnxinyminutes-docs/pull/932#discussion_r23499748"},"pull_request":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932"}}},"pull_request":{"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932","id":27611246,"html_url":"https://github.com/adambard/learnxinyminutes-docs/pull/932","diff_url":"https://github.com/adambard/learnxinyminutes-docs/pull/932.diff","patch_url":"https://github.com/adambard/learnxinyminutes-docs/pull/932.patch","issue_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/932","number":932,"state":"open","locked":false,"title":"[swift/ru] Translating Swift guide into Russian","user":{"login":"TheDmitry","id":8616373,"avatar_url":"https://avatars.githubusercontent.com/u/8616373?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDmitry","html_url":"https://github.com/TheDmitry","followers_url":"https://api.github.com/users/TheDmitry/followers","following_url":"https://api.github.com/users/TheDmitry/following{/other_user}","gists_url":"https://api.github.com/users/TheDmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDmitry/subscriptions","organizations_url":"https://api.github.com/users/TheDmitry/orgs","repos_url":"https://api.github.com/users/TheDmitry/repos","events_url":"https://api.github.com/users/TheDmitry/events{/privacy}","received_events_url":"https://api.github.com/users/TheDmitry/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-19T14:45:41Z","updated_at":"2015-01-24T22:03:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"144f035865dd0bde10cab3ea916c243e93bbe4f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932/commits","review_comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932/comments","review_comment_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/932/comments","statuses_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/ccb751c098cbefc4592734cf03e897adf0a1a0ed","head":{"label":"TheDmitry:master","ref":"master","sha":"ccb751c098cbefc4592734cf03e897adf0a1a0ed","user":{"login":"TheDmitry","id":8616373,"avatar_url":"https://avatars.githubusercontent.com/u/8616373?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDmitry","html_url":"https://github.com/TheDmitry","followers_url":"https://api.github.com/users/TheDmitry/followers","following_url":"https://api.github.com/users/TheDmitry/following{/other_user}","gists_url":"https://api.github.com/users/TheDmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDmitry/subscriptions","organizations_url":"https://api.github.com/users/TheDmitry/orgs","repos_url":"https://api.github.com/users/TheDmitry/repos","events_url":"https://api.github.com/users/TheDmitry/events{/privacy}","received_events_url":"https://api.github.com/users/TheDmitry/received_events","type":"User","site_admin":false},"repo":{"id":29122765,"name":"learnxinyminutes-docs","full_name":"TheDmitry/learnxinyminutes-docs","owner":{"login":"TheDmitry","id":8616373,"avatar_url":"https://avatars.githubusercontent.com/u/8616373?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDmitry","html_url":"https://github.com/TheDmitry","followers_url":"https://api.github.com/users/TheDmitry/followers","following_url":"https://api.github.com/users/TheDmitry/following{/other_user}","gists_url":"https://api.github.com/users/TheDmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDmitry/subscriptions","organizations_url":"https://api.github.com/users/TheDmitry/orgs","repos_url":"https://api.github.com/users/TheDmitry/repos","events_url":"https://api.github.com/users/TheDmitry/events{/privacy}","received_events_url":"https://api.github.com/users/TheDmitry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheDmitry/learnxinyminutes-docs","description":"Code documentation written as code! How novel and totally my idea!","fork":true,"url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs","forks_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/forks","keys_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/teams","hooks_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/hooks","issue_events_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/issues/events{/number}","events_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/events","assignees_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/assignees{/user}","branches_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/branches{/branch}","tags_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/tags","blobs_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/languages","stargazers_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/stargazers","contributors_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/contributors","subscribers_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/subscribers","subscription_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/subscription","commits_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/issues/comments/{number}","contents_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/contents/{+path}","compare_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/merges","archive_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/downloads","issues_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/issues{/number}","pulls_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/labels{/name}","releases_url":"https://api.github.com/repos/TheDmitry/learnxinyminutes-docs/releases{/id}","created_at":"2015-01-12T06:53:52Z","updated_at":"2015-01-11T20:28:38Z","pushed_at":"2015-01-23T08:36:18Z","git_url":"git://github.com/TheDmitry/learnxinyminutes-docs.git","ssh_url":"git@github.com:TheDmitry/learnxinyminutes-docs.git","clone_url":"https://github.com/TheDmitry/learnxinyminutes-docs.git","svn_url":"https://github.com/TheDmitry/learnxinyminutes-docs","homepage":"http://learnxinyminutes.com/","size":5148,"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":"adambard:master","ref":"master","sha":"b4ecc1e760973efb70e842b5186220cf5dba4b51","user":{"login":"adambard","id":515720,"avatar_url":"https://avatars.githubusercontent.com/u/515720?v=3","gravatar_id":"","url":"https://api.github.com/users/adambard","html_url":"https://github.com/adambard","followers_url":"https://api.github.com/users/adambard/followers","following_url":"https://api.github.com/users/adambard/following{/other_user}","gists_url":"https://api.github.com/users/adambard/gists{/gist_id}","starred_url":"https://api.github.com/users/adambard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambard/subscriptions","organizations_url":"https://api.github.com/users/adambard/orgs","repos_url":"https://api.github.com/users/adambard/repos","events_url":"https://api.github.com/users/adambard/events{/privacy}","received_events_url":"https://api.github.com/users/adambard/received_events","type":"User","site_admin":false},"repo":{"id":10974951,"name":"learnxinyminutes-docs","full_name":"adambard/learnxinyminutes-docs","owner":{"login":"adambard","id":515720,"avatar_url":"https://avatars.githubusercontent.com/u/515720?v=3","gravatar_id":"","url":"https://api.github.com/users/adambard","html_url":"https://github.com/adambard","followers_url":"https://api.github.com/users/adambard/followers","following_url":"https://api.github.com/users/adambard/following{/other_user}","gists_url":"https://api.github.com/users/adambard/gists{/gist_id}","starred_url":"https://api.github.com/users/adambard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambard/subscriptions","organizations_url":"https://api.github.com/users/adambard/orgs","repos_url":"https://api.github.com/users/adambard/repos","events_url":"https://api.github.com/users/adambard/events{/privacy}","received_events_url":"https://api.github.com/users/adambard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adambard/learnxinyminutes-docs","description":"Code documentation written as code! How novel and totally my idea!","fork":false,"url":"https://api.github.com/repos/adambard/learnxinyminutes-docs","forks_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/forks","keys_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/teams","hooks_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/hooks","issue_events_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/events{/number}","events_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/events","assignees_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/assignees{/user}","branches_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/branches{/branch}","tags_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/tags","blobs_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/languages","stargazers_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/stargazers","contributors_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/contributors","subscribers_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/subscribers","subscription_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/subscription","commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/comments/{number}","contents_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/contents/{+path}","compare_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/merges","archive_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/downloads","issues_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues{/number}","pulls_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/labels{/name}","releases_url":"https://api.github.com/repos/adambard/learnxinyminutes-docs/releases{/id}","created_at":"2013-06-26T17:58:34Z","updated_at":"2015-01-24T01:54:05Z","pushed_at":"2015-01-24T21:46:23Z","git_url":"git://github.com/adambard/learnxinyminutes-docs.git","ssh_url":"git@github.com:adambard/learnxinyminutes-docs.git","clone_url":"https://github.com/adambard/learnxinyminutes-docs.git","svn_url":"https://github.com/adambard/learnxinyminutes-docs","homepage":"http://learnxinyminutes.com/","size":9310,"stargazers_count":2091,"watchers_count":2091,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":681,"mirror_url":null,"open_issues_count":27,"forks":681,"open_issues":27,"watchers":2091,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932"},"html":{"href":"https://github.com/adambard/learnxinyminutes-docs/pull/932"},"issue":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/932"},"comments":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/issues/932/comments"},"review_comments":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932/comments"},"review_comment":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/pulls/932/commits"},"statuses":{"href":"https://api.github.com/repos/adambard/learnxinyminutes-docs/statuses/ccb751c098cbefc4592734cf03e897adf0a1a0ed"}}}}