All Projects → swiftdo → design-patterns

swiftdo / design-patterns

Licence: other
设计模式,经典样例

Programming Languages

swift
15916 projects
HTML
75241 projects

Projects that are alternatives of or similar to design-patterns

Design Patterns Python
💻 Padrões de Projeto em Python
Stars: ✭ 246 (+602.86%)
Mutual labels:  design-patterns
oh-my-design-patterns
🎨 Record the articles and code I wrote while learning design patterns
Stars: ✭ 33 (-5.71%)
Mutual labels:  design-patterns
young-examples
java学习和项目中一些典型的应用场景样例代码
Stars: ✭ 21 (-40%)
Mutual labels:  design-patterns
Go Patterns
Curated list of Go design patterns, recipes and idioms
Stars: ✭ 17,827 (+50834.29%)
Mutual labels:  design-patterns
CloudDesignPatterns
Welcome to the GitHub repository of the cloud design patterns. This repository contains the examples for the Pluralsight course series: Cloud Design Patterns for Azure. You can download a copy and follow along in the course.
Stars: ✭ 96 (+174.29%)
Mutual labels:  design-patterns
design-patterns-typescript
Nessa seção falamos sobre 22 (de 23) padrões de projeto da GoF. Todos descritos em vídeo, com teoria e prática + exemplos de código.
Stars: ✭ 257 (+634.29%)
Mutual labels:  design-patterns
Design Patterns
💼 Design patterns written in different programming languages 📐
Stars: ✭ 244 (+597.14%)
Mutual labels:  design-patterns
data sciences campaign
【数据科学家系列课程】
Stars: ✭ 91 (+160%)
Mutual labels:  design-patterns
generic-for-core
🏗️ Generic Repository & UOW Pattern For ASP.NET Core
Stars: ✭ 55 (+57.14%)
Mutual labels:  design-patterns
ABAP-Library
Useful ABAP code snippets
Stars: ✭ 118 (+237.14%)
Mutual labels:  design-patterns
Java Design Patterns
Design patterns implemented in Java
Stars: ✭ 71,923 (+205394.29%)
Mutual labels:  design-patterns
awesome-software-architecture
A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.
Stars: ✭ 1,594 (+4454.29%)
Mutual labels:  design-patterns
moon-design
Moon Design System for React
Stars: ✭ 209 (+497.14%)
Mutual labels:  design-patterns
Designpatterns
Examples of Design Patterns in Java
Stars: ✭ 250 (+614.29%)
Mutual labels:  design-patterns
csharp-design-patterns-for-humans
Design Patterns for Humans™ - An ultra-simplified explanation - C# Examples
Stars: ✭ 1,086 (+3002.86%)
Mutual labels:  design-patterns
Node.js Design Patterns Third Edition
Node.js Design Patterns Third Edition, published by Packt
Stars: ✭ 239 (+582.86%)
Mutual labels:  design-patterns
Design-Patterns
Project for learning and discuss about design patterns
Stars: ✭ 16 (-54.29%)
Mutual labels:  design-patterns
Dermayon
Dermayon is Library for supporting build large application,distributed application, scalable, microservices, cqrs, event sourcing, including generic ef repository pattern with unit of work, generic mongo repository pattern with unit of work, kafka, etc
Stars: ✭ 66 (+88.57%)
Mutual labels:  design-patterns
clean architecture typescript example
This repository provides an implementation (or at least an attempt) of Uncle Bob's Clean Architecture with Typescript.
Stars: ✭ 78 (+122.86%)
Mutual labels:  design-patterns
Crack-Coding-Interview
This Repository contains all my codes for preparing interview.
Stars: ✭ 14 (-60%)
Mutual labels:  design-patterns

设计模式(Swift)

设计模式程序员必备的基础知识,但是没有点年份,掌握也不是这么容易,所以例子就非常重要。概念是抽象的,例子是具象的。具象的东西,记忆和理解都会容易些。

项目的初衷就是收集比较经典合适的案例,来帮助理解设计模式,这样大家在写代码,看别人的代码也会容易一些。非常希望您的参与,我们一起维护。

支持线上浏览https://oldbird.run/design-patterns

关注官方公众号 OldBirds

基础

  • 类间的关系
  • 设计原则

创建型

这些设计模式提供了一种在创建对象的同时隐藏创建逻辑的方式,而不是使用 new 运算符直接实例化对象。这使得程序在判断针对某个给定实例需要创建哪些对象时更加灵活。

  • 工厂模式
  • 建造者模式
  • 原型模式
  • 单例模式

结构型

这些设计模式关注类和对象的组合。继承的概念被用来组合接口和定义组合对象获得新功能的方式。

  • 适配器模式
  • 桥接模式
  • 过滤器模式
  • 组合模式
  • 装饰器模式
  • 外观模式
  • 享元模式
  • 代理模式

行为型

这些设计模式特别关注对象之间的通信。

  • 责任链模式
  • 命令模式
  • 解释器模式
  • 迭代器模式
  • 中介者模式
  • 备忘录模式
  • 观察者模式
  • 状态模式
  • 空对象模式
  • 策略模式
  • 模板模式
  • 访问者模式

交流

如果您有更好的案例,不防提 issue,或者提 PR。当然如果文字有不当之处也欢迎指出。

如果您想加入我们的 Swift 微信交流群,可以关注微信公众号 OldBirds

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].