• Home
  • Author

Swift & Small Pieces

ARTICLES ABOUT SWIFT , OBJECTIVE-C, ALGORITHMS and Cryptography BY THOMAS KAUSCH

Get in Contact

Menu Close
  • Home
  • Author

Zeiss VR ONE as a premium Google “Cardboard” replacement

September 8, 2016tomkausch Leave a Comment

Today I found a one year old Zeiss VR One in the office. Everybody thought it does not work with Google’s cardboard app because it is missing the input button – what makes it useless. So I had a look at Google’s… Continue Reading →

Augmented Reality, iOS, Virtual Reality Cardboard, Zeiss VR One

A swift Apple programming language history

May 17, 2016tomkausch Leave a Comment

As a teenager I was used to implement simple mathematical algorithms on my Sharp pocket computer in BASIC. My first real Application was an AI board game written in the Pascal language on a Mac Classic II. It was a… Continue Reading →

iOS, Languages, Objective-C, Swift

Protocol-Oriented Programming

March 24, 2016tomkausch Leave a Comment

When Apple announced Swift 2 at the WWDC in 2015, they also declared that Swift was the world’s fist protocol oriented programming language.  However protocols have been present in Java and  Objective-C since many years. So why is Swift different? And what does protocol-oriented… Continue Reading →

Languages, Objective-C, Swift

Objective-C Code Reviews

February 15, 2016tomkausch Leave a Comment

This Week I’ve been asked to do a code review, to determine the overall health of a existing App code base. Unlike a code walkthrough, where someone familiar with the code shows the main components, this is a code review where… Continue Reading →

iOS, Objective-C

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

iOS9 App Transport Security (ATS)

January 13, 2016tomkausch Leave a Comment

App Transport Security (ATS) enforces best practices in the secure connections between an app and its back end. ATS prevents accidental disclosure, provides secure default behavior, and is easy to adopt; it is also on by default in iOS 9… Continue Reading →

iOS, Security

Kindergarten programming

January 4, 2016tomkausch Leave a Comment

Today I tried to explain my 6 years old daughter what programming means and what an algorithm does. I encountered scratchjr and was impressed how fast she “wrote” her first program on the ipad. Even if you’re not part of the Kindergarten… Continue Reading →

Algorithms, Languages Scratch, teaching

Adaptive Layout by overriding size classes

January 3, 2016tomkausch Leave a Comment

With Adaptive Layout  you are able to conditionally install Auto Layout constraints or views. Since iOS8 it is easier than ever to write universal apps for iPhone and iPad devices.  Overriding the size class can be an incredibly useful tool in… Continue Reading →

iOS, Objective-C, Swift Adaptive Layout, Size Class

Self-sizing UITableViewCell’s

December 28, 2015tomkausch Leave a Comment

Before iOS 7, we had to use either the rowHeight property on UITableView, or the tableView(_:, heightForRowAtIndexPath:) delegate method to specify the height of a table view cell; to make matters worse, we often needed complex calculations to determine the height of… Continue Reading →

Swift Adaptive Layout, Size Class, UITableViewCell

Adaptive Layout and the Size Class

December 27, 2015tomkausch Leave a Comment

Apple introduced the concept of adaptive user interfaces in iOS 8 relying on a combination of Auto Layout and size classes. Building user interfaces that adapt to changes in size class became even more important when Apple added slide over… Continue Reading →

Swift Adaptive Layout, Autolayout, Size Class

Post navigation

← Older Articles
Newer Articles →

Thomas Kausch

Recent Posts

  • Swift 6 & Foundation
  • How to Use VSCodium for Swift Development with Continue AI
  • Use MLX LM for large language models on Apple silicon with MLX
  • Download .ipa Files from iOS AppStore
  • What is an actor model?

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
    © 2025 Swift & Small Pieces. All rights reserved.
    Fashionista by aThemes