Model View Controller for SwiftUI

Overall SwiftUI has been well received after its introduction. However, something most developers stumble upon quickly is how to structure non-trivial applications. One option is to just stick to MVC and get a reasonably clean architecture that isn’t full of hacks.

April 29, 2022 Read More

DocC 📚 Archived and Analyzed

At WWDC 2021 Apple presented DocC, a way to create Swift documentation and tutorials right within Xcode. We are going to look at the documentation archive produced, the good&bad and how to generate a static website.

July 2, 2021 Read More

Async/Await for iOS 14 and before

The secret Apple doesn’t want you to know about: It has been shipping an async/await runtime for years. Let’s have a look on how to use it from within Swift!

June 17, 2021 Read More

Writing an Swift XML-RPC Server

XML-RPC is a funny little protocol from 1998 to call HTTP endpoints. Due to its wide availability across different languages it can still be useful. We are going to have a look at XML-RPC and write a small client and server in Swift.

December 31, 2020 Read More

A µTutorial on SwiftNIO 2

SwiftNIO is the library to build backend servers in the Swift programming language. As part of this article we are going to write our own tiny, Node like web framework using NIO: µExpress. Updated for NIO2/Xcode 11.

December 27, 2019 Read More

Instant Kitura with SwiftXcode

Creating Kitura endpoints using the tools provided by IBM (the app or kitura init) is quite inconvenient. Using SwiftXcode you can do the same straight from Xcode, w/o touching the shell during development. We’ll show you how!

March 21, 2019 Read More

Chat with your Raspi - SwiftyLinkerKit+NIO

If you are like the ARI, you own some Raspberry Pi’s doing some serious work. But you never actually used the Pi’s GPIO, because you don’t want to solder nor have any clue about electronics. Let’s change that with the easy to use LinkerKit, and drive it using Swift!

June 14, 2018 Read More

An Introduction to WebObjects, in Swift

Only a few more months before the introduction of WebObjects 6 at WWDC 2019, let’s have a look on what WebObjects actually is. And more specifically how it could look like in Swift. A small tutorial, and an implementation of the WebObjects API in Swift, or as we like to call it: SwiftObjects.

June 2, 2018 Read More

Bringing Swift NIO to the iPhone

Friday, time for a fun project! Today we are going to bring Swift NIO (yes, that new Swift server framework) to the mobile device. Why? Because we can! Along the way we disrupt Google search. Oh no. It is Monday only …

March 26, 2018 Read More

Async I/O for Dummies

You are a backend developer and are told to rewrite everything because your framework is switching to something mysterious called “async”? You also heard about Swift NIO and how this is non-blocking? The ARI tries to explain what this means to you by example.

March 22, 2018 Read More

A µTutorial on Swift NIO

In a surprise move, Apple released swift-nio on March 1st. Today we are going to have a look on how to use that Swift package, and build a tiny but useful web framework along the way. Say hello to µExpress. Again.

March 11, 2018 Read More

Swifter Indentation

' ': The final frontier. Where no one has gone before. Feel invited to get another glimpse on how Swifter is getting everything right. Today we are looking at the ' ' and beyond.

February 18, 2016 Read More

HACK - Swift Module Development

Let’s say you want to develop a Swift thing on Linux. Instead of throwing everything in one big package, you would like to organize things in neat little separate packages.

January 25, 2016 Read More

Testing Linux Swift 2.2 on MacOS via VirtualBox

So you are living on MacOS but you want to try the Linux port of Swift. What to do? Since the Swift Linux port doesn’t work on a Pi (buhh Apple! Even Windows 10 does!), the easiest way is to install Linux in a virtual machine. If you are anything like the people at the world renowned ARI - you refused to pay Parallels $50 just for the 10.11 update. So the ARI gave VirtualBox a try.

December 4, 2015 Read More

Swifter tvOS sample code

A few more examples of tvOS Swifter code. Again, focus is on keeping selectors but removing static types as well as noize.

September 11, 2015 Read More

Swifter Design

TL;DR: Swifter is the complete opposite of Swift. Instead of focusing on making everything C++-like vtably static, Swifter goes back to the rootz of Objective-C and makes everything dynamic.

September 7, 2015 Read More

The ARI announces Swifter-Lang

In a bold move the Always Right Institute today announced Swifter. Swifter is a programming language in active development (not), which is wicked fast. It compiles swiftly and executes even swifter. Swifter promises to be the Objective-Z without the Z, but with a C.

March 5, 2015 Read More