• 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

Uncategorized

Fast Queue implementation for SWIFT

January 26, 2022tomkausch Leave a Comment

The Swift Standard Library currently implements the three most essential general-purpose data structures: Array, Set and Dictionary. These are the right tool for a wide variety of use cases, and they are particularly well-suited for use as currency types. But sometimes, in order to… Continue Reading →

Algorithms, Code Blocks, iOS, Swift, Uncategorized

Why protocols can only be used as generic constraints when they have Self or an associated type requirement.

January 26, 2022tomkausch Leave a Comment

Protocols with associated types are a powerful, if somewhat treacherous, feature of Swift. Sometimes it’s fair to say that the only winning move is not to play it. As an example here is a recursive protocol of binary tree node… Continue Reading →

Uncategorized

iOS Jailbreak detection is useless

March 10, 2021tomkausch Leave a Comment

When developing financial apps you probably get the requirement to detect jailbroken devices. The reason for detection is to either disable some or most of the app’s functionalities due to security concerns that come from a jailbroken system. This article… Continue Reading →

iOS, Security, Uncategorized

nil / NULL / NSNull / Optionals

July 13, 2017tomkausch Leave a Comment

In Objective-C, there are three different varieties of nothing . The reason for this goes back to how Objective-C bridges the procedural paradigm of C with Smalltalk-inspired object-oriented paradigm. C represents nothing as 0 for primitive values, and NULL for… Continue Reading →

Uncategorized

Generate XCode Project via Swift Package Manager

December 9, 2016tomkausch Leave a Comment

Swift package manager provides a convention-based system for building libraries and executables, and sharing code across different projects. Before you can use it you should make it available on MacOS by installing Swift Open Source Toolchain. Install  Package Manager Download the latest package release –… Continue Reading →

Uncategorized

Post navigation

Newer Articles →

Thomas Kausch

Recent Posts

  • MCP Model Context Protocol: Your First Hello World
  • Building MyBedtimeStories App using Co-Pilot and Apple foundation model
  • GenAI im Banking
  • Swift 6 & Foundation
  • How to Use VSCodium for Swift Development with Continue AI

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