Expanded Library

Structural Design Patterns in Swift 5

by Karoly Nyisztor

This course discusses the structural 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

Having a deeper understanding of structural design patterns in Swift 5 will help you as you move forward to becoming a better software developer. In this course, Structural Design Patterns in Swift 5, you'll delve into the structural design patterns and the way they are implemented using Swift 5. First, you'll explore the Adapter design pattern that allows you to integrate incompatible components without changing your application's code. Then, you'll learn about the Bridge, which can be used to develop platform-independent frameworks or applications. You'll also discover the Composite pattern. The Composite does a great job when you need to work with related objects that can be organized in a tree structure. Next, you'll see all about the Decorator design pattern, which adds new responsibilities to an object dynamically. Then, you'll learn about the Facade, a straightforward and handy pattern that simplifies the usage of cumbersome APIs. You'll have a look at the Flyweight pattern which can help to reduce the memory usage and the creation costs of objects. Finally, a discussion on the Proxy design pattern, which has many uses, but its core purpose is to provide controlled access to objects. After completing this course, you'll be able to choose the right structural design pattern and implement it in an efficient way using Apple's Swift 5 programming language.

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