by Derek Jensen
Lessons:30Length:4.8 hours

For full access to all 30 lessons, including source files, subscribe with Elements.
- Overview
- Transcript
4.4 Guard
Another cool new feature of the Swift 2 language is the guard
statement. Guards were added to Swift in order to allow developers to reduce the amount of nested if
statements in their code. We can now get rid of deep nesting in a structured, easily understandable way.
1.Introduction3 lessons, 15:05
3 lessons, 15:05
Free Lesson 1.1Introduction01:13
Free Lesson
1.1
Introduction
01:13
Free Lesson 1.2Prerequisites02:39
Free Lesson
1.2
Prerequisites
02:39
1.3Development Options11:13
1.3
Development Options
11:13
2.Foundational Concepts5 lessons, 43:51
5 lessons, 43:51
2.1Variables and Constants07:25
2.1
Variables and Constants
07:25
2.2Basic Types09:22
2.2
Basic Types
09:22
2.3Optionals10:57
2.3
Optionals
10:57
2.4Comments04:42
2.4
Comments
04:42
2.5Demo: Addition Calculator11:25
2.5
Demo: Addition Calculator
11:25
3.Working With Collections3 lessons, 26:26
3 lessons, 26:26
3.1Intro to Collections09:29
3.1
Intro to Collections
09:29
3.2Sets and Dictionaries09:02
3.2
Sets and Dictionaries
09:02
3.3Tuples07:55
3.3
Tuples
07:55
4.Controlling Flow7 lessons, 1:22:24
7 lessons, 1:22:24
4.1Conditionals11:52
4.1
Conditionals
11:52
4.2Looping14:34
4.2
Looping
14:34
4.3Exceptions16:11
4.3
Exceptions
16:11
4.4Guard07:21
4.4
Guard
07:21
4.5Pattern Matching11:59
4.5
Pattern Matching
11:59
4.6Availability Checking05:27
4.6
Availability Checking
05:27
4.7Demo: Sentence Analyzer15:00
4.7
Demo: Sentence Analyzer
15:00
5.Functions5 lessons, 51:54
5 lessons, 51:54
5.1Intro to Functions14:28
5.1
Intro to Functions
14:28
5.2Function Parameters09:35
5.2
Function Parameters
09:35
5.3Function Types07:25
5.3
Function Types
07:25
5.4Closures10:00
5.4
Closures
10:00
5.5Demo: FizzBuzz10:26
5.5
Demo: FizzBuzz
10:26
6.Creating Types6 lessons, 1:08:10
6 lessons, 1:08:10
6.1Enumerations14:35
6.1
Enumerations
14:35
6.2Classes and Structures10:15
6.2
Classes and Structures
10:15
6.3Classes vs. Structures08:37
6.3
Classes vs. Structures
08:37
6.4Protocols09:08
6.4
Protocols
09:08
6.5Extensions10:26
6.5
Extensions
10:26
6.6Demo: Todo15:09
6.6
Demo: Todo
15:09
7.Conclusion1 lesson, 01:15
1 lesson, 01:15
7.1Goodbye01:15
7.1
Goodbye
01:15
Continue watching with Elements
Continue watching with Elements