Contents
Design Patterns in Swift
StoryShop
Copyright
Half Title
Preface
Introduction
Part One - SOLID
1) SOLID - Single Responsibility Principle (SRP)
2) SOLID - Open Closed Principle (OCP)
3) SOLID - Liskov Substitution Principle (LSP)
4) SOLID - Interface Segregation Principle (ISP)
5) SOLID - Dependency Inversion Principle (DIP)
Part Two - Creational
6) Creational - Factory Design Pattern
8) Creational - Prototype Design Pattern
9) Creational - Singleton Design Pattern
Part Three - Structural
10) Structural - Adapter Design Pattern
11) Structural - Bridge Design Pattern
12) Structural - Composite Design Pattern
13) Structural - Decorator Design Pattern
14) Structural - Facade Design Pattern
15) Structural - FlyWeight Design Pattern
16) Structural - Proxy Design Pattern
Part Four - Behavioural
17) Behavioural - Chain of Responsibility Design Pattern
18) Behavioural - Strategy Design Pattern
20) Behavioural - Iterator Design Pattern
21) Behavioural - Interpreter Design Pattern
22) Behavioural - Mediator Design Pattern
23) Behavioural - Memento Design Pattern
24) Behavioural - Null Object Design Pattern
25) Behavioural - Observer Design Pattern
26) Behavioural - State Design Pattern
27) Behavioural - Template Design Pattern
28) Behavioural - Visitor Design Pattern
Final note:
Wikipedia says, "In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design".
In a general sense, design patterns can be stated as best practices that were implemented on a repetitive basis to solve similar problems, but that are found in different contexts.
This book explores design patterns in the Swift language, and walks you through how they might be applied, all while using fun, relatable examples drawn from the game of Cricket. The aim is to bring simplification, speed and elegance to your Swift experience through a succinct and enjoyable read. Happy learning!