• 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

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

  • Giving AI Agents Access to EUDAMED: Building an MCP Server in Swift
  • Vor dem KI-Weltuntergang warnen und gleichzeitig den Dark Flow verkaufen
  • Apple Container: Linux Containers on the Mac
  • start-small-learn-fast-ai-without-strategy
  • AI in the Development Process: Which Tools Are Worth It

Recent Comments

    Categories

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