Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Behavioral Design Patterns in Swift 5

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course will teach you how to effectively manage object interactions in your application, resulting in a more organized, flexible, and maintainable Swift codebase.

Complex object interactions and unclear responsibilities can make our lives as developers quite challenging, leading to code that’s hard to manage, extend, and debug. In this course, Behavioral Design Patterns in Swift 5, you’ll learn to develop efficient, scalable, and maintainable Swift applications. First, you’ll dive into the Chain of Responsibility and Command patterns, which allow for dynamic behavior changes and efficient communication between objects. Next, you’ll explore the Interpreter that allows you to map a domain to a language and define its rules. The Iterator provides an elegant way to traverse collections without exposing their underlying representations. Then, you’ll master the Mediator and Memento patterns, providing you with techniques to facilitate communication between objects without requiring them to be explicitly aware of each other and to capture and restore an object’s internal state. The Observer and State patterns enable your objects to react to state changes and allowing an object to change its behavior when its state changes. Moving forward, you’ll learn the Strategy and Template Method patterns, helping you define a family of algorithms and let subclasses redefine certain steps of an algorithm without changing its structure. Finally, you’ll explore the Visitor pattern, which lets you separate algorithms from the objects on which they operate, enhancing flexibility and scalability. When you’re finished with this course, you’ll have the skills and knowledge of behavioral design patterns needed to enhance the clarity, flexibility, and robustness of your Swift applications, ensuring they are well-prepared for future maintenance and enhancements.

Syllabus

  • Course Overview 1min
  • Introduction 4mins
  • The Chain of Responsibility 17mins
  • The Command 20mins
  • The Interpreter 15mins
  • The Iterator 11mins
  • The Mediator 23mins
  • The Memento 13mins
  • The Observer 15mins
  • The State 18mins
  • The Strategy 9mins
  • The Template Method 9mins
  • The Visitor 11mins
  • Final Thoughts 1min

Taught by

Karoly Nyisztor

Reviews

Start your review of Behavioral Design Patterns in Swift 5

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.