Skip to content

Examples of implementing various Design Patterns using Swift.

Notifications You must be signed in to change notification settings

charlesmolyneux/DesignPatterns-Swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns

Introduction

This project features examples of implementing the most commonly used design patterns using Swift. Included is an xcode project with examples of the patterns being used as well as some high-level documentation available on this repostitory page! I'll be adding to these pages as I make more time to provide more in-depth examples. Any feedback is welcomed!

What Are Design Patterns

Design patterns help provide solutions to reoccurring problems that often appear during Software Design. This repository has taken inspiration from examples provided at refactoring.guru1 as well as the Gang of Four book2. I hope it will give you a better understanding of how these patterns can be applied to real world problems in a simple manner.

Creational

Intent: Creational patterns provide methods to help increase the reusability of your code by making object creation simpler and more flexible.

Structural

Intent: Structural patterns assist in constructing objects into larger components, promoting flexibility and interoperability.

Behavioural

Intent: Behavioural patterns are concerned with the assignment of responsibilities, separating responsibilities and algorithms into their own classes.

Refactoring Guru

Gang of Four

About

Examples of implementing various Design Patterns using Swift.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published