Skip to content

Commit 2ee2566

Browse files
committed
fix spelling mistakes
1 parent 4b7c3d9 commit 2ee2566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

a-better-way-to-learn-swift.mdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ We can take all of our knowledge of the various data types in Swift and give the
162162

163163
## Control Flow
164164

165-
Ok now things get exciting. We are going to cover optionals, loops, functions, and closures. These concepts allow us to allow our code to do things only under certain conditions. Armed with this knowledge and what you've learned so far, you will be able to write code more consisely and you'll even be able to write the logic for basic games.
165+
Ok now things get exciting. We are going to cover optionals, loops, functions, and closures. These concepts allow us to allow our code to do things only under certain conditions. Armed with this knowledge and what you've learned so far, you will be able to write code more concisely and you'll even be able to write the logic for basic games.
166166

167167
### Loops and Conditionals
168168
Control flow constructs in Swift allow us to iterate over collections, loop through a chunk of code multiple times, and execute code based on conditional statements. The MadApper series does a good job of covering these concepts
@@ -187,7 +187,7 @@ Optional are a concept that is introduced in Swift and has no parallel in C or O
187187

188188
### Functions and Closures
189189

190-
Functions and Closures are self-contained blocks of code functionality. That is a vague explanation becuase functions and closures have very broad uses and can take many forms. For this section, jump in with two long (and excellent) video tutorials from Skip Wilson to get a practical crash course.
190+
Functions and Closures are self-contained blocks of code functionality. That is a vague explanation because functions and closures have very broad uses and can take many forms. For this section, jump in with two long (and excellent) video tutorials from Skip Wilson to get a practical crash course.
191191

192192
* [x]: [Functions][functions]
193193
* [x]: [Closures][closures]

0 commit comments

Comments
 (0)