Design Patterns in Swift

  • Overview
  • Curriculum
  • Instructor
  • Review

About This Course

Discover the modern implementation of design patterns with Swift

Course Overview

This course provides a comprehensive overview of Design Patterns in Swift from a practical perspective. This course in particular covers patterns with the use of:

  • The latest versions of the Swift programming language

  • Use of modern programming approaches: dependency injection, reactive programming and more

  • Use of modern developer tools

  • Discussions of pattern variations and alternative approaches

This course provides an overview of all the Gang of Four (GoF) design patterns as outlined in their seminal book, together with modern-day variations, adjustments, discussions of intrinsic use of patterns in the language.

What are Design Patterns?

Design Patterns are reusable solutions to common programming problems. They were popularized with the 1994 book Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm (who are commonly known as a Gang of Four, hence the GoF acronym).

The original book was written using C++ and Smalltalk as examples, but since then, design patterns have been adapted to every programming language imaginable: Swift, C#, Java, PHP and even programming languages that aren't strictly object-oriented, such as JavaScript.

The appeal of design patterns is immortal: we see them in libraries, some of them are intrinsic in programming languages, and you probably use them on a daily basis even if you don't realize they are there.

What Patterns Does This Course Cover?

This course covers all the GoF design patterns. In fact, here's the full list of what is covered:

  • SOLID Design Principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle and Dependency Inversion Principle

  • Creational Design Patterns: Builder, Factories (Factory Method and Abstract Factory), Prototype and Singleton

  • Structrural Design Patterns: Adapter, Bridge, Composite, Decorator, Façade, Flyweight and Proxy

  • Behavioral Design Patterns: Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Null Object, Observer, State, Strategy, Template Method and Visitor

Who Is the Course For?

This course is for Swift developers who want to see not just textbook examples of design patterns, but also the different variations and tricks that can be applied to implement design patterns in a modern way.

Presentation Style

This course is presented as a (very large) series of live demonstrations. All demos are single-file, so you can download the file attached to the lesson and run it in CLion, XCode or another IDE of your choice (or just on the command line).

This course does not use UML class diagrams; all of demos are live coding. I use Visual Studio Code for the demos.

  • Recognize and apply design patterns

  • Refactor existing designs to use design patterns

  • Reason about applicability and usability of design patterns

Course Curriculum

1 Lectures

Instructor

Profile photo of Dmitri Nesteruk
Dmitri Nesteruk

Dmitri is a quant, developer, book author and course author. His interests lie in software development and integration practices in the areas of computation, quantitative finance and algorithmic trading. His technological interests include C# and C++ programming as well high-performance computing using technologies such as CUDA and FPGAs. He has been a C# MVP since 2009.

Review
4.9 course rating
4K ratings
ui-avatar of Preeti Patidar
Preeti P.
5.0
8 months ago

Knowledgable course

  • Helpful
  • Not helpful
ui-avatar of Atalay Aşa
Atalay A.
3.0
9 months ago

the examples were hard to understand. The design patterns can be applied in a sample real-life projects than the hard examples.

  • Helpful
  • Not helpful
ui-avatar of Korada Chakradhar
Korada C.
5.0
10 months ago

nice

  • Helpful
  • Not helpful
ui-avatar of Manu Raphy
Manu R.
4.0
11 months ago

Great contents. Can be done in separate courses for 3 different types

  • Helpful
  • Not helpful
ui-avatar of Anderson Franco
Anderson F.
3.0
1 year ago

The instructor really seems to know about the principles, but the way that he is explaining is just to go though the exercise. It would also be nice to have real world examples. We have to keep thinking of how it would be applied to our stack. So not that much much use. Which is a sad thing, since most of companies ask for these stuff.

  • Helpful
  • Not helpful
ui-avatar of Sushma Mane
Sushma M.
5.0
1 year ago

-

  • Helpful
  • Not helpful
ui-avatar of Anonymized User
Anonymized U.
5.0
1 year ago

Good

  • Helpful
  • Not helpful
ui-avatar of Nagarani Kagga
Nagarani K.
5.0
1 year ago

good explanation

  • Helpful
  • Not helpful
ui-avatar of Hadir Alnajdy
Hadir A.
2.5
1 year ago

The content is not for beginners, the examples are kinda complicated, and he doesn’t use XCode.

  • Helpful
  • Not helpful
ui-avatar of Irsyad Ashari
Irsyad A.
3.0
1 year ago

use real life project please, also you definitely not a swift programmer by seeing ur codestyle. also use xcode, you are putting too much difficulty by using vscode

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses