Skip to content

Commit

Permalink
Extra line at the EOF
Browse files Browse the repository at this point in the history
added extra line at the end of the source files so the markdown translations works correctly
  • Loading branch information
kingreza committed Jun 3, 2016
1 parent 2cb7dd5 commit 2d7c6a4
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 18 deletions.
Binary file modified Design-Patterns.playground.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ atm.canWithdraw(165) // Cannot withdraw because ATM doesn't has bill with value
atm.canWithdraw(30) // Can withdraw - 1x20, 2x10
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Chain-Of-Responsibility)
*//*:
*/
/*:
👫 Command
----------

Expand Down Expand Up @@ -253,7 +254,8 @@ intContext.assign(c, value: 3)
var result = expression?.evaluate(intContext)
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Interpreter)
*//*:
*/
/*:
🍫 Iterator
-----------

Expand Down Expand Up @@ -347,7 +349,8 @@ messagesMediator.addColleague(user1)
user0.send("Hello") // user1 receives message
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Mediator)
*//*:
*/
/*:
💾 Memento
----------

Expand Down Expand Up @@ -466,7 +469,8 @@ testChambers.observer = observerInstance
testChambers.testChamberNumber++
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Observer)
*//*:
*/
/*:
🐉 State
---------

Expand Down Expand Up @@ -527,7 +531,8 @@ context.changeStateToUnauthorized()
(context.isAuthorized, context.userId)
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-State)
*//*:
*/
/*:
💡 Strategy
-----------

Expand Down Expand Up @@ -573,7 +578,8 @@ var upper = Printer(strategy:UpperCaseStrategy())
upper.printString("O tempora, o mores!")
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Strategy)
*//*:
*/
/*:
🏃 Visitor
----------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ let empire = DeathStarBuilder { builder in
}

let deathStar = DeathStar(builder:empire)

/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Builder)
*/
/*:
🏭 Factory Method
-----------------
Expand Down Expand Up @@ -232,7 +233,8 @@ let Eduardo = Prototype.clone()
Eduardo.name = "Eduardo"
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Prototype)
*//*:
*/
/*:
💍 Singleton
------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ oldFormat.angleH
oldFormat.angleV
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Adapter)
*//*:
*/
/*:
🌉 Bridge
----------

Expand Down
2 changes: 1 addition & 1 deletion source/behavioral/chain_of_responsibility.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ atm.canWithdraw(165) // Cannot withdraw because ATM doesn't has bill with value
atm.canWithdraw(30) // Can withdraw - 1x20, 2x10
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Chain-Of-Responsibility)
*/
*/
2 changes: 1 addition & 1 deletion source/behavioral/interpreter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ intContext.assign(c, value: 3)
var result = expression?.evaluate(intContext)
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Interpreter)
*/
*/
2 changes: 1 addition & 1 deletion source/behavioral/mediator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ messagesMediator.addColleague(user1)
user0.send("Hello") // user1 receives message
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Mediator)
*/
*/
2 changes: 1 addition & 1 deletion source/behavioral/observer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ testChambers.observer = observerInstance
testChambers.testChamberNumber++
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Observer)
*/
*/
2 changes: 1 addition & 1 deletion source/behavioral/state.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ context.changeStateToUnauthorized()
(context.isAuthorized, context.userId)
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-State)
*/
*/
2 changes: 1 addition & 1 deletion source/behavioral/strategy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ var upper = Printer(strategy:UpperCaseStrategy())
upper.printString("O tempora, o mores!")
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Strategy)
*/
*/
2 changes: 1 addition & 1 deletion source/creational/builder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ let empire = DeathStarBuilder { builder in
let deathStar = DeathStar(builder:empire)
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Builder)
*/
*/
2 changes: 1 addition & 1 deletion source/creational/prototype.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ let Eduardo = Prototype.clone()
Eduardo.name = "Eduardo"
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Prototype)
*/
*/
2 changes: 1 addition & 1 deletion source/structural/adapter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ oldFormat.angleH
oldFormat.angleV
/*:
>**Further Examples:** [Design Patterns in Swift](https://github.com/kingreza/Swift-Adapter)
*/
*/

0 comments on commit 2d7c6a4

Please sign in to comment.