Front-end week Front-end week
This week up to 80% off on HTML/CSS and JavaScript courses.

Object-oriented programming in Swift

In this online course we'll learn the object-oriented programming in Swift from the first object-oriented app to advanced structures.

Lessons

Introduction to object-oriented programming in Swift

Lesson 1 - Introduction to object-oriented programming in Swift

In this tutorial, we'll introduce object-oriented programming in Swift, explain historical origins as well as terms such as classes, fields, and methods.
FreeUnratedWritten by Filip Němeček
First object-oriented app in Swift

Lesson 2 - First object-oriented app in Swift

In this tutorial we'll create our first object-oriented app in Swift - Hello object world. We'll create classes, attributes and parameterized methods.
FreeUnratedWritten by Filip Němeček
RollingDie in Swift - Constructors and Random numbers

Lesson 3 - RollingDie in Swift - Constructors and Random numbers

In this tutorial, we'll learn how to use constructors and a random number generator. We'll program a rolling die in Swift, as the first part of our arena.
FreeUnratedWritten by Filip Němeček
Reference and value data types in Swift

Lesson 4 - Reference and value data types in Swift

In this tutorial, we'll explain in detail how Swift works with references (objects) in memory in contrast to value data types. We'll describe ARC.
FreeUnratedWritten by Filip Němeček
Warrior for the arena in Swift

Lesson 5 - Warrior for the arena in Swift

In this Swift tutorial, we'll create a warrior object (class). Its instances will battle in the arena next time.
FreeUnratedWritten by Filip Němeček
Arena with warriors in Swift

Lesson 6 - Arena with warriors in Swift

In this tutorial, we'll finish our arena with warriors. As a result, we'll have an object-oriented Swift application simulating a board game.
FreeUnratedWritten by Filip Němeček
Inheritance and polymorphism in Swift

Lesson 7 - Inheritance and polymorphism in Swift

In this Swift tutorial, we'll go over object inheritance and polymorphism. We'll learn how to reuse code and explain what the fileprivate modifier is.
FreeUnratedWritten by Filip Němeček
Arena with a mage in Swift (inheritance and polymorphism)

Lesson 8 - Arena with a mage in Swift (inheritance and polymorphism)

In this Swift lesson, you'll learn how to call super constructors, override methods and put what you know about inheritance and polymorphism to the test.
FreeUnratedWritten by Filip Němeček
Static class members in Swift

Lesson 9 - Static class members in Swift

In this Swift tutorial, we'll learn how to use static properties, methods, constructor, and create a static registry.
FreeUnratedWritten by Filip Němeček
Properties in Swift

Lesson 10 - Properties in Swift

In this Swift tutorial, we'll show how to declare advanced properties called compound properties, getters/setters, which allow us better encapsulation.
FreeUnratedWritten by Filip Němeček
Protocols (interfaces) in Swift

Lesson 11 - Protocols (interfaces) in Swift

In this tutorial, we'll learn how to use protocols (interfaces) in Swift, how to implement them using Xcode, and replace multiple inheritance with it.
FreeUnratedWritten by Filip Němeček
Type casting and object hierarchy in Swift

Lesson 12 - Type casting and object hierarchy in Swift

You'll learn how to cast an instance to another data type using protocols in Swift. You'll also learn to create an object hierarchy.
Premium IIUnratedWritten by Filip Němeček
Overloading operators and other useful syntax in Swift

Lesson 13 - Overloading operators and other useful syntax in Swift

We'll show you how to define operators for custom types, including custom operators, and a few more useful things in Swift.
Premium IIUnratedWritten by Filip Němeček
Handling errors in Swift

Lesson 14 - Handling errors in Swift

We'll have a look at error handling in Swift; how to deal with exceptions that may occur at runtime, try and do-catch blocks, and using defer.
FreeUnratedWritten by Filip Němeček
Enums and custom errors in Swift

Lesson 15 - Enums and custom errors in Swift

In this Swift tutorial, we'll learn to use enums, the enumerated types. It'll be followed by creating and handling custom Errors.
Premium IIUnratedWritten by Filip Němeček
Extensions and their use in Swift

Lesson 16 - Extensions and their use in Swift

We'll explain what are extensions in Swift and show how to use them to extend our code and make it more readable.
Premium IIUnratedWritten by Filip Němeček


 

Activities (1)