• 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

The Objective-C error model

June 8, 2015tomkausch Leave a Comment

Many modern languages have exceptions. If you come from Java you’ll most likely using exceptions all the way to handle error cases. For objective-C you are going to have to go back and forget everything you knew about exceptions and… Continue Reading →

Effective Objective-C

Swift Game Bench

May 25, 2015tomkausch Leave a Comment

Some weeks ago I have finished GameBench a simple two player board game framework implemented in the Swift language. It comes with a simple Connect4 App so you can learn how to use it and implement your own board games. SwiftGameBench framework… Continue Reading →

Algorithms, Swift

Prefere Typed Constants versus Pre-processor #define

May 25, 2015tomkausch Leave a Comment

When you write testing code you will often want to define a constant. Typical constants that you might want to factor out are your test fixtures. Often Objective-C programmers take the approach of defining the constant like this: #define USER_NAME… Continue Reading →

Effective Objective-C

Algorithm to find the area of a Polygon

May 13, 2015tomkausch Leave a Comment

Today I came across the following problem: “If you know the coordinates of the vertices of a polygon with square edges, find the surrounded area. Or more formally given an array of the X and Y coordinates enumerated in a clockwise… Continue Reading →

Algorithms

Post navigation

Newer Articles →

Thomas Kausch

Recent Posts

  • mincut-thesis-summary
  • 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

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