@Model for CoreData
At WWDC 2023 Apple finally released a persistence framework specifically for Swift: SwiftData. My ManagedModels provides a similar API, on top of regular CoreData, and doesn’t require iOS 17+.
September 28, 2023 | Read More |
Software engineer.
At WWDC 2023 Apple finally released a persistence framework specifically for Swift: SwiftData. My ManagedModels provides a similar API, on top of regular CoreData, and doesn’t require iOS 17+.
September 28, 2023 | Read More |
In the last few months Flutter gained some popularity as a cross platform UI framework. We’ll have a look at it from a SwiftUI developer’s perspective, as it has a quite similar way to construct user interfaces, “declaratively”.
June 6, 2022 | Read More |
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 |
In SwiftUI Tools w/ VisualStudio Code
we explored how to use
VisualStudio Code
to build macOS apps using the new
Swift extension.
But can we also build an iOS application using that?
December 29, 2021 | Read More |
The Swift Package Manager
coming with Swift 5.5 now supports the
@main
attribute.
We can use that to build apps using just
VisualStudio Code and SwiftPM,
no Xcode involved!
Let’s use it to build a
Cowtastic app!
December 28, 2021 | Read More |
The Swift Package Manager
coming with Swift 5.5 / Xcode 13 now supports the
@main
attribute.
We can use that to build apps using just SwiftPM, no Xcode involved!
Let’s use it to build a
Cowtastic app!
August 23, 2021 | Read More |
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 |
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 |
Today we are going to embed and run WebAssembly (Wasm) modules in a Swift program. Using Wasmer, an embeddable runtime for Wasm, wrapped in a simple Swift API.
January 10, 2021 | Read More |
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 |
The
IETF
is working on the
Transport Services (TAPS) API,
intended as a replacement for BSD
sockets.
Apple’s
Network.framework
includes a Swift implementation of the new API.
Let’s look how echo
and HTTP
servers can be done using it.
October 12, 2020 | Read More |
Instead of the overdue announcement of “iCloud functions”,
Apple’s
Tom Doron
was
showing
Swift deployment on
AWS Lambda
at WWDC 2020.
We’ll explain how Lambda can be used and introduce
swift lambda deploy
.
August 7, 2020 | Read More |
Slack can be enhanced by 3rd party developers with
interactive dialogs and dynamic, self-updating, messages.
With Buttons, Pickers, TextFields and more.
Using SwiftBlocksUI
these widgets can be built declaratively,
“SwiftUI style”.
July 17, 2020 | Read More |
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 |
Direct to SwiftUI is an adaption of an old WebObjects technology called Direct to Web. This time for Apple’s new framework: SwiftUI. Instant CRUD apps, configurable using a declarative rule system, yet fully integrated with SwiftUI.
September 20, 2019 | Read More |
SwiftUI supports a feature called the Environment. It allows the injection of values into child views without the need to explicitly pass them along. SwiftUI Rules adds a declarative rule system, think: Cascading Style Sheets for SwiftUI.
August 31, 2019 | Read More |
As an update to Migrate Private GIT Repositories to GCrypt, let’s have a look at another option for encrypted git cloud storage: Keybase. Which has an ever expanding set of features, and that happens to include Encrypted git.
August 24, 2019 | Read More |
Beginning of the month Apple announced SwiftUI at the WWDC 2019. A single “cross platform”, “declarative” framework used to build tvOS, macOS, watchOS and iOS UIs. SwiftWebUI is bringing that to the Web ✔️
June 30, 2019 | Read More |
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 |
After Shell commands as Swift functions and the Swift/ObjC Bridge, Part 3 in our quest to find a useful application for the Swift 5 Dynamic Callable feature: Mustache templates as a function (short: MaaF). This one may actually make some sense.
January 31, 2019 | Read More |
In December we demonstrated how to use the new Swift 5
Dynamic Callable
feature to
run Unix commands as Swift functions,
like shell.ls()
.
Today we implement our very own Swift / Objective-C bridge using the same!
January 30, 2019 | Read More |
A new feature in Swift 5 are Dynamic Callable’s. We combine this with the related Dynamic Member Lookup feature to expose the filesystem and Unix shell commands as regular Swift objects and functions.
December 21, 2018 | Read More |
Given the recent events you may look down and acknowledge that you have been wrong when hosting unencrypted data on the Clown. It looked so convenient and they wouldn’t dare to touch your data and loose all credibility. The rest is history. Let’s take the shame but move on: git-remote-gcrypt.
June 16, 2018 | Read More |
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 |
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 |
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 |
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 |
Last week we built a tiny web framework on top of the new Swift NIO. This time we are going to add support for Mustache templates. Again the goal is to use a minimal amount of code while still providing something useful.
March 20, 2018 | Read More |
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 |
In
Using the Swift Server API 0.1.0
we wrote a straight Google replacement using just the
raw Swift Server API.
This time we are going to write a micro server framework wrapping that API.
Say Hello World
to MicroExpress!
January 24, 2018 | Read More |
PL/Swift
allows you to write custom SQL functions and types for the
PostgreSQL
database server in the
Swift programming language.
Bringing Swift to the Backend of the Backend’s Backend!
January 7, 2018 | Read More |
One of the features I like most about Swift is its pretty great integration with C. You know, that you can just do this:
December 29, 2017 | Read More |
The Swift Server APIs Project is an effort the provide a common HTTP implementation to be used in the various Swift application server frameworks (Kitura, Perfect and so on). The ARI shows you how to use it on either macOS or Linux.
October 28, 2017 | Read More |
At Noze.io we added a small blog entry about Server Side Swift in 2016 and some ideas how Noze.io could evolve in 2017. And we have yet another project to announce: mod_swift - Server Side Swift done right™!
January 31, 2017 | Read More |
Hello everyone: In case you didn’t notice yet, the ARI co-founded a new project, which we happen to call Noze.io.
June 13, 2016 | Read More |
' '
: 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 |
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 |
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 |
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 |
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 |
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 |
Finally - The ARI made available the results of six months of hard work - right on GitHub: SwiftSockets!
June 15, 2014 | Read More |