There is an updated version of this course available, created for Swift 5.5, iOS 15, Xcode 13. View Latest Version
Pro

Beginning Swift 2

Sep 1 2015 · Video Course (1 hr, 49 mins) · Beginner

Learn about Apple’s brand new programming language, Swift, through hands-on examples! This series is primarily intended for those who have some prior programming experience and are looking to get up-to-speed quickly with Swift 2. This series requires use of Xcode 7.

If you are completely new to programming, this series may go a bit too fast for you. If this is the case for you, I recommend going through part 1 of our iOS Apprentice series, which you can get for free by signing up to our site newsletter.

Version

  • Swift 2, iOS 9, Xcode 7

Introduction

3:28 Free

Find out what's covered in our Beginning Swift video series and get started learning Swift 2.

1

Playgrounds

10:14

Ease into the Swift language and learn about playgrounds, which is where we'll be working for the rest of the series.

2

Go beyond just values in your Swift 2 playground and look at variables, constants, and a little more about the type system.

3

Learn about control flow and scope in Swift 2 including making decisions, conditions and repeating steps with loops.

4

Functions

9:00

Learn how to use functions in Swift 2 to group your code together to into a reusable unit.

5

Optionals

10:42

Learn about optionals in Swift 2 and how you can safely unwrap them.

6

Structs

8:52

Learn how to use structs in Swift 2 to combine data and functions.

7

Learn about arrays and sets in Swift 2.

8

Learn how to use dictionaries in Swift 2 to map one thing to another.

9

Classes

13:18

Learn about the complexities of classes, a compositional type similar to structs.

10

Learn how to use enumerations to define your own limited set of options.

11

Conclusion

5:13

Review what you've learned in this Beginning Swift video series and see how it relates to some big picture concepts.

12

Version history

iOS 15, Swift 5.5, Xcode 13

Oct 19 2021

iOS 14, Swift 5.3, Xcode 12

Aug 1 2020

iOS 12, Swift 4, Xcode 10

Aug 21 2018

iOS 11, Swift 4, Xcode 9

Sep 26 2017

iOS 10, Swift 3, Xcode 8

Sep 13 2016

iOS 9, Swift 2, Xcode 7 (Selected)

Sep 1 2015

Contributors

Comments