Object-oriented programming in Swift

Swift OOP

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


 

Activities (1)