mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-23 14:17:02 +03:00
Merge remote-tracking branch 'upstream/master' into json-ru
This commit is contained in:
commit
8231809500
@ -1,7 +1,7 @@
|
||||
---
|
||||
language: swift
|
||||
contributors:
|
||||
- ["Grant Timmerman", "http://github.com/grant"],
|
||||
- ["Grant Timmerman", "http://github.com/grant"]
|
||||
- ["Christopher Bess", "http://github.com/cbess"]
|
||||
translators:
|
||||
- ["Mariane Siqueira Machado", "https://twitter.com/mariane_sm"]
|
||||
@ -16,7 +16,7 @@ developer conference WWDC. Foi construída com o compilador LLVM já incluído n
|
||||
O livro oficial [Swift Programming Language] (https://itunes.apple.com/us/book/swift-programming-language/id881256329) da
|
||||
Apple já está disponível via IBooks (apenas em inglês).
|
||||
|
||||
Confira também o tutorial completo de Swift da Apple [getting started guide](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html), também disponível apenas em inglês.
|
||||
Confira também o tutorial completo de Swift da Apple [getting started guide](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/RoadMapiOS/index.html), também disponível apenas em inglês.
|
||||
|
||||
```swift
|
||||
// importa um módulo
|
||||
|
@ -17,7 +17,7 @@ Swift - это язык программирования, созданный к
|
||||
|
||||
Официальная книга по [языку программирования Swift](https://itunes.apple.com/us/book/swift-programming-language/id881256329) от Apple доступна в iBooks.
|
||||
|
||||
Смотрите еще [начальное руководство](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html) Apple, которое содержит полное учебное пособие по Swift.
|
||||
Смотрите еще [начальное руководство](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/RoadMapiOS/index.html) Apple, которое содержит полное учебное пособие по Swift.
|
||||
|
||||
```swift
|
||||
// импорт модуля
|
||||
|
@ -453,7 +453,7 @@ def matchEverything(obj: Any): String = obj match {
|
||||
// feature is so powerful that Scala lets you define whole functions as
|
||||
// patterns:
|
||||
val patternFunc: Person => String = {
|
||||
case Person("George", number") => s"George's number: $number"
|
||||
case Person("George", number) => s"George's number: $number"
|
||||
case Person(name, number) => s"Random person's number: $number"
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ Swift is a programming language for iOS and OS X development created by Apple. D
|
||||
|
||||
The official [Swift Programming Language](https://itunes.apple.com/us/book/swift-programming-language/id881256329) book from Apple is now available via iBooks.
|
||||
|
||||
See also Apple's [getting started guide](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html), which has a complete tutorial on Swift.
|
||||
See also Apple's [getting started guide](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/RoadMapiOS/index.html), which has a complete tutorial on Swift.
|
||||
|
||||
```swift
|
||||
// import a module
|
||||
|
@ -10,7 +10,7 @@ lang: zh-cn
|
||||
|
||||
Swift 是Apple 开发的用于iOS 和OS X 开发的编程语言。Swift 于2014年Apple WWDC (全球开发者大会)中被引入,用以与Objective-C 共存,同时对错误代码更具弹性。Swift 由Xcode 6 beta 中包含的LLVM编译器编译。
|
||||
|
||||
参阅:Apple's [getting started guide](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/LandingPage/index.html) ——一个完整的Swift 教程
|
||||
参阅:Apple's [getting started guide](https://developer.apple.com/library/prerelease/ios/referencelibrary/GettingStarted/RoadMapiOS/index.html) ——一个完整的Swift 教程
|
||||
|
||||
```swift
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user