summaryrefslogtreecommitdiffhomepage
path: root/swift.html.markdown
Commit message (Collapse)AuthorAgeLines
* fix a typo (#4172)Xing Zheng2022-01-04-1/+1
| | | the variable name should be `someIdentifier` instead of `willSet`.
* [swift/en] fix typo about break statement in loop (#4258)Chen Yufei2021-10-30-1/+1
| | | Just a small fix.
* Rename OS X to macOS (#4166)Борис Верховский2021-05-25-1/+1
|
* Add a short note about `final` keywordmofarajmandi2020-10-17-0/+11
| | | | It's a general good practice to mark classes as `final` unless they are designed to be subclassed.
* Merge pull request #3788 from bantic/patch-1Divay Prakash2020-01-24-1/+1
|\ | | | | [swift/en] Return value of `findIndex` is `Optional<Int>`
| * Return value of `findIndex` is `Optional<Int>`Cory Forsyth2019-12-02-1/+1
| |
* | add downcast to the tutorialhamidra2019-11-01-0/+5
|/
* [swift/en] Fix typosHugo Locurcio2019-10-22-28/+28
|
* [Swift/en] Fix quoted multi-line stringSam2019-08-03-5/+8
| | | The renderer on the website doesn't recognize Swift multi-line strings, so a bunch of the file was treated as a string literal. This adds another " in the multi-line string to balance it out
* [Swift/en] Update to Swift 5 and include omitted examples (#3553)Sam2019-08-03-341/+647
| | | | | | | | * Update to Swift 5 and include omitted examples * Reformat lines to ~80 characters * Fix mistype and add optional chaining
* Removed deprecated referenceJoseph G2018-10-11-2/+2
|
* swift | fix style guidelinesDamian Rzeszot2017-10-09-6/+6
|
* swift | fix style guidelinesDamian Rzeszot2017-10-09-3/+3
|
* swift | fix style guidelinesDamian Rzeszot2017-10-09-6/+6
|
* swift | fix style guidelinesDamian Rzeszot2017-10-09-4/+4
|
* Fix a bunch of typosHairyFotr2017-08-23-1/+1
|
* Added nil-coalescing operatorKyle Rokita2016-11-11-0/+5
|
* Updated code according Swift v.3 (#2427)Alexey Nazaroff2016-10-08-32/+36
| | | | | | * Updated code according Swift v.3 * [swift] Removed "where" in conditional statements
* Update Swift pre-decrement syntax to match v3.0 (#2395)Evan2016-10-01-2/+2
|
* Add documentation comment for If letgprasant2016-02-19-0/+2
|
* [Swift/en] Deleted semicolon to be consistent - Small FixPaul Brewczynski2016-01-16-1/+1
| | | | | this line let weak = "keyword"; let override = "another keyword" // statements can be separated by a semi-colon show off semicolon use. But after that semicolon is not used, so I removed inconsistency.
* Updated comment on documentation of Swift functionsPaul Brewczynski2016-01-14-1/+1
| | | | | | Documentation syntax is no longer reStructuredText, It's "Swift-flavored version of Markdown" http://nshipster.com/swift-documentation/
* Updated documentation syntaxPaul Brewczynski2016-01-13-3/+3
| | | As Xcode switched to Markdown syntax, I've updated it.
* Merge pull request #2021 from bobrippling/masterAdam Bard2015-11-30-1/+1
|\ | | | | [swift/en] Correct "Casting" mention in swift markdown
| * Correct "Casting" mention in swift markdownRob Pilling2015-11-13-1/+1
| | | | | | | | 'T()' is initialisation/creation, 'x as T' is casting
* | - added error handling exampleC. Bess2015-11-23-1/+39
|/ | | | | - add do-try-catch examples - add throw example
* - add where and guard examplesC. Bess2015-11-10-2/+21
|
* - update Swift examplesC. Bess2015-11-09-43/+38
| | | | | - update to upgrade to Swift 2.1 - code cleanup
* Merge remote-tracking branch 'adambard/master'C. Bess2015-11-09-40/+124
|\ | | | | | | | | Conflicts: swift.html.markdown
| * Update contributor listFernando Valverde Arredondo2015-11-01-2/+3
| |
| * Include MARK style and two collection declarationsFernando Valverde2015-10-30-0/+3
| | | | | | Added MARK with separator and a couple of mutable explicit declarations of empty Array/Dictionary
| * Merge pull request #1381 from cwalk/swift-2Levi Bostian2015-10-09-4/+12
| |\ | | | | | | [swift/en] Added clearer description of Optionals and Unwrapping.
| | * Suggested changesClayton Walker2015-10-08-5/+5
| | |
| | * Added clearer description of Optionals and Unwrapping. Minor typo changes as ↵Clayton Walker2015-10-06-18/+25
| | | | | | | | | | | | well.
| | * Forgot to add myself as a contributor from swift-1 pull request.Clayton Walker2015-10-06-0/+1
| | |
| * | Add generics operator in SwiftValentine Silvansky2015-10-08-0/+14
| | |
| * | removing whitespace all overGabriel Halley2015-10-07-15/+15
| | |
| * | Original link directs to page that can't be found. Changed to represent new ↵Clayton Walker2015-10-06-1/+1
| |/ | | | | | | location of the Apple Developer tutorial on swift.
| * Println deprecated in Swift 2, added nameAnthony Nguyen2015-08-03-0/+1
| |
| * Updated print description on SwiftAnthony Nguyen2015-08-03-3/+3
| |
| * Println deprecated in Swift 2Anthony Nguyen2015-08-03-27/+29
| |
| * add optional init and enum with associated valuesJoey Huang2015-02-28-0/+52
| |
| * [swift/en,cn,ru]Updating the getting started guide weblink.TheDmitry2015-01-28-1/+1
| |
| * Explain Optional ChainingKeito Uchiyama2015-01-20-1/+4
| | | | | | | | | | | | Without going into too much detail, mention optional chaining so it's not confusing that there is a question mark suffix (it's not currently mentioned anywhere on the page).
| * Update swift.html.markdownyelite2015-01-18-1/+1
| |
* | - update examplesC. Bess2015-11-09-1/+16
|/ | | | - add examples for labeled tuples and computed properties
* - update examples, update commentsC. Bess2014-12-13-22/+47
| | | | | | | - add another Switch example - add more complex func example - fix playground error - add another casting example
* - update examplesC. Bess2014-10-17-4/+52
| | | | | | | - further explain Optional types - add build config example - explain array/dictionary mutability - expand tuple example
* - mo betta examplesC. Bess2014-10-04-22/+59
| | | | | | - add `inout` example - better `optional` example - Playground issue has been resolved, uncommented `protocol` example
* Review docs for added rouge lexers and update those with new highlightersAdam2014-09-08-1/+1
|