Swift

Articles on the Swift programming language
Jan
02
Label Statements in Swift

Label Statements in Swift

Label statements are a way for an inner loop to have control of the outer loop.
2 min read
Dec
31
Optionals in Swift

Optionals in Swift

Optional data types can represent both a variable having a value or not having a value.
3 min read
Dec
30
Guard Statements in Swift

Guard Statements in Swift

Guard statements allow you to prevent methods from executing if certain preconditions are not met.
1 min read
Dec
27
Switch Statements in Swift

Switch Statements in Swift

Switch statements allow you to execute a block of code by matching one or more values.
3 min read
Dec
26
For Loops in Swift

For Loops in Swift

For loops are used to iterate through collections or ranges.
2 min read
Dec
23
Ranges in Swift

Ranges in Swift

Ranges are a special type of syntax that allows you to build a sequence of values.
2 min read
Dec
20
Multi-line Strings in Swift

Multi-line Strings in Swift

Multi-line strings allow you to build a string using different syntax that is more clear for a multi-line string.
2 min read
Dec
19
String Interpolation in Swift

String Interpolation in Swift

Building clean string values without string concatenation.
1 min read
Dec
18
Strings in Swift

Strings in Swift

Strings are multiple characters represented as a single value.
2 min read
Dec
17
Comparison Operators in Swift

Comparison Operators in Swift

Comparison operators allow you to check things like equality and if a value is less than or greater than another value.
2 min read