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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Design Patterns in Swift!