• 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

Author: tomkausch

Use MLX LM for large language models on Apple silicon with MLX

November 5, 2025tomkausch Leave a Comment

Apple’s MLX is the fastest, most native way to run and fine-tune machine learning models directly on your Mac. Built by Apple’s machine learning research team, MLX is optimized for Apple silicon’s unified memory — meaning your CPU and GPU share the same memory… Continue Reading →

Uncategorized Apple Silicon, KI, MLX

Download .ipa Files from iOS AppStore

October 30, 2023tomkausch Leave a Comment

Obtaining an .ipa file for an iOS app that is available on the App Store can be a challenge, especially if you don’t have access to the file directly. Fortunately, the ipatool tool offers a solution. With ipatool, you can… Continue Reading →

Dev Tools, iOS development, ios, ipa, reverseenginee, tools

What is an actor model?

September 15, 2023tomkausch Leave a Comment

The actor model was proposed decades ago (1973) by Carl Hewitt as a way to handle parallel processing in a high performance network — an environment that was not available at the time. As a quick summary an actor is a message… Continue Reading →

Algorithms, Concurrency, iOS, Swift

Info.plist handling with Xcode 13

March 27, 2023tomkausch Leave a Comment

Since Xcode 13 when you create a SwiftUI app or your own app extensions from a template wizard you will get a project without an Info.plist listed in project navigator. Where is it gone? “Projects created from several templates no… Continue Reading →

Uncategorized Info.plist, swift, XCode

Iterator Pipes in Python

January 6, 2023tomkausch Leave a Comment

In Python, a generator is a function that returns an iterator that produces a sequence of values when iterated over. Generators are useful when we want to produce a large sequence of values – so these values do not need… Continue Reading →

Uncategorized generator, iterator, prim, python

Swift & Arithmetic Overflow

July 10, 2022tomkausch Leave a Comment

When you start implementing your own arithmetic algorithms you will sooner than later encounter overflow errors. Unlike arithmetic operators in C, arithmetic operator in Swift don’t overflow by default. Overflow behaviour is trapped and reported as an error. You have… Continue Reading →

Uncategorized

Closures in Swift

June 30, 2022tomkausch Leave a Comment

Closures are a powerful programming concept that enable many different programming patterns. However, for lots of beginning programmers, closures can be tricky to use and understand. This is especially true when closures are used in an asynchronous context. For example,… Continue Reading →

Uncategorized

guard & defer

June 30, 2022tomkausch Leave a Comment

“We should do (as wise programmers aware of our limitations) our utmost best to … make the correspondence between the program (spread out in text space) and the process (spread out in time) as trivial as possible.”  —Edsger W. Dijkstra, “Go… Continue Reading →

Swift defer, guard

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

Post navigation

← Older Articles
Newer Articles →

Thomas Kausch

Recent Posts

  • Xcode 26.3 MCP Server
  • How I use MCP to automate iOS development
  • Coding with LLMs
  • AI Evolution: What It Means to Be a Developer
  • Vibe Coding (book review)

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