• Home
  • Author
  • Privacy Policy & Terms
Swift & Small Pieces
ARTICLES ABOUT SWIFT , OBJECTIVE-C, ALGORITHMS and Cryptography BY THOMAS KAUSCH

Get in Contact

Menu Close
  • Home
  • Author
  • Privacy Policy & Terms

Design Patterns

Command Pattern in Swift 2

January 16, 2016tomkausch Leave a Comment

Today I wonder how simple and elegant I was able to implement the command  pattern with Swift 2. I started as usual with a bunch of classes until I realised that Swift closures  provide exactly what is needed to implement the command objects.… Continue Reading →

Swift Design Patterns

Thomas Kausch

Recent Posts

  • REST Client Code Generation in Kotlin Multiplatform
  • Sunday afternoon Problem: Lazy Sequences as a Dynamic Programming Primitive in Kotlin
  • How Kotlin’s Inline Functions Make Lambdas First-Class Citizens for Functional Programming
  • Koog
  • Kotlin Multiplatform (KMP) and xcframework: Sharing Logic with iOS Without the Pain

Recent Comments

    Categories

    Algorithms Augmented Reality Code Blocks Concurrency Dev Tools Effective Objective-C Encoding & Decoding Date iOS Languages Objective-C Pyhthon Security Swift Uncategorized Virtual Reality XCode
    © 2026 Swift & Small Pieces. All rights reserved.
    Fashionista by aThemes