Selaa lähdekoodia

Typo fixed in map example.

Marco Bambini 8 vuotta sitten
vanhempi
commit
109a1e6233

+ 1 - 1
docs/maps.html

@@ -112,7 +112,7 @@
 			<p>An item can be added to a map simply settings a key/value:</p>
 			<p>An item can be added to a map simply settings a key/value:</p>
 			<pre><code class="swift">
 			<pre><code class="swift">
 	var people = ["Mark":1, "Andrew":2, "Paul":3, "Ross":4];
 	var people = ["Mark":1, "Andrew":2, "Paul":3, "Ross":4];
-	map["Kiara"] = 5;	// map now contains the "Kiara" key with value 5
+	people["Kiara"] = 5;	// people now contains the "Kiara" key with value 5
 			</code></pre>
 			</code></pre>
 			
 			
 			<h4 class="section-h4">Removing elements</h4>
 			<h4 class="section-h4">Removing elements</h4>

BIN
gravity.xcodeproj/project.xcworkspace/xcuserdata/marco.xcuserdatad/UserInterfaceState.xcuserstate