Skip to content

Commit fcd65c9

Browse files
committed
Update pattern references and badge
1 parent 8f9b5fa commit fcd65c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![GitHub last commit](https://img.shields.io/github/last-commit/jvirus/swift-design-patterns?label=Last%20Commit)
44
[![Language](https://img.shields.io/badge/language-Swift-orange.svg)]()
5-
[![Progress Patterns](https://img.shields.io/badge/patters-33/79-green.svg)]()
5+
[![Progress Patterns](https://img.shields.io/badge/patters-35/79-green.svg)]()
66
[![Progress Principles](https://img.shields.io/badge/principles-0/50-red.svg)]()
77
[![NLOC](https://img.shields.io/tokei/lines/github/jvirus/swift-design-patterns)]()
88
[![License](https://img.shields.io/badge/license-MIT-blue.svg)]()
@@ -124,7 +124,7 @@ rise of new classes
124124
> **Source:** [wikipedia.org](https://en.wikipedia.org/wiki/Concurrency_pattern)
125125
126126
- **Active Object:** decouples method execution from method invocation for objects that each reside in their own thread of control
127-
- **Balking Pattern:** executes an action on an object when the object is in a particular state
127+
- [**Balking Pattern:**](/Concurrency%20Design%20Patterns/BalkingPattern/BalkingPattern.md) executes an action on an object when the object is in a particular state
128128
- [**Barrier:**](/Concurrency%20Design%20Patterns/Barrier/Barrier.md) is a type of synchronization method. A barrier for a group of threads or processes in the source code means any thread/process must stop at this point and cannot proceed until all other threads/processes reach this barrier
129129
- **Binding Pattern:** combines multiple observers to force properties in different objects to be synchronized or coordinated in some way
130130
- **Double-Checked Locking:** used to reduce the overhead of acquiring a lock by first testing the locking criterion (the "lock hint") without actually acquiring the lock. Only if the locking criterion check indicates that locking is required does the actual locking logic proceed
@@ -161,7 +161,7 @@ The following patterns are not part of the `design patterns` topic. However, the
161161

162162
- [**Wildcard:**](/Swift%20Design%20Patterns/Wildcard/Wildcard.md) a wildcard pattern matches and ignores any value and consists of an underscore (_). Use a wildcard pattern when you don’t care about the values being matched against [[code]](/Swift%20Design%20Patterns/Wildcard/Wildcard.playground/Contents.swift)
163163
- [**Identifier:**](/Swift%20Design%20Patterns/Identifier/Identifier.md) an identifier pattern matches any value and binds the matched value to a variable or constant name [[code](/Swift%20Design%20Patterns/Identifier/Identifier.playground/Contents.swift)]
164-
- **Value-Binding:** a value-binding pattern binds matched values to variable or constant names. Value-binding patterns that bind a matched value to the name of a constant begin with the let keyword; those that bind to the name of variable begin with the var keyword
164+
- [**Value-Binding:**](/Swift%20Design%20Patterns/ValueBinding/ValueBinding.md) a value-binding pattern binds matched values to variable or constant names. Value-binding patterns that bind a matched value to the name of a constant begin with the let keyword; those that bind to the name of variable begin with the var keyword
165165
- **Tuple Pattern:** a tuple pattern is a comma-separated list of zero or more patterns, enclosed in parentheses. Tuple patterns match values of corresponding tuple types
166166
- **Enumeration Case:** an enumeration case pattern matches a case of an existing enumeration type. Enumeration case patterns appear in switch statement case labels and in the case conditions of `if`, `while`, `guard`, and `for-in` statements
167167
- **Optional:** an optional pattern matches values wrapped in a `some(Wrapped)` case of an `Optional<Wrapped>` enumeration. Optional patterns consist of an identifier pattern followed immediately by a question mark and appear in the same places as enumeration case patterns

0 commit comments

Comments
 (0)