playground
Version:
Create Xcode Playgrounds for the Swift programming language with rich documentation generated from Markdown
21 lines (19 loc) • 803 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>Section 1</title>
<meta id="xcode-display" name="xcode-display" content="render">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, maximum-scale=1.0">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
<div class="content-wrapper">
<section class="section">
<h1 id="simple-variables">Simple Variables</h1>
<p>Use <code>let</code> to make a constant and <code>var</code> to make a variable. The value of a constant doesn’t need to be known at compile time, but you must assign it a value exactly once. This means you can use constants to name a value that you determine once but use in many places</p>
</section>
</div>
</body>
</html>