Creational Design Patterns in Swift 5

by Karoly Nyisztor

This course discusses the creational design patterns and the way they are implemented in Swift 5. You'll learn how to use each​ design pattern through hands-on coding examples.

What you'll learn

Software design patterns are standard, proven ways to solve various problems programmers encounter. In this course, Creational Design Patterns in Swift 5, you'll learn about the creational patterns using UML diagrams and practical Swift code examples.

First, you'll explore some of the history of design patterns, the value they provide, and their limitations. A brief Unified Modeling Language Primer introduces the concepts and the diagrams used throughout this course.

Next, you'll discover the creational patterns, which will feature the Singleton first, as well as solving thread-safety issues using Grand Central Dispatch.

Then, you'll learn about the Prototype pattern and concepts like the cloning of value and reference types and the difference between shallow and deep copying of objects.

Finally, you'll get to see the Abstract Factory, which provides an abstraction for creating families of related or dependent objects.

After finishing this course, you’ll have a foundational knowledge of creational design patterns that will help you as you move forward to becoming a better software developer.

About the author

Károly Nyisztor is a professional software engineer, instructor, and author. So far, he has inspired over 150,000 students worldwide. As an instructor, he aims to share his more than 25 years of software development expertise and change the lives of students throughout the world. He's passionate about helping people reveal hidden talents and guide them into the world of startups and programming. Karoly has worked for companies like Apple, Siemens, and SAP. As a software architect, he has desi... more

Ready to upskill? Get started