Design Patterns In Swift is a project that provides practical example implementations of many of the well-known design patterns (creational, structural, behavioral) in Swift 5.0. It uses Swift playgrounds so users can view and experiment with pattern code directly. It’s meant as a hands-on reference to see how classical patterns like Singleton, Observer, Factory Method, etc. map into Swift’s language features.
Features
- Collection of many design patterns implemented: e.g. Creational, Behavioral, Structural families (e.g. Strategy, Observer, Adapter, Singleton, etc.)
- Provided in playground/-friendly format so users can interactively read and run examples in Xcode playgrounds
- Chinese (中文) translated versions of playground/examples/files are included
- Scripts to generate playgrounds from source and translations (for both English and Chinese)
- Well-documented: README with table of contents of patterns, explanations of pattern intent, usage, etc.
- Licensed under GPL-3.0, which means open source but with copyleft requirements (if modifications are shared etc.)
Categories
LibrariesLicense
GNU General Public License version 3.0 (GPLv3)Follow Design Patterns in Swift
nel_h2
AI-powered service management for IT and enterprise teams
Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Design Patterns in Swift!