Swift basic constructs

Swift Basic constructs

In this online course, we'll go over the basic constructs of the Swift programming language in a beginner friendly way. You'll create simple Apple apps.

Introduction to Swift, the platform and Xcode

Lesson 1 - Introduction to Swift, the platform and Xcode

In this tutorial, we'll get familiar with the Swift programming language. We'll go over its history and features. We'll also look at the Xcode IDE.
FreeUnratedWritten by Filip Němeček
Variables, type system and parsing in Swift

Lesson 2 - Variables, type system and parsing in Swift

In this tutorial, we'll go over variables, type systems and difference between let and var in Swift. You'll learn how to parse values from the console.
FreeUnratedWritten by Filip Němeček
Exercises for Swift lessons 1-2

Exercises for Swift lessons 1-2

Solved programmer tasks in Swift on variables, type systems, and parsing. The tasks are ordered by difficulty. Solutions are available for download.
FreeUnratedWritten by Samuel Kodytek
More on the Swift type system: Data types

Lesson 3 - More on the Swift type system: Data types

This lesson is all about the different data types in the Swift language. We'll also cover String methods, such as working with substrings and so on.
FreeUnratedWritten by Filip Němeček
Exercises for Swift lesson 3

Exercises for Swift lesson 3

Solved programmer tasks in Swift on data types and strings. The tasks are ordered by difficulty. Solutions are available for download.
Premium IIUnratedWritten by Samuel Kodytek
Conditions (branching) in Swift

Lesson 4 - Conditions (branching) in Swift

This tutorial explains branching in Swift, i.e. the if/else condition and the switch construct, contains sample programs and an improved calculator.
FreeUnratedWritten by Filip Němeček
Exercises for Swift lesson 4

Exercises for Swift lesson 4

Solved programmer tasks in Swift on conditions, branching, and switch. The tasks are ordered by difficulty. Solutions are available for download.
Premium IIUnratedWritten by Samuel Kodytek
Loops in Swift

Lesson 5 - Loops in Swift

This tutorial goes over loops in Swift. We'll go over for and while loops, and create simple apps such as a multiplication table, exponents, and so on.
FreeUnratedWritten by Filip Němeček
Exercises for Swift lesson 5

Exercises for Swift lesson 5

Solved programmer tasks in Swift on loops (mainly the for loop). The tasks are ordered by difficulty. Solutions are available for download.
Premium IIUnratedWritten by Samuel Kodytek
Type system: Optionals in Swift

Lesson 6 - Type system: Optionals in Swift

Finally, we'll explain the important concept of Optionals in Swift. We're going to talk about all the exclamation and question marks in source code.
FreeUnratedWritten by Filip Němeček
Arrays in Swift

Lesson 7 - Arrays in Swift

In this lesson, you will learn about arrays in Swift. We'll go over different declarations, filling, printing and array methods.
FreeUnratedWritten by Filip Němeček
Exercises for Swift lesson 7

Exercises for Swift lesson 7

Solved programmer tasks in Swift on arrays and the for loop. The tasks are ordered by difficulty. Solutions are available for download.
Premium IIUnratedWritten by Samuel Kodytek
Strings in Swift - Working with single characters

Lesson 8 - Strings in Swift - Working with single characters

This lesson will show you how to access single string characters. You'll learn about the ASCII table and create several practical apps in Swift.
FreeUnratedWritten by Filip Němeček
Strings in Swift - Split

Lesson 9 - Strings in Swift - Split

In this lesson, you'll learn several new String methods and create a Morse alphabet decoder using the split() and joined methods.
FreeUnratedWritten by Filip Němeček
Multidimensional arrays in Swift

Lesson 10 - Multidimensional arrays in Swift

This tutorial goes over 2d arrays and multidimensional arrays in general in Swift. Including examples.
FreeUnratedWritten by Filip Němeček
Mathematical functions in Swift

Lesson 11 - Mathematical functions in Swift

This Swift lesson is all about math functions like rounding, trigonometry, exponents, roots, etc.
FreeUnratedWritten by Filip Němeček


 

Activities (2)