Design Patterns in Swift: Creational
Course info



Course info



Description
Software design patterns are standard, proven ways to solve various problems programmers encounter. In this course, Design Patterns in Swift: Creational, you'll learn about the creational patterns using UML diagrams and practical Swift code examples. You'll begin the course with an introductory module about the history of design patterns, the values they provide, and their limitations. A brief Unified Modeling Language Primer will introduce the concepts and the diagrams used throughout this course. Next, you'll jump right into the creational patterns, which will feature the Singleton first. You'll explore thread safety using Grand Central Dispatch, generics, and readers. Then, you'll discover the Prototype pattern and concepts like the cloning of value and reference types, the difference between shallow and deep copying of objects, and under-the-hood optimizations like the copy-on-write. Finally, you'll learn the Builder pattern followed by the Factory Method design pattern. By the end of this course, you will be better prepared to implement creational design patterns in Swift.
Section Introduction Transcripts
Course Overview
Hi everyone, my name is Karoly Nyisztor, and I'm happy to welcome you to my course Design Patterns in Swift: Creational. I am a developer, a book author, and a software architect. Having been a professional iOS developer since 2009, I started using Swift right after its launch back in 2014. This course is an overview of the creational design patterns and the way they are implemented using Swift 3. 0, Apple's latest iteration of their popular programming language. We begin the course with an introductory module about the history of design patterns, the values they provide, and their limitations. A brief Unified Modeling Language primer will introduce the concepts and the diagrams used throughout this course. Then we jump right into the creational patterns. First comes the singleton. We are going to talk about thread safety using Grand Central Dispatch, generics, and readers-writer lock. We then talk about the prototype pattern and concepts like the cloning of value and reference types, the difference between shallow and deep copying of objects, and under the hood optimizations like the copy-on-write. Next comes the builder pattern, followed by the factory method design pattern. We finish up the course with the abstract factory design pattern. By the end of this course, you should know how to implement creational design patterns in Swift. Before beginning the course, you should be familiar with the basics of programming, but you need not have actually worked with Swift itself. I hope you will join me on this journey to learn design patterns with the Design Patterns in Swift: Creational course here at Pluralsight.