We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6244068 commit 429eb87Copy full SHA for 429eb87
8. Enumerations.playground/section-1.swift
@@ -5,7 +5,7 @@
5
// Rather that containing "one of a set of integer values" like most C-like languages, Swift's
6
// enumerations can be thought of as holding one named type of a given set of named types.
7
//
8
-// To clarify: Rather than holding an ingeger value that has been pre-defined integer value
+// To clarify: Rather than holding an integer value that has been pre-defined integer value
9
// (Error = -1, Success = 0) an enumeration in Swift only associates a name with a type (like
10
// Int, String, Tuple, etc.) These elements of the enumeration can then be assigned "Associated
11
// Values." For example, an enumeration can store an "Error" which is a Tuple with an Int value
0 commit comments