From a CLI task to a run (main) loop
Intro to Apple Samwise Prudent Intro to Apple Samwise Prudent

From a CLI task to a run (main) loop

In this short for post, we are going to explore the basic mechanisms by which you can create a very basic application, which keeps running until you close it. The idea is to explore how a rudimentary loop can be used to control the lifecycle of an application. This technique is foundational to almost every application you would run and build, from iOS apps to browsers to video games.

Read More
Exploring Swift - Creating a simple CLI tool
Intro to Apple Samwise Prudent Intro to Apple Samwise Prudent

Exploring Swift - Creating a simple CLI tool

Although it’s not the primary use of the language, Swift can be used to accomplish a wide range of tasks, from cli tools to macOS and iOS applications, to web servers. In this section, we are going to explore how to build a very simple cli in Swift, while also looking at Swift’s package manager and build tools.

Read More