@@ -100,7 +100,8 @@ atm.canWithdraw(165) // Cannot withdraw because ATM doesn't has bill with value
100100atm. canWithdraw ( 30 ) // Can withdraw - 1x20, 2x10
101101/*:
102102>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Chain-Of-Responsibility)
103- *//*:
103+ */
104+ /*:
104105👫 Command
105106----------
106107
@@ -253,7 +254,8 @@ intContext.assign(c, value: 3)
253254var result = expression? . evaluate ( intContext)
254255/*:
255256>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Interpreter)
256- *//*:
257+ */
258+ /*:
257259🍫 Iterator
258260-----------
259261
@@ -347,7 +349,8 @@ messagesMediator.addColleague(user1)
347349user0. send ( " Hello " ) // user1 receives message
348350/*:
349351>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Mediator)
350- *//*:
352+ */
353+ /*:
351354💾 Memento
352355----------
353356
@@ -466,7 +469,8 @@ testChambers.observer = observerInstance
466469testChambers. testChamberNumber++
467470/*:
468471>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Observer)
469- *//*:
472+ */
473+ /*:
470474🐉 State
471475---------
472476
@@ -527,7 +531,8 @@ context.changeStateToUnauthorized()
527531( context. isAuthorized, context. userId)
528532/*:
529533>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-State)
530- *//*:
534+ */
535+ /*:
531536💡 Strategy
532537-----------
533538
@@ -573,7 +578,8 @@ var upper = Printer(strategy:UpperCaseStrategy())
573578upper. printString ( " O tempora, o mores! " )
574579/*:
575580>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Strategy)
576- *//*:
581+ */
582+ /*:
577583🏃 Visitor
578584----------
579585
0 commit comments