summaryrefslogtreecommitdiffhomepage
path: root/swift.html.markdown
diff options
context:
space:
mode:
authorAdam <adam@adambard.com>2015-12-01 20:38:00 +0700
committerAdam <adam@adambard.com>2015-12-01 20:38:00 +0700
commit60b2f9dbdc9b658d2d96d3cb6c146b6e82245d9c (patch)
tree1eaa59eead8c1b764421989010efb66f4a4a7b48 /swift.html.markdown
parentccb05ba98a5b411029e8d7c1e7ea2cd7d87bced4 (diff)
parentc2a9369827411c507ed43dee6683dcd60329b677 (diff)
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Diffstat (limited to 'swift.html.markdown')
-rw-r--r--swift.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift.html.markdown b/swift.html.markdown
index 33ff8451..e6bf1621 100644
--- a/swift.html.markdown
+++ b/swift.html.markdown
@@ -46,7 +46,7 @@ let `class` = "keyword" // backticks allow keywords to be used as variable names
let explicitDouble: Double = 70
let intValue = 0007 // 7
let largeIntValue = 77_000 // 77000
-let label = "some text " + String(myVariable) // Casting
+let label = "some text " + String(myVariable) // String construction
let piText = "Pi = \(π), Pi 2 = \(π * 2)" // String interpolation
// Build Specific values